Francis Tsui
52475a9cb3
Internal changes
...
PiperOrigin-RevId: 802310547
2025-09-02 15:32:47 -07:00
Ivo Ristovski List
038c73520d
Automated Code Change
...
PiperOrigin-RevId: 802282871
2025-09-02 14:04:04 -07:00
Francis Tsui
b48b943275
Remove reference to BlePeripheral.
...
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
hai007
0b04994f71
Update identity type name
...
PiperOrigin-RevId: 629163344
2024-04-29 13:12:45 -07:00
hai007
a1b80ff649
Update identity type name
...
PiperOrigin-RevId: 628545355
2024-04-26 16:57:25 -07:00
hai007
54eff829b5
Update identity type name
...
PiperOrigin-RevId: 628513553
2024-04-26 14:40:17 -07:00
Juliet Levesque
aaa1bea130
[Nearby Presence] Expose API's to fetch local credentials
...
Expose APIs to fetch local credentials from the CredentialManager, which will be used to fetch a local credential to be used for authentication in follow up CL's. See go/cros-nearby-presence-np-nc-authentication for details.
PiperOrigin-RevId: 601781066
2024-01-26 09:04:16 -08:00
Anay Wadhera
f21b1e7089
internal change
...
PiperOrigin-RevId: 529179617
2023-05-03 13:32:34 -07:00
Hai Shang
c312442f3d
internal clean up
...
PiperOrigin-RevId: 521555239
2023-04-03 14:00:22 -07:00
Hai Shang
47b7a04939
minor clean up
...
PiperOrigin-RevId: 520734787
2023-03-30 13:56:57 -07:00
Nick Bourdakos
14e7832be0
Internal change
...
PiperOrigin-RevId: 520638739
2023-03-30 12:34:53 -07:00
Nick Bourdakos
39df20d821
Internal change
...
PiperOrigin-RevId: 518186148
2023-03-20 23:51:16 -07:00
Anay Wadhera
dc8b1ef7ee
Expose internal/platform windows implementation to presence and add bcrypt.lib for resolving bcrypt symbols in absl
...
PiperOrigin-RevId: 507834078
2023-02-07 11:13:38 -08:00
Janusz Sobczak
a29be214a3
Migrate to absl::AnyInvocable in NP.
...
Replaces a bunch of std::function uses with absl::AnyInvocable.
PiperOrigin-RevId: 502960326
2023-01-18 13:16:29 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Janusz Sobczak
e64f9859e1
Replace BleOperationStatus with absl::Status
...
PiperOrigin-RevId: 497191477
2022-12-22 10:20:15 -08:00
Janusz Sobczak
b3f8534226
Use Rand instead of absl::Random
...
Use Nearby's common Rand() util instead of absl::Random
PiperOrigin-RevId: 495386054
2022-12-14 12:30:56 -08:00
Janusz Sobczak
a3b6058753
Fully qualify ::location::nearby imports.
...
Find and replace exercise.
Replace
`using location::nearby`
with
`using ::location::nearby`
and
`using <Name> = location::nearby`
with
`using <Name> = ::location::nearby`
PiperOrigin-RevId: 490087051
2022-11-21 15:33:21 -08:00
Janusz Sobczak
a90b7f85fc
Disable medium env by default.
...
MediumEnvironment's initial state will now match the state after calling `Stop()`.
Cleaned up tests that were calling Stop() before test start.
PiperOrigin-RevId: 486277290
2022-11-04 18:56:30 -07:00
Janusz Sobczak
951945dd5c
Add AdvertisementData struct.
...
Define and use an NP private AdvertisementData structure instead of the low level BleAdvertisementData,
The APIs look cleaner this way.
PiperOrigin-RevId: 486224840
2022-11-04 14:03:24 -07:00
Anay Wadhera
c4dc132f50
Add ScanManager class for bookkeeping BLE v2 scans
...
PiperOrigin-RevId: 485675999
2022-11-02 13:15:31 -07:00
Janusz Sobczak
81f6b547bb
Add StartAdvertising to BLE medium.
...
StartAdvertising allows us to broadcast Nearby Presence advertisements.
We can now test scanning and advertising with the MediumEnvironment rather than mocking platform code.
PiperOrigin-RevId: 484662211
2022-10-28 18:23:30 -07:00
Hai Shang
054f6efe53
Chain scan & broadcast invokes from PresenceClient to ServiceController
...
PiperOrigin-RevId: 483496670
2022-10-24 15:12:43 -07:00
Hai Shang
c4ad6de6f8
add scan function in presence BLE
...
PiperOrigin-RevId: 478666843
2022-10-03 19:35:23 -07:00
Janusz Sobczak
07119e80de
Merge CertificateManager and CredentialManager
...
Refactoring change.
Merge CertificateManager and CredentialManager into a single interface.
Hide AdvertisementFactory in implementation/. The client app will not be using
that class directly.
Clean up build targets.
PiperOrigin-RevId: 466748133
2022-08-10 11:46:16 -07:00
Suet-Fei Li
55f20775d2
Fix internal flow
...
PiperOrigin-RevId: 466426960
2022-08-09 12:02:16 -07:00
hais
b6f817274e
Initial header files showing class dependency and ownership.
...
No detailed function signatures nor impl included yet.
PiperOrigin-RevId: 460300058
2022-07-11 14:26:26 -07:00