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
Joy Babafemi
bf78f30792
Modify UwbControleeCapabilities to support multi-chip environment.
...
PiperOrigin-RevId: 557244065
2023-08-15 14:06:06 -07:00
Joy Babafemi
85bf78ef70
Add sensor fusion implementation to presence C++
...
PiperOrigin-RevId: 555676715
2023-08-10 15:24:29 -07:00
Janusz Sobczak
5393daf9f1
Merge logging and types build targets
...
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.
PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
hai007
9c6a11eff1
[NP] Remove metadata creation from FakePresenceClient
...
To make the nearby_presence_unittests.cc more percise, the test should create the metadata and pass it to the fake client instead of the client creating it. This change also allows for the unittests to use RunLoop instead of RunUntilIdeal in multiple places.
Bug: b/285015071
PiperOrigin-RevId: 553297388
2023-08-09 19:05:34 -07:00
hai007
b6459434a2
Update ranging interval from update rates.
...
PiperOrigin-RevId: 553250662
2023-08-10 00:37:35 +00:00
Hai Shang
0e7a8181b0
internal clean up
...
PiperOrigin-RevId: 551292810
2023-07-26 13:06:09 -07:00
Hai Shang
562483cb44
update sensor fusion api to favor std::optional over absl::optional
...
PiperOrigin-RevId: 551257674
2023-07-26 11:02:06 -07:00
Joy Babafemi
5b605b2426
Refactor std::function usage to absl::AnyInvocable for ZoneTransitionCallback
...
PiperOrigin-RevId: 550959839
2023-07-25 12:16:20 -07:00
Anay Wadhera
33faa84aca
add shared credential to PresenceDevice.
...
This field stores the shared credential that this PresenceDevice was decrypted with (if applicable).
PiperOrigin-RevId: 549720833
2023-07-20 13:20:21 -07:00
Crisrael Lucero
0e44ed626d
Refactor crypto/ directory into crypto_cros/ and crypto/
...
PiperOrigin-RevId: 549467911
2023-07-19 17:12:52 -07:00
Anay Wadhera
2dcfe66f2e
update device provider api for multi-identity auth
...
PiperOrigin-RevId: 548767413
2023-07-17 12:30:34 -07:00
Crisrael Lucero
8007e15d86
Use absl::variant in ConnectionAuthenticator
...
PiperOrigin-RevId: 548173211
2023-07-14 11:13:56 -07:00
Anay Wadhera
770f59b748
Update connection authenticator to account for multi-identity support.
...
PiperOrigin-RevId: 547880233
2023-07-13 12:18:05 -07:00
Hai Shang
2420c083b8
Add more test coverage for credential manager
...
PiperOrigin-RevId: 547245712
2023-07-11 11:22:29 -07:00
Crisrael Lucero
001069faa1
Convert std::variant usage to absl::variant
...
PiperOrigin-RevId: 546987633
2023-07-10 14:43:27 -07:00
Anay Wadhera
6624dd003e
Implement NearbyDevice::ToProto() for PresenceDevice
...
PiperOrigin-RevId: 546372521
2023-07-07 13:40:13 -07:00
Anay Wadhera
f830eaddf0
disable rust ldt by default
...
PiperOrigin-RevId: 546127141
2023-07-06 16:52:17 -07:00
Hai Shang
e949d922de
Refill creds if needed in getting shared & local creds.
...
PiperOrigin-RevId: 546093134
2023-07-06 14:28:58 -07:00
Anay Wadhera
4a185d0317
Add NearbyDevice::ToProto() API
...
PiperOrigin-RevId: 546055852
2023-07-06 12:07:01 -07:00
Anay Wadhera
0bf74cb376
fix asan error in connection authenticator
...
PiperOrigin-RevId: 545783166
2023-07-05 14:15:37 -07:00
hai007
0b3e42a511
Change PresenceAuthenticationFrame to differentiate two types of credential ID hash.
...
PiperOrigin-RevId: 544803920
2023-06-30 20:05:33 -07:00
Joy Babafemi
f0f0643754
FPPRust - Implement FPP Manager class in C++
...
PiperOrigin-RevId: 544182126
2023-06-28 15:48:35 -07:00
Anay Wadhera
b350d3f980
Drop unused presence_service.cc
...
PiperOrigin-RevId: 544113075
2023-06-28 11:30:24 -07:00
Anay Wadhera
95f070796f
Add identity type field to PresenceDevice
...
PiperOrigin-RevId: 543824854
2023-06-27 12:49:28 -07:00
hai007
df1831cfdf
Add slot duration and ranging interval as new ranging capabilities and parameters.
...
PiperOrigin-RevId: 542637190
2023-06-22 12:38:27 -07:00
Juliet Levesque
4d85bde8ce
[Nearby Presence] Implement FakePresenceService::GetLocalPublicCredentials
...
Implements FakePresenceService::GetLocalPublicCredentials and exposes
FakePresenceService::SetLocalPublicCredentialsResult to configure results for
testing.
PiperOrigin-RevId: 542383663
2023-06-21 15:45:04 -07:00
Anay Wadhera
cf8afb73aa
Use alphanumeric characters for PresenceDevice endpoint id generation
...
PiperOrigin-RevId: 540321021
2023-06-14 10:59:49 -07:00
Anay Wadhera
e0674d435e
Implement signing/verification of PresenceAuthenticationFrames
...
PiperOrigin-RevId: 540029386
2023-06-13 11:53:15 -07:00
hai007
5aeceb2034
Update path to LDT dependency
...
PiperOrigin-RevId: 539811031
2023-06-12 17:58:12 -07:00
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
Anay Wadhera
1c455e3488
introduce authentication transport function into DeviceProvider
...
PiperOrigin-RevId: 538909999
2023-06-08 15:41:54 -07:00
Joy Babafemi
46c9d17f95
Add BUILD files for FPP Rust crates.
...
PiperOrigin-RevId: 538815527
2023-06-08 09:59:01 -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
Hai Shang
fe1e14a02e
internal clean up.
...
PiperOrigin-RevId: 538009138
2023-06-05 16:17:36 -07:00
Anay Wadhera
5f31f27f0e
move presence_frame.proto to third_party
...
PiperOrigin-RevId: 537190843
2023-06-01 19:37:31 -07:00
Copybara-Service
7d727b5943
Merge pull request #1657 from jbabs1:fpp-rust
...
PiperOrigin-RevId: 537127684
2023-06-01 14:20:04 -07:00
jbabs1
9574de00da
Merge branch 'fpp-rust' of https://github.com/jbabs1/nearby into fpp-rust
2023-06-01 13:43:02 -07:00
hai007
1be7e82b4f
[Nearby Presence] Create presence client factory and fake
...
Add a presence client factory and fake_presence_client to help facilitate presence client testing. This testing infrastructure is used in crrev/c/4528575 to test the nearby presence mojom interface.
PiperOrigin-RevId: 535087368
2023-05-24 20:56:04 -07:00
Anay Wadhera
1b7142da77
Plumb CredentialManager::UpdateRemotePublicCredentials and CredentialManager::GetPublicCredentials through to PresenceService
...
PiperOrigin-RevId: 534136547
2023-05-22 11:52:06 -07:00
Anay Wadhera
0e1170c52e
remove obsolete todo
...
PiperOrigin-RevId: 532176213
2023-05-15 11:39:30 -07:00
Anay Wadhera
b698c00b5d
DeviceProvider: refactor getdevice interface once again
...
PiperOrigin-RevId: 531659446
2023-05-12 19:37:54 -07:00
Anay Wadhera
9dff873424
Convert LDT Rust to a normal define
...
PiperOrigin-RevId: 531318262
2023-05-11 15:09:04 -07:00
jbabs1
e68ce4a836
Add FPP Lib
2023-05-11 12:40:06 -07:00
Anay Wadhera
813a07116e
Update action bits to match spec
...
PiperOrigin-RevId: 531266917
2023-05-11 11:56:26 -07:00
Anay Wadhera
7825f2c67a
update LDT rust header include path
...
PiperOrigin-RevId: 531261461
2023-05-11 11:36:34 -07:00
jbabs1
d32ee27d13
Add FPP Lib
2023-05-10 15:56:45 -07:00
jbabs1
bcbf171f59
Add FPP Lib
2023-05-09 11:16:28 -07:00
Janusz Sobczak
0200a92978
Separate TX and Action fields.
...
PiperOrigin-RevId: 529767591
2023-05-05 11:21:59 -07:00