Commit Graph
543 Commits
Author SHA1 Message Date
Vibhav Pant ef3ea70b57 Simplify ObjectManager listener code. 2023-08-29 20:27:49 +05:30
Vibhav Pant afeecca1ba Store a copy of the last known name and address to use for lost devices. 2023-08-29 20:27:23 +05:30
Vibhav Pant 02fdbb5a0c Use the correct object name for LoginManager. 2023-08-29 20:26:45 +05:30
Vibhav Pant fae8c4f6bd Use the correct syslog identifier. 2023-08-29 18:06:14 +05:30
Vibhav Pant 8198275b48 Print: Avoid memory leaks. 2023-08-29 18:01:46 +05:30
Vibhav Pant 6800141045 Add ble_medium.h, ble_v2_medium.h. 2023-08-29 17:01:35 +05:30
Vibhav Pant 671fcf2fe5 ServiceBrowser: Ignore local services. 2023-08-29 16:46:24 +05:30
Vibhav Pant 3e936b938a Remove discovery_cb_lock_, as it can cause deadlocks. 2023-08-29 16:36:50 +05:30
Vibhav Pant d558e7388e Pass the correct flags to ResolveService. 2023-08-29 16:36:33 +05:30
Vibhav Pant f42aca9401 Provide Avahi Server object to ServiceBrowser objects. 2023-08-29 16:14:33 +05:30
Vibhav Pant f1a5f14530 Separate BluetoothAdapter into Adapter and BluezAdapter classes. 2023-08-29 15:47:13 +05:30
Vibhav Pant 68c8efd935 Add log messages for freeing service browsers and entry groups. 2023-08-29 15:14:07 +05:30
Vibhav Pant e9d1592c8c Allow advertising multiple services. 2023-08-29 15:09:28 +05:30
Vibhav Pant 191145412d Free resources on destruction. 2023-08-29 15:09:14 +05:30
Vibhav Pant e6e73c01a0 BluetoothServerSocket: Fix lifetime issues with service_uuid. 2023-08-29 14:08:58 +05:30
Vibhav Pant 48f17cf10a Add ble headers. 2023-08-29 14:03:28 +05:30
Vibhav Pant d4f3e729ac Add dummy implementations for BLE. 2023-08-29 14:03:16 +05:30
Vibhav Pant 64f1da3801 profile_object_path: Ensure the object name is valid. 2023-08-29 14:02:44 +05:30
Vibhav Pant 57f88d09e1 Start the thread pool on construction. 2023-08-29 14:02:32 +05:30
Vibhav Pant 2f97953976 Register: Create a BlueZ profile object before registering it. 2023-08-29 14:02:03 +05:30
Vibhav Pant df41f81c33 Profile: Log profile object path after construction. 2023-08-29 14:00:18 +05:30
Vibhav Pant 5a7515dc20 StartAdvertising: Let avahi handle the host name. 2023-08-29 13:59:20 +05:30
Vibhav Pant 78176112cf Minor refactor. 2023-08-29 13:07:30 +05:30
Vibhav Pant 220208abbc Rewrite ThreadPool. 2023-08-29 13:06:35 +05:30
Vibhav Pant 9b1a4941dc Add org.freedesktop.Accounts.User.xml. 2023-08-29 13:05:59 +05:30
Vibhav Pant 17955ae85b Add bluetooth_classic_server_socket.cc 2023-08-29 13:05:39 +05:30
Vibhav Pant 5698804717 Add login_manager_client_glue.h 2023-08-29 11:42:43 +05:30
Vibhav Pant c9ebae1e74 Synchronize writes to std::cout. 2023-08-28 01:16:41 +05:30
Vibhav Pant 300aa83344 Use bus name only for default connection. 2023-08-28 01:15:55 +05:30
Vibhav Pant e4082a1511 Fix signatures. 2023-08-27 20:50:36 +05:30
Vibhav Pant e07de691cf Rewrite timer to use POSIX timers. 2023-08-27 20:50:26 +05:30
Vibhav Pant a46c033a13 Fix more compilation errors. 2023-08-27 20:48:09 +05:30
Vibhav Pant 5910a511b6 Use /com/google/nearby as the object path. 2023-08-27 16:34:27 +05:30
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