Commit Graph
27 Commits
Author SHA1 Message Date
Francis Tsui 17204408ac Add Pairing flow.
PiperOrigin-RevId: 888356880
2026-03-23 17:25:53 -07:00
Francis Tsui 8946f20883 Return more specific transfer failure status.
PiperOrigin-RevId: 887009931
2026-03-20 15:48:19 -07:00
Francis Tsui 614563c3fe Refactor OutgoingShareSession to handle both transfers and pairing.
PiperOrigin-RevId: 884809727
2026-03-16 22:32:00 -07:00
Francis Tsui 91a06b6a7f Split frame handler for incoming and outgoing sessions.
PiperOrigin-RevId: 870909627
2026-02-16 08:51:41 -08:00
Francis Tsui f92212b725 Add is_timeout param to ReadFrame and callback.
PiperOrigin-RevId: 869430080
2026-02-12 16:14:57 -08:00
Francis Tsui 04cbf62afb Refactor Attachment processing.
PiperOrigin-RevId: 846789473
2025-12-19 10:43:24 -08:00
Francis Tsui c1f24ce0ae Remove unnecessary FileInfo struct.
PiperOrigin-RevId: 846781930
2025-12-19 10:22:18 -08:00
Francis Tsui 8e8d26b71a Prevent connections that are in the process of connecting from being removed.
PiperOrigin-RevId: 840885406
2025-12-05 14:55:21 -08: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 90b7e76a24 Remove std::filesystem from nearby/sharing.
PiperOrigin-RevId: 761743090
2025-05-21 18:08:00 -07:00
Francis Tsui 9a98e8dacf Fix updating OutgoingShareSession for dedup.
PiperOrigin-RevId: 725347879
2025-02-10 14:28:28 -08:00
Francis Tsui e76adeab50 Move disconnection timeout into OutgoingShareSession.
PiperOrigin-RevId: 722519076
2025-02-02 22:59:12 -08:00
Francis Tsui 1f6ee5849d Deprecate enable_transfer_cancellation_optimization flag.
PiperOrigin-RevId: 708404548
2024-12-20 13:04:55 -08:00
Francis Tsui b1ef67dae9 Refactor NearbyConnection class.
PiperOrigin-RevId: 707733296
2024-12-18 18:26:08 -08:00
Francis Tsui 541486a593 Add worker queue to payload tracker.
PiperOrigin-RevId: 696937590
2024-11-15 10:53:17 -08:00
Francis Tsui 2183467f14 Move outgoing connection management into OutgoingShareSession.
PiperOrigin-RevId: 686671335
2024-10-16 15:56:43 -07:00
Francis Tsui a70d4b096f Pass Clock and NearbyConnectionsManager to ShareSession constructor.
PiperOrigin-RevId: 683705581
2024-10-08 11:41:18 -07:00
Suet-Fei Li bdca4aa707 Add de-duplicate in NearbySharing based on device_id matching.
PiperOrigin-RevId: 677910987
2024-09-23 13:10:56 -07:00
Francis Tsui 161676afc5 Cancel disconnection timer on disconnect.
PiperOrigin-RevId: 675593917
2024-09-17 09:19:08 -07:00
Francis Tsui 39d7f796d2 Deprecate ProgressUpdateFrame.
PiperOrigin-RevId: 660961908
2024-08-08 13:34:57 -07:00
Francis Tsui 0074ffb990 Pass NearbyConnectionsManager into ShareSession.
PiperOrigin-RevId: 656651595
2024-07-26 22:34:25 -07:00
Francis Tsui b166682810 Move accept timeout into outgoingShareSession.
PiperOrigin-RevId: 652626672
2024-07-15 16:10:35 -07:00
Francis Tsui ca435ad75f Make AnalyticsRecorder available in ShareSession.
PiperOrigin-RevId: 651442133
2024-07-11 09:49:27 -07:00
Francis Tsui 7736ba0449 Move protocol message processing into ShareSession.
PiperOrigin-RevId: 651099871
2024-07-10 11:46:25 -07:00
Francis Tsui 2e0996ee7f Change IncomingFramesReader to use ThreadTimer.
PiperOrigin-RevId: 650303455
2024-07-08 10:50:44 -07:00
Francis Tsui d6e8d5f249 Rename ShareTargetInfo to ShareSession.
PiperOrigin-RevId: 646238919
2024-06-24 15:26:07 -07:00
Francis Tsui 4a8d97ff5e Rename share_target_info files to share_session.
PiperOrigin-RevId: 646204158
2024-06-24 13:35:11 -07:00