Commit Graph
104 Commits
Author SHA1 Message Date
Lasan Mahaliyana b85bb5f712 added stream payload type. 2026-04-06 22:28:13 +05:30
Lasan Mahaliyana 21b2c4c3c1 switched from using custom linux fork of nearby_connections_service_linux and nearby_sharing_service_linux, switched to google's implementation of nearby sharing service. with appropriate stubs for missing parts 2026-03-16 00:16:38 +05:30
Francis Tsui 0191c50e2a Process FileSync messages.
PiperOrigin-RevId: 879237616
2026-03-05 14:08:57 -08:00
Francis Tsui 32fdca43ff Change ownership model of Rpc clients.
PiperOrigin-RevId: 878144390
2026-03-03 15:10:37 -08:00
Francis Tsui f79846c431 Remove rpc client from sharing platform.
PiperOrigin-RevId: 878135348
2026-03-03 14:49:52 -08:00
Francis Tsui 1a543b0d7f Remove deprecated string aliases.
PiperOrigin-RevId: 876303135
2026-02-27 09:58:26 -08:00
Francis Tsui e5046f6b55 Add support for storing proto messages in preferences.
PiperOrigin-RevId: 875747055
2026-02-26 08:58:54 -08:00
Francis Tsui 295f480dc1 Add AdvertisementCapabilities to Nearby Share advertisements.
PiperOrigin-RevId: 874144304
2026-02-23 10:32:11 -08:00
Francis Tsui 82947633d3 Fixes to meet styleguide.
PiperOrigin-RevId: 865222108
2026-02-03 22:36:03 -08:00
Nick Bourdakos 9a25fc22ff Convert certificate ID bytes to a hex string for device ID when mac address is not available
PiperOrigin-RevId: 846851458
2025-12-19 13:43:56 -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 75d260dce4 Cleanup Attachments and AttachmentContainer.
PiperOrigin-RevId: 839803045
2025-12-03 10:06:33 -08:00
Francis Tsui 6b570ead96 Add flag to switch between native and app notifications.
PiperOrigin-RevId: 836352152
2025-11-24 13:54:20 -08:00
Francis Tsui 9ccfded727 Cleanup unnecessary files and classes.
PiperOrigin-RevId: 823206305
2025-10-23 15:15:43 -07:00
Francis Tsui 520223f3b9 Add IS_VLOG_ON macro to platform logging.
PiperOrigin-RevId: 820402805
2025-10-16 14:47:30 -07:00
Francis Tsui 382f607d3d Split Lan and Internet connected callbacks.
PiperOrigin-RevId: 816845853
2025-10-08 13:51:51 -07:00
Francis Tsui 0f207eee97 Mark all targets lost when all foreground send surfaces are unregistered.
PiperOrigin-RevId: 812966823
2025-09-29 15:30:48 -07:00
Francis Tsui 6922eea95f Cleanup OutgoingTargetsManager.
PiperOrigin-RevId: 811928178
2025-09-26 13:09:08 -07:00
Francis Tsui eb3ae063f5 Move OutgoingTargetsManager to separate files.
PiperOrigin-RevId: 811122178
2025-09-24 18:40:14 -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 eb790c48cd Fix flaky test.
PiperOrigin-RevId: 806481329
2025-09-12 17:18:24 -07:00
Francis Tsui 1d6f44e6b5 Internal changes.
PiperOrigin-RevId: 804560917
2025-09-08 13:23:27 -07:00
Ivo Ristovski List 038c73520d Automated Code Change
PiperOrigin-RevId: 802282871
2025-09-02 14:04:04 -07:00
Francis Tsui 77ce859862 Switch ConnectionOptions to use MacAddress class.
PiperOrigin-RevId: 802210252
2025-09-02 10:56:48 -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 1a930d9316 Fix lifetime management of NearbySharingService::Observer.
PiperOrigin-RevId: 792782838
2025-08-08 15:28:09 -07:00
Francis Tsui 6a5d39eb59 Internal changes
PiperOrigin-RevId: 780198051
2025-07-07 11:46:50 -07:00
Francis Tsui 96a274a58f Ban use of std::filesystem from nearby/sharing.
PiperOrigin-RevId: 762119139
2025-05-22 14:09:49 -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 adb38095d8 Remove unnecessary redefinition of enums.
PiperOrigin-RevId: 750006705
2025-04-21 19:36:52 -07:00
Francis Tsui b1ef67dae9 Refactor NearbyConnection class.
PiperOrigin-RevId: 707733296
2024-12-18 18:26:08 -08:00
Francis Tsui f0caa45bbc Remove FakeNearbyConnection.
PiperOrigin-RevId: 707200594
2024-12-17 12:19: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 ec5dbe56f1 Add worker queue class.
PiperOrigin-RevId: 696602320
2024-11-14 11:55:23 -08:00
Francis Tsui 0a0c915a79 Create new SigninAttempt object.
PiperOrigin-RevId: 694229619
2024-11-07 13:31:36 -08:00
Francis Tsui b4d11ecbda Use machine name for advertisement when user not logged in.
PiperOrigin-RevId: 690479544
2024-10-27 22:52:21 -07:00
Francis Tsui 2183467f14 Move outgoing connection management into OutgoingShareSession.
PiperOrigin-RevId: 686671335
2024-10-16 15:56:43 -07:00
Francis Tsui fdd944e98d Fix logging crash
PiperOrigin-RevId: 681591522
2024-10-02 14:26:40 -07:00
Francis Tsui 3cd3614a4a Deprecate flags that have been fully rolled out.
PiperOrigin-RevId: 678305598
2024-09-24 10:30:50 -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 48001e65cd Really remove recursive locks in IncomingFramesReader.
PiperOrigin-RevId: 672616279
2024-09-09 11:39:15 -07:00
Anay Wadhera e36398b124 Remove open()-related and unused code.
PiperOrigin-RevId: 671851469
2024-09-06 12:15:46 -07:00
hai007 f0115df88b Internal change
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
Francis Tsui 0a4fbb0cb7 Remove recursive mutex in IncomingFrameReader.
PiperOrigin-RevId: 662219648
2024-08-12 14:05:46 -07:00
Francis Tsui c9c05b73fc cleanup tests
PiperOrigin-RevId: 661384334
2024-08-09 13:33:50 -07:00
Anay Wadhera b53ad29348 internal finalize
PiperOrigin-RevId: 659630436
2024-08-05 11:52:07 -07:00