Commit Graph
2162 Commits
Author SHA1 Message Date
Qin Wang 264aa3829f Disable flaky test//third_party/nearby/fastpair/scanning:scanner_broker_impl_test
PiperOrigin-RevId: 570749393
2023-10-04 11:17:59 -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 42787803fd Internal change
PiperOrigin-RevId: 568673212
2023-09-26 16:00:05 -07:00
hai007 6f936fa78b [Sharing] add an enum value for SYNC_PURPOSE.
PiperOrigin-RevId: 568375213
2023-09-25 18:01:35 -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
Hai Shang 6adba4c2f8 [Analytics] log certificates stats after download
PiperOrigin-RevId: 566828025
2023-09-19 20:23:38 -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 746a8b6231 Use AnyInvocable in mediums/ble_v2
PiperOrigin-RevId: 566437160
2023-09-18 15:56:54 -07:00
Janusz Sobczak 48eeee8d2b Migrate to AnyInvocable in webrtc medium
PiperOrigin-RevId: 565805742
2023-09-15 16:26:09 -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
Francis Tsui c7b740f0c4 Begin copying sharing to github
- Start with proto dir

PiperOrigin-RevId: 565712295
2023-09-15 10:20:06 -07:00
hai007 091b4ebfa5 Hotspot Test Code
PiperOrigin-RevId: 565393814
2023-09-14 09:38:08 -07:00
Juliet Levesque 8be118a3d0 [Nearby Connections] Plumb remote device information much deeper into the stack
This will be needed for the authentication transport as the verifier will need the information about the remote device. This CL is based on logic from
awadhera@ in cl/539175992 with additional unit test coverage.

PiperOrigin-RevId: 565037849
2023-09-13 06:59:50 -07:00
Guogang Li fe9c9f90b6 Refactored Bluetooth classic medium
PiperOrigin-RevId: 564813626
2023-09-12 13:21:47 -07:00
hai007 82c8970535 [Sharing][Analytics] Adding logging for permission auto access UI.
PiperOrigin-RevId: 564554884
2023-09-11 17:57:04 -07:00
Janusz Sobczak 52c3360bd3 Use AnyInvocable in DiscoveredPeripheralCallback
PiperOrigin-RevId: 564523999
2023-09-11 15:48:25 -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 71e2555d50 silly season
PiperOrigin-RevId: 563903303
2023-09-08 18:43:14 -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
Guogang Li fcee99d7ee Added MacOS into OS type
PiperOrigin-RevId: 563279974
2023-09-08 18:40:59 -07:00
hai007 e186ef6232 Internal refactor
PiperOrigin-RevId: 563205643
2023-09-09 00:12:49 +00:00
Nick Bourdakos 981ad214cd Add BLEv2 as an option for point-to-point and star strategies (currently this is only supported by cluster)
PiperOrigin-RevId: 563202701
2023-09-06 13:40:29 -07:00
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
hai007 8725391822 [Sharing] add EstablishConection log on receiver side.
PiperOrigin-RevId: 562424397
2023-09-03 19:13:22 -07:00
Nick Bourdakos aa0c06257f Add macOS as an OS type
PiperOrigin-RevId: 561959449
2023-09-01 08:19:11 -07:00
Guogang Li b7628b098b Set safe disconnection version to correct value
PiperOrigin-RevId: 561842110
2023-08-31 21:12:12 -07:00
Nick Bourdakos 16c6ef924b Fix iOS BLE bugs and crashes
PiperOrigin-RevId: 561695661
2023-08-31 10:37:46 -07:00
hai007 b1dfb11d2d [Presence] Added more device types: foldable, automotive, and speaker.
PiperOrigin-RevId: 561692221
2023-08-31 10:24:11 -07:00
hai007 d9a6192916 Add num_successful_auto_resume into Payload logging.
PiperOrigin-RevId: 561345201
2023-08-30 08:16:55 -07:00
hai007 0008ef3870 [Sharing] Add getContactList API.
PiperOrigin-RevId: 561260976
2023-08-30 01:03:26 -07:00
Janusz Sobczak b50d130ca4 Initialize BooleanMediumSelector
Prevents using uninitalized, random, values.

PiperOrigin-RevId: 561128853
2023-08-29 13:54:43 -07:00
Janusz Sobczak 263b1b4e85 Fix thread safety issue
The test could fail if threads needed a bit more time to spin up.
Test only change.

PiperOrigin-RevId: 561097187
2023-08-29 11:56:14 -07:00
hai007 ea9e479981 Add RECONNECT as a new EstablishedConnection's type.
PiperOrigin-RevId: 560724376
2023-08-28 08:56:47 -07:00
Xin He 0d83625766 [Presence] Add DUSI to shared credential
PiperOrigin-RevId: 560181461
2023-08-25 13:31:48 -07:00
hai007 55aedfb235 Implement Safe to Disconnect feature
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
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