Commit Graph
172 Commits
Author SHA1 Message Date
Francis Tsui eb3ae063f5 Move OutgoingTargetsManager to separate files.
PiperOrigin-RevId: 811122178
2025-09-24 18:40:14 -07:00
Francis Tsui 3786a3784f Refactor outgoing share targets management into separate class.
PiperOrigin-RevId: 811071669
2025-09-24 16:00:32 -07:00
Francis Tsui 5911d53352 Reset endpointUD after login and logout.
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -07:00
Francis Tsui 47a84ca925 Removing logging of __func__ in lamdas.
PiperOrigin-RevId: 809173259
2025-09-19 13:53:13 -07:00
Francis Tsui 358557342c Do not start CertificateManager scheduled tasks if user not logged in.
PiperOrigin-RevId: 808831574
2025-09-18 19:17:07 -07:00
Francis Tsui e3e3822610 Log advanced protection state in SendAttachement log message.
PiperOrigin-RevId: 808750701
2025-09-18 15:02:45 -07:00
Francis Tsui d4503955fe Add preference value to track is advanced protection is enabled.
PiperOrigin-RevId: 808651443
2025-09-18 10:57:39 -07:00
Francis Tsui b255a7c63f Remove unnecessary log statements.
PiperOrigin-RevId: 800233284
2025-08-27 17:34:58 -07:00
Francis Tsui a5478bd1c9 Remove unused WifiAdapter.
PiperOrigin-RevId: 800083180
2025-08-27 10:17:09 -07:00
Francis Tsui cb683e484f Do not return error in RegisterSend/Receive Surface calls in no medium are available.
PiperOrigin-RevId: 800074926
2025-08-27 09:58:41 -07:00
Francis Tsui ba377cec95 Remove unused WifiAdapter Observer.
PiperOrigin-RevId: 799787972
2025-08-26 17:40:45 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Francis Tsui 29f37997ec Make BT MacAddress optional in Private certs.
PiperOrigin-RevId: 797357330
2025-08-20 09:59:47 -07:00
Francis Tsui c0a2194ab1 Move PublishDevice rpc from LocalDeviceDataManager to CertificateManager.
PiperOrigin-RevId: 796916479
2025-08-19 09:59:22 -07:00
Francis Tsui 1a930d9316 Fix lifetime management of NearbySharingService::Observer.
PiperOrigin-RevId: 792782838
2025-08-08 15:28:09 -07:00
Francis Tsui 6200a198df Cleanup NearbySharingService Observer
PiperOrigin-RevId: 792702265
2025-08-08 11:41:26 -07:00
Francis Tsui 01013cb824 Remove unused code.
PiperOrigin-RevId: 785558158
2025-07-21 13:40:05 -07:00
Francis Tsui 594f7fc0e1 Remove unused legacy rpc client.
PiperOrigin-RevId: 785510820
2025-07-21 11:28:35 -07:00
Francis Tsui 308c98044b Remove CallNearbyIdentityApi flag.
PiperOrigin-RevId: 781101105
2025-07-09 10:04:49 -07:00
Francis Tsui 611306da1d Cleanup kDedupInUnregisterShareTarget flag.
PiperOrigin-RevId: 772486416
2025-06-17 08:35:09 -07:00
Francis Tsui a2adb149d2 Restore share target discoverd logging behavior.
PiperOrigin-RevId: 768173638
2025-06-06 12:25:53 -07:00
Francis Tsui 2d8b71703e Cleanup certificate manager path management.
PiperOrigin-RevId: 768146823
2025-06-06 11:15:29 -07:00
Francis Tsui 90b7e76a24 Remove std::filesystem from nearby/sharing.
PiperOrigin-RevId: 761743090
2025-05-21 18:08:00 -07:00
Francis Tsui 1accd129e7 Remove use of std::filesystem from sharing/internal.
PiperOrigin-RevId: 761618789
2025-05-21 12:12:28 -07:00
Francis Tsui 151ba03d0f Create nearby::FilePath class to replace use of std::filesystem::path.
- Replace filesystem::path in DeviceInfo.

PiperOrigin-RevId: 761224912
2025-05-20 14:12:07 -07:00
Francis Tsui b8ad929123 More frequent contact sync.
PiperOrigin-RevId: 744801485
2025-04-07 11:59:13 -07:00
Francis Tsui 0222177e94 Move device ID generation to login success.
PiperOrigin-RevId: 742428028
2025-03-31 15:44:59 -07:00
Francis Tsui 51ef2273ca Add internet connectivity check to network monitor.
PiperOrigin-RevId: 739495202
2025-03-22 09:33:41 -07:00
Francis Tsui 7e758061ac Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui 270c23cb7f Prevent crash if CallNearbyIdentityApi flag updated during process lifetime.
PiperOrigin-RevId: 733485303
2025-03-04 15:24:21 -08:00
Francis Tsui 1d3b17821b Fix issue with multiple Cancellations for same target ID.
PiperOrigin-RevId: 726234081
2025-02-12 16:08:37 -08:00
Francis Tsui 3706d9d497 Cleanup
PiperOrigin-RevId: 723240490
2025-02-04 15:08:14 -08:00
Francis Tsui e76adeab50 Move disconnection timeout into OutgoingShareSession.
PiperOrigin-RevId: 722519076
2025-02-02 22:59:12 -08:00
Francis Tsui 17c6dd8ee4 Keep management of outgoing_share_target_map_ and outgoing_share_session_map_ together.
PiperOrigin-RevId: 721918835
2025-01-31 15:15:17 -08:00
Francis Tsui 1f6ee5849d Deprecate enable_transfer_cancellation_optimization flag.
PiperOrigin-RevId: 708404548
2024-12-20 13:04:55 -08:00
Francis Tsui 844a17c9fb Clean outgoing share targets when last send surface is unregistered.
PiperOrigin-RevId: 708048158
2024-12-19 15:10:36 -08:00
Francis Tsui b1ef67dae9 Refactor NearbyConnection class.
PiperOrigin-RevId: 707733296
2024-12-18 18:26:08 -08:00
Francis Tsui 2e027e9524 Fix session destruction.
PiperOrigin-RevId: 707126042
2024-12-17 09:14:21 -08:00
Francis Tsui 969f65a241 Move all share targets into discovery cache at end of transfer.
PiperOrigin-RevId: 705693387
2024-12-12 18:09:58 -08:00
Francis Tsui 1e1eab7e9f Cleanup apply_endpoints_dedup flag.
PiperOrigin-RevId: 705512858
2024-12-12 08:28:01 -08:00
Francis Tsui 5bc9294669 Update discovery_cache comments.
PiperOrigin-RevId: 703558387
2024-12-06 11:22:43 -08:00
Francis Tsui 8148400cb6 Update log message.
PiperOrigin-RevId: 703275502
2024-12-05 15:45:29 -08:00
Francis Tsui c1fa3a92a2 Set receive_disabled field in ShareTarget.
PiperOrigin-RevId: 703252051
2024-12-05 14:27:37 -08:00
Suet-Fei Li 6ac8179d96 [Identity API Migration] Call PrivateCertificateRefresh when the receiving flow starts.
PiperOrigin-RevId: 703156988
2024-12-05 10:12:43 -08:00
Francis Tsui 4c025b23da Add timing info for scanned advertisement decryption.
PiperOrigin-RevId: 700770034
2024-11-27 12:09:03 -08:00
Suet-Fei Li 526288eaae Migration to new Identity API PublishDevice.
PiperOrigin-RevId: 699308985
2024-11-22 15:45:06 -08:00
Francis Tsui 7316f760a6 Fix threading problem in sharing service.
PiperOrigin-RevId: 697652113
2024-11-18 09:19:50 -08:00
Francis Tsui cae753a97c Pass clock into SharingRpcClientFactory.
PiperOrigin-RevId: 697007796
2024-11-15 14:50:13 -08:00
Suet-Fei Li c2ed015c29 log entire ShareTarget for OnShareTargetDiscovered & OnShareTargetLost.
PiperOrigin-RevId: 696966113
2024-11-15 12:25:43 -08:00
Francis Tsui 541486a593 Add worker queue to payload tracker.
PiperOrigin-RevId: 696937590
2024-11-15 10:53:17 -08:00