Commit Graph
1862 Commits
Author SHA1 Message Date
hai007 0dc5f85627 Add proto for authenticating Nearby Presence identities.
PiperOrigin-RevId: 539222890
2023-06-09 18:21:45 -07:00
Juliet Levesque 3a49499de4 [Nearby Presence] Refactor PresenceService to use Impl model
Refactors PresenceService to have a pure virtual base class and an
implemnetation.

PiperOrigin-RevId: 539125804
2023-06-09 10:59:40 -07:00
hai007 589c126725 Create dart proto for transferring the data from C++ to flutter app.
- callback: transfer device C++ proto to dart proto
 - device: transfer metadata that get from the observer to dart proto
 - enum: transfer Discovery Action class to dart proto

PiperOrigin-RevId: 538935072
2023-06-08 17:36:11 -07:00
Janusz Sobczak 0f59872587 Reset ble peripheral with gatt server
The ble_peripheral is invalid when gatt server is unregistered.

PiperOrigin-RevId: 538932998
2023-06-08 17:24:06 -07:00
Anay Wadhera 1c455e3488 introduce authentication transport function into DeviceProvider
PiperOrigin-RevId: 538909999
2023-06-08 15:41:54 -07:00
Janusz Sobczak 472fba64ae Add const in ReadCharacteristic prototype
PiperOrigin-RevId: 538891905
2023-06-08 14:30:03 -07:00
Guogang Li ae900f0baf Added flag to enable GATT on non-extended device
PiperOrigin-RevId: 538851144
2023-06-08 11:56:24 -07:00
hai007 742f57423c Enable WIFI_DIRECT in NC connection layer
PiperOrigin-RevId: 538827162
2023-06-08 10:36:32 -07:00
Anay Wadhera 0ab31f6312 Implement device loss alarms
PiperOrigin-RevId: 538822094
2023-06-08 10:19:44 -07:00
Guogang Li dbd42b0de3 Handle GATT query in separate thread
PiperOrigin-RevId: 538819295
2023-06-08 10:10:00 -07:00
Joy Babafemi 46c9d17f95 Add BUILD files for FPP Rust crates.
PiperOrigin-RevId: 538815527
2023-06-08 09:59:01 -07:00
Guogang Li df31f7810c Added flag to control GATT enable/disable
PiperOrigin-RevId: 538631107
2023-06-07 17:05:16 -07:00
Anthony Rueda 72b249474d Extend local and shared credential protos to included duplicated metadata_encryption_key and metadata_encryption_key_tag for all protocol version
PiperOrigin-RevId: 538612138
2023-06-07 15:43:30 -07:00
Chun Zhang e101795cac Add Fast Pair Switches.
PiperOrigin-RevId: 538605609
2023-06-07 15:17:00 -07:00
hai007 4095b7978d Add Mediator Factory to avoid creating variables other than mediator in further adapter. The main purpose of the adapter is connecting dart (flutter app) and c++ (Fast Pair libraries).
PiperOrigin-RevId: 538604362
2023-06-07 15:12:21 -07:00
Chun Zhang 2027fed32f Add Fast Pair Preferences.
PiperOrigin-RevId: 538597935
2023-06-07 14:48:06 -07:00
Qin Wang c786b07fcf Add pair_broker to FastPairMediator/FastPairSeeker
PiperOrigin-RevId: 538592398
2023-06-07 14:27:29 -07:00
suetfei f5e67ed034 Merge pull request #1783 from suetfei/validate_rust
add rust validate
2023-06-07 14:09:19 -07:00
Suet-fei Li 4616bd60b5 . 2023-06-07 20:40:42 +00:00
suetfei 326495bc89 Merge branch 'google:main' into validate_rust 2023-06-07 12:27:23 -07:00
Suet-fei Li 03733f21f9 . 2023-06-07 19:16:08 +00:00
hai007 49fb175f34 Add instance type to metadata to differentiate personal or managed profiles.
PiperOrigin-RevId: 538524943
2023-06-07 19:16:08 +00:00
Anthony Rueda f1a22c4366 [Presence] Data Structure modification for NP Multiple Account Phase One Implementation: b/285573323
PiperOrigin-RevId: 538508248
2023-06-07 19:16:08 +00:00
Nick Bourdakos 8fc16247d3 Fix potential deadlock by running timer callback in another thread
PiperOrigin-RevId: 538469916
2023-06-07 19:16:08 +00:00
Guogang Li ee262121c3 Added timeout to discover GATT and BT service
PiperOrigin-RevId: 538352588
2023-06-07 19:16:07 +00:00
Janusz Sobczak 64c715e531 Improve BLE peripheral lifecycle
Keep all discovered and explicitly created BLE peripherals in the same
collection.
The peripherals are removed when they haven't been used for a while.

PiperOrigin-RevId: 538349622
2023-06-07 19:16:07 +00:00
Crisrael Lucero 3a67f78b83 Replace dynamic_cast with reinterpret_cast
PiperOrigin-RevId: 538330024
2023-06-07 19:16:07 +00:00
hai007 b36b56b635 Add instance type to metadata to differentiate personal or managed profiles.
PiperOrigin-RevId: 538524943
2023-06-07 10:21:13 -07:00
Anthony Rueda c1d7f6e3e0 [Presence] Data Structure modification for NP Multiple Account Phase One Implementation: b/285573323
PiperOrigin-RevId: 538508248
2023-06-07 09:20:16 -07:00
Nick Bourdakos 8fc0d93ce1 Fix potential deadlock by running timer callback in another thread
PiperOrigin-RevId: 538469916
2023-06-07 06:37:21 -07:00
Guogang Li 8e280832bf Added timeout to discover GATT and BT service
PiperOrigin-RevId: 538352588
2023-06-06 19:07:10 -07:00
Janusz Sobczak 903071e001 Improve BLE peripheral lifecycle
Keep all discovered and explicitly created BLE peripherals in the same
collection.
The peripherals are removed when they haven't been used for a while.

PiperOrigin-RevId: 538349622
2023-06-06 18:44:44 -07:00
Suet-fei Li b862fbf710 add rust validate 2023-06-07 00:10:58 +00:00
Crisrael Lucero a821e0378c Replace dynamic_cast with reinterpret_cast
PiperOrigin-RevId: 538330024
2023-06-06 17:03:12 -07:00
Chun Zhang f8a8fb74c7 TaskRuner uses SingleThreadExecutor instead of MultiThreadExecutor(1)
PiperOrigin-RevId: 538325409
2023-06-06 16:43:05 -07:00
Qin Wang ba740c9a5c Implement RetroactivePairingDetector
PiperOrigin-RevId: 538319791
2023-06-06 16:18:38 -07:00
shwetathecodewarrior aabc521454 Merge pull request #1778 from shwetathecodewarrior/main
Removing advetisement related files from SDK
2023-06-06 17:33:09 +00:00
Shweta 97d55fb844 Removing advetisement related files from SDK 2023-06-06 17:17:50 +00:00
shwetathecodewarrior 9c6b389958 Merge pull request #1777 from shwetathecodewarrior/main
reverting the changes to SDK
2023-06-06 16:36:43 +00:00
hai007 224ab6b698 Automated visibility attribute cleanup.
PiperOrigin-RevId: 538205367
2023-06-06 09:23:59 -07:00
shwetathecodewarrior 15e77a6c1a Merge branch 'main' into main 2023-06-06 16:16:29 +00:00
Shweta 30b54552d7 reverting the changes to SDK 2023-06-06 16:08:21 +00:00
shwetathecodewarrior 5bf77f6624 Update release_notes.md 2023-06-06 09:04:24 -07:00
Copybara-Service d1cc116608 Merge pull request #1775 from anayw2001:presence-build
PiperOrigin-RevId: 538176977
2023-06-06 07:36:11 -07:00
hai007 6303361c8b [Sharing] Log how often Receivers see Senders that are outside of 10m Nearby Share distance.
PiperOrigin-RevId: 538093315
2023-06-06 00:05:37 -07:00
Anay Wadhera 5917c87e73 Add ED25519 Keypair generator utilities to signer
PiperOrigin-RevId: 538034774
2023-06-05 18:25:00 -07:00
Anay Wadhera c2ea765836 add presence build to linux validate 2023-06-05 17:45:29 -07:00
shwetathecodewarrior 4835ae4293 Update release_notes.md 2023-06-05 16:44:54 -07:00
shwetathecodewarrior a96639d407 Merge pull request #1774 from shwetathecodewarrior/main
merging the embedded/main into nearby SDK
2023-06-05 23:44:08 +00:00
Shweta ed2552b88b merging the embedded/main into nearby SDK 2023-06-05 23:19:07 +00:00