Anay Wadhera
506aa270c5
Merge pull request #2281 from rzhw/update_depot_tools
...
nearby: Upgrade depot_tools
2024-02-15 13:00:33 -05:00
hai007
cb5016c3f3
1.Define OperationResult message, which contains result code category and resulc code
...
2.Add OperationResult message to ConnectionAttempt, EstablishedConnection and BandwidthUpgradeAttempt
PiperOrigin-RevId: 607231266
2024-02-14 23:57:20 -08:00
Juliet Levesque
fb1f01717f
[Nearby Presence] Add authentication status to ConnectionInfo
...
Adds authentication status to `ConnectionInfo`, which will pass the result of the authentication to clients when the connection is complete. See go/cros-nearby-presence-np-nc-authentication for details. This will be used in follow up CL to communicate the authentication status to clients of RequestConnectionV3().
PiperOrigin-RevId: 606789503
2024-02-13 16:49:49 -08:00
Juliet Levesque
caf34a717f
[Nearby Presence] Read response data from remote device
...
see go/cros-nearby-presence-np-nc-authentication for details.
PiperOrigin-RevId: 606772097
2024-02-13 15:50:07 -08:00
Hai Shang
f8c907a120
internal cleanup
...
PiperOrigin-RevId: 605780857
2024-02-09 18:13:40 -08:00
Guogang Li
c477809ed0
Clean up unused files
...
PiperOrigin-RevId: 605360366
2024-02-08 10:36:20 -08:00
Guogang Li
7b8436c289
Update C wrapper to support multiple instances
...
PiperOrigin-RevId: 605002988
2024-02-07 09:10:55 -08:00
Crisrael Lucero
6ad4bf75e2
[Nearby Presence] Use absl/variant instead of std in PresenceDeviceProvider
...
PiperOrigin-RevId: 604464809
2024-02-05 16:19:52 -08:00
Hai Shang
17a71c8b7e
Internal cleanup
...
PiperOrigin-RevId: 604442644
2024-02-05 15:00:32 -08:00
Juliet Levesque
e706703def
[Nearby Presence] Optimize PresenceFrame proto for lite runtime
...
Adds a line to optimize the PresenceFrame proto for lite runtime, which is necessary for compilation on ChromeOS
PiperOrigin-RevId: 604404542
2024-02-05 12:48:53 -08:00
Hai Shang
9896e327c0
internal clean
...
PiperOrigin-RevId: 604358478
2024-02-05 10:23:25 -08:00
Richard Wang
2ab7cce717
nearby: Upgrade depot_tools
2024-02-05 16:22:36 +09:00
hai007
0efbd2a29d
Bump test RSA key sizes to a more realistic size
...
Looks like this code was derived from Chromium, which bumped this
in https://chromium-review.googlesource.com/c/chromium/src/+/4529975
See that CL for details.
PiperOrigin-RevId: 603779574
2024-02-02 17:25:52 -08:00
Juliet Levesque
58452f4049
[Nearby Presence] Construct Presence Frame and write to remote device
...
Constructs a Presence frame using BuildSignedMessageAsInitiator() and write to the AuthenticationTransport for authentication. In follow up CL's, authentication protocol will read the message from the remote device and verify it - see go/cros-nearby-presence-np-nc-authentication for details.
PiperOrigin-RevId: 603776791
2024-02-02 17:24:47 -08:00
Juliet Levesque
6b2f7fa94e
[Nearby Presence] Fetch and select correct local credentials
...
Fetch the local credentials and select the correct local credential by verifying the validity of the time. This CL will be followed by
using the selected local credential for authentication. See go/cros-nearby-presence-np-nc-authentication for details.
PiperOrigin-RevId: 603772266
2024-02-02 17:23:41 -08:00
Francis Tsui
633b95b1a0
Build nearby_share_service.
...
PiperOrigin-RevId: 603709616
2024-02-02 17:22:35 -08:00
Francis Tsui
c2d87d28ac
Add flags to github.
...
PiperOrigin-RevId: 603584214
2024-02-02 17:21:27 -08:00
Francis Tsui
e4fea7a594
Change FakePublicCertificateDb to be more compatible with Chrome unittests.
...
PiperOrigin-RevId: 603583582
2024-02-02 17:20:12 -08:00
hai007
e1dd4fd535
Import of rpc://team/beto-rust-devs/beto-rust
...
PiperOrigin-RevId: 603429939
2024-02-03 01:13:27 +00:00
hai007
730df15694
Internal change
...
PiperOrigin-RevId: 603302496
2024-02-02 13:30:13 -08:00
Guogang Li
929a41b7f5
Fixed HC broken on MacOS
...
PiperOrigin-RevId: 603105834
2024-01-31 11:17:25 -08:00
Anay Wadhera
80c0d0916e
Introduce basic handling for on lost advertisements.
...
PiperOrigin-RevId: 602910198
2024-01-30 19:33:35 -08:00
Guogang Li
9be93ae23d
Optimized the API implementation of adapter
...
PiperOrigin-RevId: 602404458
2024-01-29 09:05:41 -08:00
Francis Tsui
1b91588bd3
Use filesystem::path internal UTF8 conversion.
...
PiperOrigin-RevId: 601880589
2024-01-26 15:19:48 -08:00
Francis Tsui
05914245e8
Changes to make build work in Chromium.
...
PiperOrigin-RevId: 601861725
2024-01-26 14:05:09 -08: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
d1a6913017
Don't check IsDiscovering() when going to rotate endpoint ID
...
PiperOrigin-RevId: 601489921
2024-01-25 10:30:23 -08:00
hai007
f112d9ff71
Change code to follow payload ack send/receive frame format change.
...
PiperOrigin-RevId: 601486151
2024-01-25 10:17:23 -08:00
Francis Tsui
e9ae655916
Add more sharing code to github
...
PiperOrigin-RevId: 601277252
2024-01-24 17:05:16 -08:00
Guogang Li
809c36139f
Added the dart wrapper for new C wrapper
...
PiperOrigin-RevId: 601272383
2024-01-24 16:44:32 -08:00
Francis Tsui
8d24e2457b
Remove direct dependency on absl::log.
...
PiperOrigin-RevId: 601252250
2024-01-24 15:27:10 -08:00
hai007
2fc575b593
[NC] Add ServiceControllerRouter constructor for EnableBleV2
...
Adds a new constructor for the ServiceControllerRouter which overrides
the value of the EnableBleV2 flag in Nearby Connections.
PiperOrigin-RevId: 601236068
2024-01-24 14:32:00 -08:00
Francis Tsui
0905b2c3e0
Move FakeNearbyShareClient into sharing/internal/api
...
PiperOrigin-RevId: 601149255
2024-01-24 09:46:28 -08:00
Guogang Li
6f58a4d111
Implemented a C wrapper for Nearby Connections.
...
PiperOrigin-RevId: 601133946
2024-01-24 08:50:30 -08:00
Francis Tsui
10c4f5ede4
Move SharingRpcClientFactory into SharingPlatform.
...
PiperOrigin-RevId: 600914923
2024-01-23 14:53:50 -08:00
Francis Tsui
e2aa37ab04
Refactor RpcClient interfaces.
...
PiperOrigin-RevId: 600912194
2024-01-23 14:44:37 -08:00
Nick Bourdakos
5fb7f69830
Expose NearbyFlags through Objective-C package so BLE v2 can more easily be enabled in the Swift SDK
...
PiperOrigin-RevId: 600790011
2024-01-23 08:04:03 -08:00
Guogang Li
caa82a41d8
Added flag control to Bluetooth update
...
PiperOrigin-RevId: 599538193
2024-01-18 09:54:54 -08:00
hai007
2149b842f8
Allow client to use flags
...
PiperOrigin-RevId: 599243081
2024-01-17 11:50:06 -08:00
hai007
744219b1e6
Fix Intel PIE bugs and update test code
...
PiperOrigin-RevId: 598965857
2024-01-16 14:54:48 -08:00
hai007
c40a65e492
Internal change
...
PiperOrigin-RevId: 598901559
2024-01-16 12:54:38 -08:00
Nick Bourdakos
4bdb5000ee
Fix broken link
...
PiperOrigin-RevId: 597606304
2024-01-11 11:16:37 -08:00
Nick Bourdakos
3a68e31b1f
Merge pull request #2243 from google/cl/597411223
...
Remove no-op proguard rule
2024-01-11 13:39:09 -05:00
Anay Wadhera
9e705e2135
Remove no-op proguard rule
...
FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/google/nearby/pull/2240 from anayw2001:main 99c2e04f66
PiperOrigin-RevId: 597411223
2024-01-11 18:26:12 +00:00
Anay Wadhera
d2e0d62fa1
Merge pull request #2240 from anayw2001/main
...
Add Android Nearby Sharing sample app
2024-01-10 17:43:03 -08:00
Anay Wadhera
99c2e04f66
Fix image sizing
2024-01-10 15:25:20 -08:00
Anay Wadhera
c522dadfc1
Remove gradle wrapper and add instructions to rebuild the wrapper before build.
2024-01-10 15:25:20 -08:00
Anay Wadhera
d0ceb358a5
Add example code for using the slice
2024-01-10 15:25:20 -08:00
Anay Wadhera
ff09db25a2
Add screenshots of demo app
2024-01-10 15:25:20 -08:00
Anay Wadhera
b46ef89339
Add Android readme and sample app
2024-01-10 15:25:19 -08:00