Vibhav Pant
89ea6894cb
DeviceInfo: Register and unregister screen lock listeners.
2023-08-27 15:12:44 +05:30
Vibhav Pant
d13621f005
Fix deps.
2023-08-27 15:00:03 +05:30
Vibhav Pant
0376b90bce
Add support for inhibition locks.
2023-08-27 14:59:43 +05:30
Vibhav Pant
c505262d8b
Merge remote-tracking branch 'upstream/main'
2023-08-27 14:35:07 +05:30
Vibhav Pant
69cad9bd9c
Comment out wifi scan callback code
2023-08-27 14:34:16 +05:30
Vibhav Pant
3ad3a3431b
Fix compilation errors.
2023-08-27 14:06:50 +05:30
Vibhav Pant
4819e2c220
Add missing headers.
2023-08-27 14:06:10 +05:30
Vibhav Pant
d2c88f2362
Add CreatePreferencesManager implementation.
2023-08-27 12:25:01 +05:30
Vibhav Pant
4435620939
initBusConnections: Start an async event loop after creating connections.
2023-08-27 12:24:36 +05:30
Vibhav Pant
8b3c1c2b27
GetLocalAppDataPath: Use XDG_CONFIG_HOME.
2023-08-27 12:24:22 +05:30
Vibhav Pant
96ae9cb76f
GetDownloadPathInternal: Construct DeviceInfo correctly.
2023-08-27 12:24:02 +05:30
Vibhav Pant
c7bc1a37e5
Add method ConnectedToWifi.
2023-08-27 09:44:13 +05:30
Vibhav Pant
4417dd781f
Add Wifi Direct files.
2023-08-27 00:35:37 +05:30
Vibhav Pant
55847d7762
Add WifiDirectSocket methods.
2023-08-27 00:35:28 +05:30
Vibhav Pant
ef666b2311
Add Wifi Direct medium
2023-08-27 00:32:55 +05:30
Vibhav Pant
6e4c035103
Add ConnectedToWifi.
2023-08-27 00:17:56 +05:30
Vibhav Pant
e6d273aaa8
Add additional files.
2023-08-26 21:49:42 +05:30
Vibhav Pant
52121a5a05
Implement remaining platform methods.
2023-08-26 16:46:25 +05:30
Nick Bourdakos
965cc0ecbc
Add implementation for async BLE start scan/advertise
...
PiperOrigin-RevId: 559863656
2023-08-24 14:07:46 -07:00
Nick Bourdakos
91fb4a9a3e
Add stop advertising and stop scanning BLE implementation for Apple platforms
...
PiperOrigin-RevId: 559838443
2023-08-24 12:45:23 -07:00
Nick Bourdakos
387393f1d6
Delete old BLE code for Apple platforms
...
PiperOrigin-RevId: 559515626
2023-08-23 12:54:15 -07:00
Vibhav Pant
f1c3e0d7ff
Use sdbus-c++ glue proxies for device info.
2023-08-23 20:33:57 +05:30
Vibhav Pant
4908216bbb
Use XDG_RUNTIME_PATH for GetTemporaryPath
2023-08-23 17:47:27 +05:30
Vibhav Pant
3034f35fd5
Merge remote-tracking branch 'proatgram/linux-platform'
2023-08-23 17:41:43 +05:30
Vibhav Pant
24474a0c92
Add additional impls.
2023-08-23 17:30:14 +05:30
Vibhav Pant
d8b04cdcf4
Add headers to library comm.
2023-08-23 17:29:59 +05:30
Vibhav Pant
d7586210dc
Add BluezObjectManager.
2023-08-23 16:01:57 +05:30
Vibhav Pant
3a4393ddda
Add more wifi code.
2023-08-23 16:01:39 +05:30
Vibhav Pant
dd13c8b2c5
Add additional WiFi code.
2023-08-23 00:48:22 +05:30
Nick Bourdakos
034865481a
Sanitize incoming file names
...
PiperOrigin-RevId: 559175545
2023-08-22 11:37:02 -07:00
Guogang Li
71b5c1d591
Put some logs in session manager
...
PiperOrigin-RevId: 558896551
2023-08-21 14:12:01 -07:00
Vibhav Pant
8daff56437
Code dump.
2023-08-21 23:19:01 +05:30
Nick Bourdakos
9998093366
Add Objective-C++ BLE Medium wrapper
...
PiperOrigin-RevId: 558278732
2023-08-18 16:37:09 -07:00
Janusz Sobczak
e38ce96964
Replace AcceptedConnectionCallback structs with absl::AnyInvocable
...
PiperOrigin-RevId: 557949490
2023-08-17 15:14:25 -07:00
Nick Bourdakos
7933842c29
Add BLE Medium
...
PiperOrigin-RevId: 557933813
2023-08-17 14:17:28 -07:00
Nick Bourdakos
07a94a950d
Add Objective-C++ GATT client wrapper
...
PiperOrigin-RevId: 557925490
2023-08-17 13:48:48 -07:00
Nick Bourdakos
4aa52b45f9
Add GATT client
...
PiperOrigin-RevId: 557919250
2023-08-17 13:27:39 -07:00
Timothy Hutchins
1ff995400f
Implemented missing implementation files
...
I missed some implementation when I was looking over them. These are
them.
2023-08-16 21:37:52 -05:00
Timothy Hutchins
bfe5db2229
Added base implementation for input_file and output_file
...
This are unimplemented currently, but will be in the future.
2023-08-16 21:36:04 -05:00
Timothy Hutchins
000c86425c
Implemented a TimerQueue class and a Timer class
...
The Windows implementation of the Timer class (in timer.h) used Timer
Queues. This brings in implementation for a mostly Windows complient
TimerQueue class to work with the Timer class.
2023-08-16 21:31:31 -05:00
Vibhav Pant
fc0eed544a
Simplify Bluetooth code.
2023-08-16 21:04:18 +05:30
Vibhav Pant
1caa90d162
Use NetworkManager object for checking connectivity.
2023-08-16 19:03:47 +05:30
Janusz Sobczak
2c55c0cdbd
Refactor Pipe implementation
...
* Remove Pipe classes
* Rename BasePipe to Pipe
* Hide Pipe class in anonymous namespace in pipe.cc
* Add CreatePipe static method
* Replace Payload(std::function<InputStream&()>) with Payload(std::unique_ptr<InputStream>)
* Find&Replace Pipe usages
PiperOrigin-RevId: 557276980
2023-08-15 15:53:58 -07:00
Janusz Sobczak
20db5da721
Extract SocketBase
...
Test only change.
Extracts a common base class for BluetoothSocket, BleSocket, BleV2Socket, WifiDirectSocket, WifiHotspotSocket and WifiLanSocket to reduce code duplication.
PiperOrigin-RevId: 557267937
2023-08-15 15:22:06 -07:00
Vibhav Pant
4f90fa4b72
Add initial wifi medium code.
2023-08-16 02:00:09 +05:30
Vibhav Pant
f9fb3d259e
Rewrite dbus code using sdbus-c++
2023-08-15 20:52:51 +05:30
Guogang Li
fabeff0d57
Added APIs to control device sleep
...
These APIs can be used to prevent device into sleep when sending supper big files.
PiperOrigin-RevId: 556809236
2023-08-14 09:05:11 -07:00
Janusz Sobczak
5393daf9f1
Merge logging and types build targets
...
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.
PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
Guogang Li
5b155f9a4a
Added data section filter in BLE scanning
...
PiperOrigin-RevId: 553660098
2023-08-09 19:11:48 -07:00
Vibhav Pant
295f9d6b2e
Walk through InterfacesAdded data correctly.
2023-08-09 18:42:56 +05:30