Commit Graph
1038 Commits
Author SHA1 Message Date
Janusz Sobczak 5d4aab0185 Improve thread-safety in TaskRunnerImpl
PiperOrigin-RevId: 571981130
2023-10-12 04:47:48 +00:00
hai007 dfd3de80cf Set a separate shorter timeout (10s) for REMOTE_DISCONNECTION
PiperOrigin-RevId: 570795839
2023-10-04 13:51:54 -07:00
hai007 7596c298f7 [SubsequentPair] Add is_pair_triggered_by_settings in Fast Pair log to track subsequent pairing triggered from Pixel Settings.
LOG_STORAGE_INCREASE(GB/week): <1
 1 perday * 7 days * (2+1 [tag+length] + 2+1 [tag+bool]) bytes/record

Single record size (average): 6 bytes

Design doc: go/subsequent-pairing-settings-integration

PiperOrigin-RevId: 570646781
2023-10-04 03:52:06 -07:00
Guogang Li 7dea977b74 Try to fix Bluetooth issue to get service
PiperOrigin-RevId: 570475245
2023-10-03 13:12:31 -07:00
Guogang Li 3fdcbe4ddc Added write timeout for Wi-Fi LAN socket
PiperOrigin-RevId: 570122181
2023-10-02 11:21:14 -07:00
hai007 d477a2d174 Apply GO frequency to NC that queries from Intel PIE SDK
PiperOrigin-RevId: 569558266
2023-09-29 12:25:01 -07:00
Aaron Yu eba928e784 Fix bluetooth adapter null pointer exception
PiperOrigin-RevId: 568994552
2023-09-27 16:34:43 -07:00
Guogang Li d095f505d3 Send payloads one by one
PiperOrigin-RevId: 568988147
2023-09-27 16:08:37 -07:00
Guogang Li a1a442c8eb Try to fix a crash when checking Bluetooth state
PiperOrigin-RevId: 568982667
2023-09-27 15:47:17 -07:00
hai007 c0fed171f2 Add several new fields to fast_pair_log
PiperOrigin-RevId: 568315642
2023-09-25 13:53:27 -07:00
hai007 77bc7311c6 Fix bug to work with PIE SDK version PHWFW07641_22.230.0.8PDK-20230707T202651Z-001
PiperOrigin-RevId: 567438343
2023-09-21 15:36:19 -07:00
Aaron Yu 7bde3abf8b Harden ble v2 gatt server
PiperOrigin-RevId: 567069079
2023-09-20 13:48:56 -07:00
Guogang Li 1e5587e2db Log the failure to get RF service
PiperOrigin-RevId: 567017321
2023-09-20 10:58:17 -07:00
Janusz Sobczak 8846f8b57e Migrate to AnyInvocable in data/
PiperOrigin-RevId: 566721712
2023-09-19 13:13:30 -07:00
hai007 94df1ffc4c Records the dual band support status
PiperOrigin-RevId: 566465959
2023-09-18 18:04:30 -07:00
Guogang Li 9774b5f53c Fixed crash in Bluetooth Adapter
PiperOrigin-RevId: 566452194
2023-09-18 16:57:16 -07:00
Janusz Sobczak b33c0e0332 Migrate to AnyInvocable in auth module
Merged success/failure callbacks into a single callback
in SignInCallback and AccessTokenCallback to simplify resource management and to avoid making copies.

PiperOrigin-RevId: 565744310
2023-09-15 12:11:50 -07:00
hai007 091b4ebfa5 Hotspot Test Code
PiperOrigin-RevId: 565393814
2023-09-14 09:38:08 -07:00
Guogang Li fe9c9f90b6 Refactored Bluetooth classic medium
PiperOrigin-RevId: 564813626
2023-09-12 13:21:47 -07:00
Guogang Li 533e145097 Added more logs for Wi-Fi socket
PiperOrigin-RevId: 564514790
2023-09-11 15:14:20 -07:00
Anay Wadhera ad6ac4b4a4 include missing str_cat header in ed25519 crypto
PiperOrigin-RevId: 563836632
2023-09-08 18:42:31 -07:00
hai007 c51830a97f Port Intel PIE DLL, so we can query and control Intel WIFI directly
PiperOrigin-RevId: 563303511
2023-09-08 18:41:47 -07:00
Vibhav Pant dd5c6ed637 Shutdown: return after shutting down executor. 2023-09-08 16:49:35 +05:30
Vibhav Pant 844e0da3e0 Remove unneeded functions, add UuidFromString. 2023-09-08 16:49:08 +05:30
Vibhav Pant 0a53b9cba3 Add additional functions. 2023-09-08 16:48:58 +05:30
Vibhav Pant bd741337e8 Set discovery filter to "bredr" before starting discovery. 2023-09-08 16:48:28 +05:30
Vibhav Pant 4003ba0d8a Allow marking/unmarking devices as lost. 2023-09-08 16:48:00 +05:30
Nick Bourdakos 197d3f8476 Fix weave bug for payloads that exceed the maximum write length
PiperOrigin-RevId: 563185164
2023-09-06 12:39:47 -07:00
Vibhav Pant 9b7d627358 Add an ObjectManager instance at / for both system and session bus connections. 2023-09-06 23:12:21 +05:30
Vibhav Pant e0f601e6fd Refactor 2023-09-06 23:08:06 +05:30
Vibhav Pant 7517ba0061 Don't request a name for the default bus connection. 2023-09-06 19:53:03 +05:30
Vibhav Pant 18705559d4 BluetoothDevice: Inherit from ble_v2::BlePeripheral as well. 2023-09-05 20:16:40 +05:30
Vibhav Pant 501a77b2db Construct BluetoothClassicMedium correctly. 2023-09-05 20:01:13 +05:30
Vibhav Pant d960bfc9e1 Add support for sharing DiscoveryCallbacks across BluetoothDevices. 2023-09-05 20:00:25 +05:30
Vibhav Pant 4bf11c8db0 Refactor bluetooth code to use shared pointers instead of references. 2023-09-05 19:45:10 +05:30
Vibhav Pant df5800fc70 Use atexit to cleanup bus connections before exiting. 2023-09-03 13:10:18 +05:30
Vibhav Pant 4ec764950c Use separate locks for the the thread vector and task queue. 2023-09-02 22:04:32 +05:30
Vibhav Pant 57aedf6839 Use CancellationFlagListener to ensure that Accept exits. 2023-09-02 22:04:07 +05:30
Vibhav Pant de5159ea4a GetOsDeviceName: Use avahi's GetHostNameFqdn 2023-09-02 13:32:37 +05:30
Vibhav Pant 25a430c9e4 Fix typo. 2023-09-02 13:01:20 +05:30
Vibhav Pant 7de62d0d05 Merge remote-tracking branch 'google/main' 2023-09-02 02:49:18 +05:30
Vibhav Pant ca2e1c205b Disable AP isolation for softAP 2023-09-01 21:38:25 +05:30
Nick Bourdakos aa0c06257f Add macOS as an OS type
PiperOrigin-RevId: 561959449
2023-09-01 08:19:11 -07:00
Vibhav Pant 252964b113 ConnectToProfile: log about the connection attempt. 2023-09-01 20:02:40 +05:30
Vibhav Pant c8c1e87f6b Minor refactor. 2023-09-01 20:01:13 +05:30
Vibhav Pant 9c41b22f30 Set the initial value for AtomicBoolean. 2023-09-01 20:00:50 +05:30
Vibhav Pant bdce878bef BluetoothServerSocket: Cancel an ongoing Accept request on Close. 2023-09-01 20:00:27 +05:30
Vibhav Pant 4619308425 Add support for request cancellation to GetServiceRecordFD. 2023-09-01 19:59:38 +05:30
Vibhav Pant 07ac2f1a99 WiFiLanSocket: Don't store an extra copy of the FD. 2023-09-01 19:59:08 +05:30
Vibhav Pant d2eee1f705 StartWifiHotspot: Generate connection UUID in the correct format. 2023-09-01 19:58:44 +05:30