Francis Tsui
e2714e1685
Deprecate UseStableEndpointId flag.
...
PiperOrigin-RevId: 856873445
2026-01-15 16:44:47 -08:00
Francis Tsui
ad6267d236
Remove unused code
...
PiperOrigin-RevId: 853316103
2026-01-07 10:20:46 -08:00
Guogang Li
e37b501e37
Handle App lifecycle in Nearby Connections.
...
PiperOrigin-RevId: 822749438
2025-10-22 14:53:33 -07:00
Guogang Li
4c37f90965
Persist advertising endpoint ID.
...
PiperOrigin-RevId: 820267327
2025-10-16 09:25:06 -07:00
Guogang Li
bffe543e49
Add PreferencesManager into ClientProxy.
...
PiperOrigin-RevId: 819896910
2025-10-15 13:47:29 -07:00
Francis Tsui
5911d53352
Reset endpointUD after login and logout.
...
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -07:00
Francis Tsui
000e12da8e
Migrate platform to use MacAddress class.
...
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
Francis Tsui
3f93c0ee87
Remove more unnecessary INFO logs.
...
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Francis Tsui
6113d225e9
Move unnecessary INFO logs to VLOG.
...
PiperOrigin-RevId: 797451961
2025-08-20 13:58:51 -07:00
hai007
00a2999269
Format all the files in CL786733783
...
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00
hai007
71cdf84236
Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
...
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
Guogang Li
09ac8d8c58
Apply DCT flag in Nearby Connections
...
PiperOrigin-RevId: 756487383
2025-05-08 15:41:04 -07:00
Johnson Lu
ee9266b175
Implement Dynamic Role Switch
...
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.
PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li
d0f014e0b4
Add more log information during decrypting frame
...
PiperOrigin-RevId: 748449749
2025-04-16 15:49:06 -07:00
Guogang Li
553f5dbf01
Add advertising logic for DCT
...
PiperOrigin-RevId: 733752366
2025-03-05 08:54:56 -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
Edwin Wu
196dda9af5
analytics: Implement AdvertisingMetadataParams and DiscoveryMetadataParams for analytics recorder.
...
PiperOrigin-RevId: 704295939
2024-12-09 08:32:58 -08:00
Edwin Wu
ca35adcd4d
analytics: Add adv_dis_result to analytics_recorder for onStartAdvertising and onStartDiscovery
...
PiperOrigin-RevId: 704277617
2024-12-09 07:27:43 -08:00
Edwin Wu
c60b6c46f6
analytics: Add operation result code for Payload analytics, III
...
PiperOrigin-RevId: 704259848
2024-12-09 06:20:21 -08:00
hai007
cb07eead88
Implement multiplex for WIFI_LAN
...
PiperOrigin-RevId: 694239460
2024-11-07 14:02:22 -08:00
Edwin Wu
77a75f4389
Add WEB_RTC_NON_CELLULAR enum, III
...
PiperOrigin-RevId: 686391802
2024-10-16 00:07:37 -07:00
Guogang Li
d5b5d92f87
Internal logging update
...
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Francis Tsui
b03a383f7a
Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
...
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
hai007
25deb0962f
Implement Bluetooth Multiplex.
...
PiperOrigin-RevId: 651921709
2024-07-12 16:52:46 -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
hai007
7c72774167
Multiplex implementation - Create Multiplex Socket
...
PiperOrigin-RevId: 632628955
2024-05-10 16:11:26 -07:00
hai007
87def076a5
Internal change
...
PiperOrigin-RevId: 613818883
2024-03-08 14:40:41 -08:00
Hai Shang
c2495b275a
Internal cleanup
...
PiperOrigin-RevId: 613362254
2024-03-06 15:35:09 -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
Hai Shang
78609d17a1
Internal fix
...
PiperOrigin-RevId: 592955244
2023-12-21 14:51:55 -08:00
hai007
16cb7f70b3
Implement Auto-reconnect after disconnection [1]
...
PiperOrigin-RevId: 592344338
2023-12-19 14:27:40 -08:00
Janusz Sobczak
56acecdffa
Migrate to AnyInvocable in DiscoveryListener
...
PiperOrigin-RevId: 571077933
2023-10-05 11:20:17 -07:00
hai007
dfd3de80cf
Set a separate shorter timeout (10s) for REMOTE_DISCONNECTION
...
PiperOrigin-RevId: 570795839
2023-10-04 13:51:54 -07:00
hai007
55aedfb235
Implement Safe to Disconnect feature
...
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
Janusz Sobczak
ec139d1e8b
Replace std::function with AnyInvocable
...
Also refactored the callbacks to make sure that we call either on_success or on_failure callback, and only once.
PiperOrigin-RevId: 557299838
2023-08-15 17:20:30 -07:00
Guogang Li
b798798f5f
Log medium type for discovered endpoint
...
PiperOrigin-RevId: 553510472
2023-08-09 19:09:42 -07:00
Guogang Li
6d886e3fc8
Fixed some issues in analytics data
...
PiperOrigin-RevId: 551900985
2023-07-28 11:13:07 -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
44fb9b4fa2
implement stoplisteningforincomingconnections
...
PiperOrigin-RevId: 540724954
2023-06-15 16:43:56 -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