Qin Wang
363d2a819e
Pure refactor set/get functions in FastPairDevice
...
PiperOrigin-RevId: 533218929
2023-05-18 12:45:55 -07:00
Qin Wang
b7d2ee0c45
Add account_key_filter to see the current device is a saved device
...
PiperOrigin-RevId: 533197294
2023-05-18 11:39:05 -07:00
Janusz Sobczak
1c9dd093f1
Fix retroactive pairing test
...
PiperOrigin-RevId: 532853830
2023-05-17 11:35:48 -07:00
Qin Wang
60ba057230
Let fake_fast_pair_repository run with SingleThreadExecutor
...
PiperOrigin-RevId: 532838814
2023-05-17 10:51:04 -07:00
Qin Wang
6d3704f50a
Add battery notification and not discoverable advertisement
...
PiperOrigin-RevId: 532187475
2023-05-15 12:19:45 -07:00
Janusz Sobczak
013bf1f420
Add retroactive pairing
...
PiperOrigin-RevId: 531637311
2023-05-12 16:56:55 -07:00
Crisrael Lucero
01c8e1ed05
Convert absl::string_view to const std::string&
...
PiperOrigin-RevId: 531634295
2023-05-12 16:40:50 -07:00
Janusz Sobczak
f1f15bd967
Use canonical MAC address in tests.
...
PiperOrigin-RevId: 531601021
2023-05-12 14:12:25 -07:00
hai007
bd85557710
Add version update in presenter and mock UI Discovery services for further unit test.
...
PiperOrigin-RevId: 531371755
2023-05-11 19:42:08 -07:00
Qin Wang
b19d4fb279
Implement BluetoothClassic Medium for fast pair windows
...
PiperOrigin-RevId: 531299637
2023-05-11 13:59:42 -07:00
Janusz Sobczak
b5938c0d17
Add G3 gatt server
...
PiperOrigin-RevId: 531287485
2023-05-11 13:15:40 -07:00
Janusz Sobczak
0901aec6e2
Add BleMedium::GetRemotePeripheral
...
Added:
nearby::api::ble_v2::BlePeripheral::GetUniqueId()
nearby::api::ble_v2::BleMedium::GetRemotePeripheral(...)
Moved BlePeripheral implementation from bluetooth_adapter_* to ble_v2.*
Added G3 (test) implementation for the new methods.
PiperOrigin-RevId: 531023568
2023-05-10 15:40:38 -07:00
Qin Wang
69f4feaf55
Add g3 implementation for BluetoothPairing
...
PiperOrigin-RevId: 530965844
2023-05-10 11:47:00 -07:00
Qin Wang
115c286885
Use nearby/internal/platform/mutex instead of absl:mutex
...
PiperOrigin-RevId: 530727456
2023-05-09 15:20:41 -07:00
Qin Wang
10d3a624b3
Fix fast_pair_wrapper_impl_test
...
PiperOrigin-RevId: 529545346
2023-05-04 16:30:04 -07:00
Qin Wang
9c5664577e
Fix fast_pair_handshake_lookup_test
...
PiperOrigin-RevId: 529465499
2023-05-04 11:27:56 -07:00
Guogang Li
d510a8ce3c
Added cancellable request to network library
...
PiperOrigin-RevId: 529197083
2023-05-03 15:37:17 -07:00
hai007
465aa7a489
Applied platform thread to network lib
...
PiperOrigin-RevId: 528521852
2023-05-01 11:13:36 -07:00
Qin Wang
9f6e7f6b84
Refactor Bluetooth Mediums
...
PiperOrigin-RevId: 528511969
2023-05-01 10:41:29 -07:00
Qin Wang
37000006c2
Fix callback scope issue
...
PiperOrigin-RevId: 527764249
2023-04-27 20:36:13 -07:00
Qin Wang
a4be31137f
Enable manually set log level for fast pair windows
...
PiperOrigin-RevId: 527343929
2023-04-26 12:37:45 -07:00
Qin Wang
5b602e3033
use std::optional instead of absl::optional
...
PiperOrigin-RevId: 527329165
2023-04-26 11:44:26 -07:00
Qin Wang
164a3d9b10
Maintain discovered device
...
PiperOrigin-RevId: 527321179
2023-04-26 11:18:56 -07:00
Qin Wang
a826f2d627
Add Pair failure info for fast pair pairing
...
PiperOrigin-RevId: 527087848
2023-04-25 15:14:20 -07:00
hai007
c9cb329cdd
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 526877413
2023-04-25 00:10:12 -07:00
Qin Wang
cb48598cca
Rewrite scanner_broker_impl_test
...
PiperOrigin-RevId: 526759429
2023-04-24 14:42:58 -07:00
Janusz Sobczak
0e9d578e42
Clean up fetcher test
...
PiperOrigin-RevId: 526757011
2023-04-24 14:35:11 -07:00
Qin Wang
b68f5324ff
Refactor FastPairHandshake to avoid locally store fast pair device
...
PiperOrigin-RevId: 526691078
2023-04-24 10:47:33 -07:00
hai007
c40e011267
Implement Fast Pair UI broker
...
PiperOrigin-RevId: 525184851
2023-04-18 10:28:33 -07:00
hai007
bf835451b2
Add Discovery action clicked callback.
...
PiperOrigin-RevId: 524968900
2023-04-17 15:43:06 -07:00
Qin Wang
74def10d7c
Implement FastPairHandshakeLookup
...
PiperOrigin-RevId: 524915633
2023-04-17 12:19:18 -07:00
hai007
3da0891479
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 523821060
2023-04-12 15:26:27 -07:00
hai007
c940c63c3d
Create fast_pair analytics recorder.
...
PiperOrigin-RevId: 523515641
2023-04-11 15:11:26 -07:00
Qin Wang
0a89c8a499
Add startscanning to fast pair mediator
...
PiperOrigin-RevId: 522114963
2023-04-05 11:55:15 -07:00
hai007
0705059e94
Create Fake Presenter and Factory of presenter for further testing in UI broker
...
PiperOrigin-RevId: 522111553
2023-04-05 11:42:32 -07:00
hai007
0575b3164b
Revise unit test for fast pair notification controller and remove redundant fake observer.
...
PiperOrigin-RevId: 521882831
2023-04-04 15:33:34 -07:00
Qin Wang
d01bbcc2cd
Implement fast pair handshake
...
PiperOrigin-RevId: 521872662
2023-04-04 14:53:28 -07:00
Qin Wang
c1835fcfa1
Implement FastPairGattServiceClient for fast pair windows
...
PiperOrigin-RevId: 521005152
2023-03-31 13:52:34 -07:00
Guogang Li
be99b60feb
Applied platform thread to network lib
...
PiperOrigin-RevId: 520998502
2023-03-31 13:23:32 -07:00
Guogang Li
8a66bff097
Made observer list thread safe
...
PiperOrigin-RevId: 520713657
2023-03-30 12:36:11 -07:00
Qin Wang
2c70aababf
Add FastPairMediator
...
PiperOrigin-RevId: 520437860
2023-03-29 14:09:43 -07:00
Janusz Sobczak
94630e75ea
Promote FpDevice to a class
...
PiperOrigin-RevId: 520430547
2023-03-29 13:51:11 -07:00
Qin Wang
564bca0a85
Refactor unit test for fast pair scanner and add mock_scanner_broker
...
PiperOrigin-RevId: 520386239
2023-03-29 11:06:04 -07:00
Qin Wang
ec0944a61b
Add GetFastPairVersion to DeviceMetadata
...
PiperOrigin-RevId: 520094589
2023-03-28 12:03:52 -07:00
hai007
e64dcb40c8
Implement Fast Pair presenter for creating and managing UI component with Notification Controller.
...
PiperOrigin-RevId: 519237240
2023-03-24 14:23:32 -07:00
Nick Bourdakos
e21f736588
Internal change
...
PiperOrigin-RevId: 519180519
2023-03-24 11:05:33 -07:00
Qin Wang
fd955d864f
Add FakeFastPairDataEncryptor to help unit test FastPairHandshake
...
PiperOrigin-RevId: 518967535
2023-03-23 14:44:42 -07:00
Janusz Sobczak
4bd7da967a
Add MessageStream fuzzing test
...
PiperOrigin-RevId: 518920458
2023-03-23 11:41:39 -07:00
Janusz Sobczak
dbd31508fa
Add medium fuzzing tests
...
PiperOrigin-RevId: 518722768
2023-03-22 18:08:09 -07:00
Janusz Sobczak
1a78b33a89
Add InputStream::ReadExactly
...
Read() can return fewer bytes than requested.
ReadExactly() will call Read() repeatedly until we
have read as many bytes as we need.
PiperOrigin-RevId: 518719418
2023-03-22 17:45:50 -07:00