Francis Tsui
183fdacb03
Set file save path on a per session basis.
...
PiperOrigin-RevId: 866512037
2026-02-06 10:16:09 -08:00
hai007
684e84ac5e
Automated Code Change
...
PiperOrigin-RevId: 862646603
2026-01-29 02:52:46 -08:00
Francis Tsui
e2714e1685
Deprecate UseStableEndpointId flag.
...
PiperOrigin-RevId: 856873445
2026-01-15 16:44:47 -08:00
Guogang Li
4c37f90965
Persist advertising endpoint ID.
...
PiperOrigin-RevId: 820267327
2025-10-16 09:25:06 -07:00
Edwin Wu
90d687e120
Removing Serial Executor
...
PiperOrigin-RevId: 731094355
2025-02-25 17:44:02 -08:00
hai007
f976f7e05a
Add Bluetooth Multiplex and WiFiLan Multiplex flags for better control.
...
PiperOrigin-RevId: 720337637
2025-01-27 15:57:52 -08:00
Edwin Wu
9a434f3ec3
analytics: Implement to pass values for OperatoinResultWithMedium.
...
PiperOrigin-RevId: 704304596
2024-12-09 09:02:05 -08:00
hai007
cb07eead88
Implement multiplex for WIFI_LAN
...
PiperOrigin-RevId: 694239460
2024-11-07 14:02:22 -08:00
Anay Wadhera
6a638f3042
Split core_internal_test into more manageable targets.
...
PiperOrigin-RevId: 659571860
2024-08-05 09:04:17 -07:00
hai007
25deb0962f
Implement Bluetooth Multiplex.
...
PiperOrigin-RevId: 651921709
2024-07-12 16:52:46 -07:00
Guogang Li
abaf7718e2
Avoid long sleep during client proxy test
...
PiperOrigin-RevId: 644444222
2024-06-18 10:56:38 -07:00
Guogang Li
4f386b95db
Added logic to stabilize endpoint IDs
...
PiperOrigin-RevId: 644407047
2024-06-18 09:11:51 -07:00
Guogang Li
bf5f843dfe
Added logic to stabilize endpoint IDs
...
PiperOrigin-RevId: 642774719
2024-06-12 16:23:34 -07:00
Guogang Li
b2f8233294
Added logic to stabilize endpoint IDs
...
PiperOrigin-RevId: 642624940
2024-06-12 08:36:57 -07:00
Francis Tsui
012b9b0569
Cleanup EventLogger interface.
...
PiperOrigin-RevId: 625797877
2024-04-17 13:59:30 -07: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
Janusz Sobczak
56acecdffa
Migrate to AnyInvocable in DiscoveryListener
...
PiperOrigin-RevId: 571077933
2023-10-05 11:20:17 -07:00
hai007
55aedfb235
Implement Safe to Disconnect feature
...
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
Janusz Sobczak
02e37e8a0c
Fix flakiness in analytics
...
`session_was_logged_` could be set out of order if a new session started
immediately after terminating the previous. Fixing that.
Check the logged messages rather then the voltile analytics recorder state
in the tests.
PiperOrigin-RevId: 547732773
2023-07-13 02:35:21 -07:00
Anay Wadhera
1ddd4d91ea
Check listening options when checking for bwu possibility
...
PiperOrigin-RevId: 543509150
2023-06-26 12:22:49 -07:00
Anay Wadhera
7f1d6a4bba
Check listening options as well when we want to enforce topology constraints
...
PiperOrigin-RevId: 543497497
2023-06-26 11:40:17 -07:00
Anay Wadhera
da678f5b55
Adjust device provider registration API to match NP expectations
...
PiperOrigin-RevId: 542634789
2023-06-22 12:29:47 -07:00
Anay Wadhera
5da4b33824
Revert "Revert incoming connections listener changes for internal breakages."
...
PiperOrigin-RevId: 542381558
2023-06-21 15:36:44 -07:00
Anay Wadhera
1973b09849
Revert incoming connections listener changes for internal breakages.
...
PiperOrigin-RevId: 542010849
2023-06-20 12:16:10 -07:00
Anay Wadhera
5737b867ed
implement startlisteningforincomingconnections
...
PiperOrigin-RevId: 540707703
2023-06-15 15:31:08 -07:00
Juliet Levesque
aee56f0729
[Nearby Connections] Add CancellationFlag::Uncancel
...
Add CancellationFlag::Uncancel and on calls to ClientProxy::AddCancellationFlag, if a flag is already in the map, uncancel it. This will address the case when users use NC to share/receive a file, then cancel in the middle because the wrong file was selected, and then re-do right after. Without this change, the second share/receive process will be seen as cancelled with cancellation flags enabled. However this change will uncancel the flag which is added in RequestConnection and OnConnectionInitiated in the NS flow.
PiperOrigin-RevId: 540633470
2023-06-15 11:07:44 -07:00
Anay Wadhera
0ab31f6312
Implement device loss alarms
...
PiperOrigin-RevId: 538822094
2023-06-08 10:19:44 -07:00
Anay Wadhera
20622608b3
Plumb core into servicecontroller
...
PiperOrigin-RevId: 537480170
2023-06-02 21:21:57 -07:00
Eiden Kim
7c931aa9c7
Changed number (1/0) to true/false in Connections Dump()
...
PiperOrigin-RevId: 537092962
2023-06-01 12:09:56 -07:00
Juliet Levesque
f38728bb0b
[Nearby Connections] Do not erase CancellationFlag map entry in ClientProxy
...
To prevent invalid access of already destroyed CancellationFlag pointers, do not erase the map entry of a CancellationFlag in ClientProxy::CancelEndpoint. Crashes were caused by consumers accessing CancellationFlag::Cancelled to check if the flags were cancelled, however since the flags was destroyed by erasing the map entry in ClientProxy::CancelEndpoint, consumers are calling gabrage memory.
PiperOrigin-RevId: 536470187
2023-05-30 12:03:51 -07:00
Juliet Levesque
9c09f325e0
[Nearby Connections] Do not destroy CancellationFlag map in ClientProxy
...
To prevent invalid access of already destroyed CancellationFlag pointers, do not clear the map of CancellationFlags in ClientProxy::CancelAllEndpoints. Crashes
were caused by consumers accessing CancellationFlag::Cancelled to check if the flags were cancelled, however since the flags were destroyed by erasing the map in ClientProxy::CancelAllEndpoints, consumers are calling gabrage memory.
PiperOrigin-RevId: 535284214
2023-05-25 09:34:26 -07:00
Anay Wadhera
f2cadc2815
move payload listeners to absl::AnyInvocable
...
PiperOrigin-RevId: 533365325
2023-05-18 23:30:01 -07:00
Anay Wadhera
99e951dc53
ClientProxy: Wire in DeviceProvider
...
PiperOrigin-RevId: 532259220
2023-05-15 16:17:16 -07:00
Edwin Wu
1e229e31c5
[Nearby Connections] Add OS_INFO for NC C++.
...
PiperOrigin-RevId: 509443158
2023-02-14 00:05:17 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007
d41cd674c8
Add onSessionComplete method in ClientProxy to log session
...
PiperOrigin-RevId: 461772377
2022-07-18 19:17:19 -07:00
hai007
7e081c663a
Add dump function to nearby connections.
...
Sample output:
```
Time: 2022-06-23T17:24:14.3815934+00:00
Windows version: 10.0 build 19042
NearbyShare version: 1.2.3.4
Nearby Share Settings
Device name: Deling's PC
Visibility: 1
Enabled: 1
ShowNotification: 0
DataUsage: 0
Allowed contacts:
Nearby Sharing Service state
IsScanning: 0
IsConnecting: 0
IsTransferring: 0
IsSendingFile: 0
IsReceivingFile: 0
Nearby Connections State
Client ID: -5841239073452700193
Local Endpoint ID: IWV0
High Vis Mode: 0
Is Advertising: 0
Advertising Service ID:
Is Discovering: 0
Discovery Service ID:
Connections:
Discovered endpoint IDs:
```
PiperOrigin-RevId: 458066027
2022-06-29 14:33:41 -07:00
hais
f5fcd35ced
nearby sdk refactor
...
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00