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
Anay Wadhera
2c4bf0471f
change connections v3 API surface to use the new advertising/discovery options
...
PiperOrigin-RevId: 559300673
2023-08-22 20:38:28 -07:00
Nick Bourdakos
034865481a
Sanitize incoming file names
...
PiperOrigin-RevId: 559175545
2023-08-22 11:37:02 -07:00
Anay Wadhera
1e262143c0
Merge pull request #2086 from anayw2001/main
...
Add compiled presence_frame proto
2023-08-22 14:19:09 -04:00
Anay Wadhera
06a8149268
Add compiled presence_frame proto
2023-08-22 13:58:10 -04:00
Guogang Li
ea7aa00e0c
Avoid reading GATT server for same advertisement
...
PiperOrigin-RevId: 558944228
2023-08-21 17:24:03 -07:00
Anthony Rueda
96750db706
[Presence] Renamemetadata_encryption_key_tag fields in shared credential proto to differentiate between V0/V1 unsigned adv key tags
...
PiperOrigin-RevId: 558919544
2023-08-21 15:39:35 -07:00
Guogang Li
71b5c1d591
Put some logs in session manager
...
PiperOrigin-RevId: 558896551
2023-08-21 14:12:01 -07:00
Copybara-Service
945ab52485
Merge pull request #2077 from TheShepord:fpwinrs_test_fix
...
PiperOrigin-RevId: 558315746
2023-08-18 20:33:38 -07:00
Lucas Silva Shepard
22e7900bb3
[fp-rs] Fixing Presubmit linter issues for autogenerated Flutter code.
2023-08-18 20:12:00 -07:00
Lucas Silva Shepard
c7c59f1920
[fp-rs] Replacing cargo build with cargo test in validate.
2023-08-18 19:56:59 -07:00
Lucas Silva Shepard
02e9cda698
[fp-rs] Comment cleanup.
2023-08-18 19:56:55 -07:00
Lucas Silva Shepard
5f255f1ff5
[fp-rs] Fixing build warnings by removing or annotating unused imports.
2023-08-18 18:11:16 -07:00
Lucas Silva Shepard
90812bfe73
[fp-rs] Making some values const rather than static or inlined.
2023-08-18 17:49:34 -07:00
Lucas Silva Shepard
d89d1af459
[fp-rs] Added custom FP error type to Rust code.
2023-08-18 17:49:31 -07:00
Nick Bourdakos
9998093366
Add Objective-C++ BLE Medium wrapper
...
PiperOrigin-RevId: 558278732
2023-08-18 16:37:09 -07:00
hai007
71c298f270
[Nearby Sharing] log connection lost for connection/transfer phase
...
PiperOrigin-RevId: 558083193
2023-08-18 02:11:19 -07:00
Janusz Sobczak
e38ce96964
Replace AcceptedConnectionCallback structs with absl::AnyInvocable
...
PiperOrigin-RevId: 557949490
2023-08-17 15:14:25 -07:00
Janusz Sobczak
408344244f
Set thread status
...
PiperOrigin-RevId: 557942242
2023-08-17 14:47:35 -07:00
Nick Bourdakos
7933842c29
Add BLE Medium
...
PiperOrigin-RevId: 557933813
2023-08-17 14:17:28 -07:00
Nick Bourdakos
07a94a950d
Add Objective-C++ GATT client wrapper
...
PiperOrigin-RevId: 557925490
2023-08-17 13:48:48 -07:00
Nick Bourdakos
4aa52b45f9
Add GATT client
...
PiperOrigin-RevId: 557919250
2023-08-17 13:27:39 -07:00
hai007
78dd1bab2c
[Nearby Sharing] 1. log as CONNECTION_STATUS_CANCELLATION status code if sender cancels receiver after connection setup.
...
2. add a new status(TIMED_OUT_READ_FRAME) when read frame time out.
PiperOrigin-RevId: 557666045
2023-08-16 18:46:44 -07:00
Janusz Sobczak
55194622a7
Migrate to AnyInvocable
...
PiperOrigin-RevId: 557660146
2023-08-16 18:13:11 -07:00
hai007
73635815ab
[Analytics] Filter unparsed endpoint id.
...
PiperOrigin-RevId: 557503948
2023-08-16 09:04:38 -07:00
Copybara-Service
032a3d6bef
Merge pull request #2070 from TheShepord:fpwinrs_tests
...
PiperOrigin-RevId: 557357785
2023-08-15 22:42:32 -07:00
Janusz Sobczak
ec139d1e8b
Replace std::function with AnyInvocable
...
Also refactored the callbacks to make sure that we call either on_success or on_failure callback, and only once.
PiperOrigin-RevId: 557299838
2023-08-15 17:20:30 -07:00
Lucas Silva Shepard
fb95e26bf5
[fp-rs] Added FP Advertisement unit tests in Rust.
2023-08-15 16:44:48 -07:00
Lucas Silva Shepard
169c04c430
[fp-rs] Split fetcher.rs into directory module, added mock.
2023-08-15 16:44:46 -07:00
Lucas Silva Shepard
b1fa76f560
[fp-rs] Wrote unit tests for Fast Pair Decoder in Rust.
2023-08-15 16:44:04 -07:00
Lucas Silva Shepard
748bf9fb18
[fp-rs] Added unit tests to cover common portion of Rust Bluetooth library.
2023-08-15 16:44:04 -07:00
Copybara-Service
59add37c96
Merge pull request #2027 from TheShepord:fpwinrs_flutter
...
PiperOrigin-RevId: 557279903
2023-08-15 16:03:40 -07:00
Janusz Sobczak
2c55c0cdbd
Refactor Pipe implementation
...
* Remove Pipe classes
* Rename BasePipe to Pipe
* Hide Pipe class in anonymous namespace in pipe.cc
* Add CreatePipe static method
* Replace Payload(std::function<InputStream&()>) with Payload(std::unique_ptr<InputStream>)
* Find&Replace Pipe usages
PiperOrigin-RevId: 557276980
2023-08-15 15:53:58 -07:00
Lucas Silva Shepard
bdc109324b
[fp-rs] Fixing Presubmit Lint warnings for windows/ C++ files.
2023-08-15 15:24:33 -07:00
Janusz Sobczak
20db5da721
Extract SocketBase
...
Test only change.
Extracts a common base class for BluetoothSocket, BleSocket, BleV2Socket, WifiDirectSocket, WifiHotspotSocket and WifiLanSocket to reduce code duplication.
PiperOrigin-RevId: 557267937
2023-08-15 15:22:06 -07:00
Lucas Silva Shepard
41be4cca57
[fp-rs] Adding copyright notice under windows/ and bindgen files.
2023-08-15 14:36:39 -07:00
Guogang Li
c8230a7ec3
Optimize application startup time
...
PiperOrigin-RevId: 557248394
2023-08-15 14:19:11 -07:00
Joy Babafemi
bf78f30792
Modify UwbControleeCapabilities to support multi-chip environment.
...
PiperOrigin-RevId: 557244065
2023-08-15 14:06:06 -07:00
Lucas Silva Shepard
f2326f107e
[fp-rs] Removing unused macOS, iOS, Android, web and Linux builds. These can be re-added in the future as needed.
2023-08-15 14:00:51 -07:00
hai007
eb4a37084b
Support dynamic upgrade when the device is connected to Wifi AP after initial connection.
...
PiperOrigin-RevId: 556959762
2023-08-14 17:25:59 -07:00