Janusz Sobczak
3cf20ee3bc
Store metadata in FastPairDevice
...
Add DeviceMetadata to FastPairDevice after downloading it.
It simplifies the code and prevents fetching the same metadata several times.
FastPairDataEncryptorImpl does not download the metadata anymore. Metadata
must have already been downloaded, otherwise we wouldn't know what FP protocol
to use.
PiperOrigin-RevId: 542490742
2023-06-22 01:48:56 -07:00
Qin Wang
c786b07fcf
Add pair_broker to FastPairMediator/FastPairSeeker
...
PiperOrigin-RevId: 538592398
2023-06-07 14:27:29 -07:00
Qin Wang
363d2a819e
Pure refactor set/get functions in FastPairDevice
...
PiperOrigin-RevId: 533218929
2023-05-18 12:45:55 -07:00
Qin Wang
60ba057230
Let fake_fast_pair_repository run with SingleThreadExecutor
...
PiperOrigin-RevId: 532838814
2023-05-17 10:51:04 -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
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
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
Guogang Li
8a66bff097
Made observer list thread safe
...
PiperOrigin-RevId: 520713657
2023-03-30 12:36:11 -07:00
Janusz Sobczak
94630e75ea
Promote FpDevice to a class
...
PiperOrigin-RevId: 520430547
2023-03-29 13:51:11 -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
hai007
ae3a4ca0b5
Create fake notification controller observer for further testing in presenter and ui_broker.
...
PiperOrigin-RevId: 516907638
2023-03-15 13:07:26 -07:00
hai007
37adaf83c7
Implement Fast Pair notification controller.
...
PiperOrigin-RevId: 513067597
2023-02-28 16:15:29 -08:00