Commit Graph
29 Commits
Author SHA1 Message Date
Francis Tsui a5478bd1c9 Remove unused WifiAdapter.
PiperOrigin-RevId: 800083180
2025-08-27 10:17:09 -07:00
Francis Tsui ba377cec95 Remove unused WifiAdapter Observer.
PiperOrigin-RevId: 799787972
2025-08-26 17:40:45 -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 594f7fc0e1 Remove unused legacy rpc client.
PiperOrigin-RevId: 785510820
2025-07-21 11:28:35 -07:00
Francis Tsui fdd764babb Internal changes
PiperOrigin-RevId: 778597033
2025-07-02 12:17:32 -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 1d3b17821b Fix issue with multiple Cancellations for same target ID.
PiperOrigin-RevId: 726234081
2025-02-12 16:08:37 -08:00
Francis Tsui c1fa3a92a2 Set receive_disabled field in ShareTarget.
PiperOrigin-RevId: 703252051
2024-12-05 14:27:37 -08:00
Anay Wadhera 63c8486a41 Plumb vendor ID in certificate metadata and only set it in advertisement when advertising in everyone mode.
PiperOrigin-RevId: 694636952
2024-11-08 14:15:27 -08:00
Francis Tsui 76e32d56d6 Add RPC logging.
PiperOrigin-RevId: 687376548
2024-10-18 11:54:11 -07:00
Anay Wadhera e36398b124 Remove open()-related and unused code.
PiperOrigin-RevId: 671851469
2024-09-06 12:15:46 -07:00
Francis Tsui e6a4ca846b Update API to allow control use of hotspot for transfers.
PiperOrigin-RevId: 666946030
2024-08-23 15:39:52 -07:00
Francis Tsui b55ea69464 Add credential_error flag on Logout notification.
PiperOrigin-RevId: 658500314
2024-08-01 12:36:13 -07:00
Francis Tsui d3ef98dd43 Remove unused methods.
PiperOrigin-RevId: 657298529
2024-07-29 13:02:15 -07:00
Francis Tsui 861ed1b64b Remove unused methods.
PiperOrigin-RevId: 657249809
2024-07-29 10:37:15 -07:00
Anay Wadhera a0484fef80 Add SetVisibility to NearbySharingService
PiperOrigin-RevId: 652933591
2024-07-16 12:15:34 -07:00
Francis Tsui 55b5b9ee07 Add adapter state to adapter status change notification.
PiperOrigin-RevId: 643380513
2024-06-14 10:10:07 -07:00
Francis Tsui 37327e79f3 Change Open to accept AttachmentContainer.
PiperOrigin-RevId: 640278287
2024-06-04 14:12:40 -07:00
Anay Wadhera 98dc739a8a Remove extra discovery_callback parameter from UnregisterSendSurface()
PiperOrigin-RevId: 640205209
2024-06-04 10:43:21 -07:00
Anay Wadhera 0a96c9f7e0 Remove SetArcCleanupCallback API.
PiperOrigin-RevId: 640199327
2024-06-04 10:27:50 -07:00
Anay Wadhera a882f5816d Block targets with the same vendor ID
This CL does many things:
1) Adds a new API for RegisterSendSurface to specify vendor ID and whether we should block targets with the same vendor ID.
2) Refactors the sending surface callback observer lists to maps, mirroring Android.
3) Uses WrappedShareTargetDiscoveredCallback, which wraps the passed-in `ShareTargetDiscoveredCallback` and adds blocking on vendor ID (the actual point of this CL).

PiperOrigin-RevId: 639969139
2024-06-03 17:50:47 -07:00
Francis Tsui 911d55ff63 Change SendAttachements to accept an AttachmentContainer.
PiperOrigin-RevId: 639874033
2024-06-03 12:28:34 -07:00
Anay Wadhera ec3cf6ca26 Add vendor ID from a registered receive surface to the advertisement.
PiperOrigin-RevId: 639091253
2024-05-31 11:11:05 -07:00
Francis Tsui f15f7ecc24 Add kInvalidArgument status.
PiperOrigin-RevId: 638322753
2024-05-29 10:03:04 -07:00
Anay Wadhera 60bba62294 Add vendor ID to register receive surface API.
PiperOrigin-RevId: 636986314
2024-05-24 11:42:37 -07:00
Francis Tsui e5350b0e81 Change sharing service APIs to accept share target ID.
PiperOrigin-RevId: 617931356
2024-03-21 12:42:43 -07:00
Francis Tsui e2aa37ab04 Refactor RpcClient interfaces.
PiperOrigin-RevId: 600912194
2024-01-23 14:44:37 -08:00
hai007 c40a65e492 Internal change
PiperOrigin-RevId: 598901559
2024-01-16 12:54:38 -08:00