Guogang Li
4f386b95db
Added logic to stabilize endpoint IDs
...
PiperOrigin-RevId: 644407047
2024-06-18 09:11:51 -07:00
Francis Tsui
23031698dd
Move IntroductionFrame handing to ShareTargetInfo.
...
PiperOrigin-RevId: 644192822
2024-06-17 18:04:35 -07:00
Anay Wadhera
2fccc4a48b
Filter out contacts when downloading
...
PiperOrigin-RevId: 644181519
2024-06-17 17:15:43 -07:00
Francis Tsui
9ea59a98dc
Cleanup payload creation.
...
PiperOrigin-RevId: 644155481
2024-06-17 15:39:23 -07:00
Anay Wadhera
15f669b3d9
Update NearbyShareContactManagerImpl to use absl::StatusOr
...
PiperOrigin-RevId: 644133624
2024-06-17 14:26:30 -07:00
Crisrael Lucero
acc38a809b
[Nearby Presence] Update ScanManager to trigger changed and lost events
...
PiperOrigin-RevId: 644072733
2024-06-17 11:17:00 -07:00
hai007
5098934e8c
Update C wrapper to use pointers, instead of references, which is not supported by C.
...
PiperOrigin-RevId: 643505769
2024-06-14 18:37:56 -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
03dba4ae8b
Remove unnecessary dependencies.
...
PiperOrigin-RevId: 643374160
2024-06-14 09:47:55 -07:00
Johnson Lu
80cf0e50fd
Add num_failed_auto_resume into Payload logging.
...
PiperOrigin-RevId: 643283813
2024-06-14 02:28:00 -07:00
Anay Wadhera
9d65c2346c
remove fastinit toggle api
...
PiperOrigin-RevId: 643117020
2024-06-13 14:13:58 -07:00
Crisrael Lucero
e78a60f512
Move to google.protobuf.FieldMask
...
PiperOrigin-RevId: 643065889
2024-06-13 11:29:44 -07:00
Guogang Li
7d86d17ba6
Add a flag to control whether to use stable endpoint ID.
...
PiperOrigin-RevId: 643041599
2024-06-13 10:21: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
0d67ae9c33
Applied stable endpoint ID for everyone mode
...
PiperOrigin-RevId: 642629218
2024-06-12 08:53:53 -07:00
Guogang Li
b2f8233294
Added logic to stabilize endpoint IDs
...
PiperOrigin-RevId: 642624940
2024-06-12 08:36:57 -07:00
Francis Tsui
3d2adf8b42
internal changes.
...
PiperOrigin-RevId: 642056854
2024-06-10 16:20:30 -07:00
Anay Wadhera
a571b0324e
Internal change
...
PiperOrigin-RevId: 642028815
2024-06-10 14:46:11 -07:00
Anay Wadhera
fb982295fb
Move to google.protobuf.FieldMask
...
PiperOrigin-RevId: 641320767
2024-06-07 12:13:13 -07:00
Guogang Li
bc66c63a48
Fixed the issues to handle on lost advertisement
...
PiperOrigin-RevId: 641268507
2024-06-07 09:14:10 -07:00
Anay Wadhera
c3924eb8df
Add car and foldable types to target types.
...
PiperOrigin-RevId: 641248360
2024-06-07 07:50:45 -07:00
Francis Tsui
2d845718f2
Cleanup share target info.
...
PiperOrigin-RevId: 641091075
2024-06-06 18:57:08 -07:00
Francis Tsui
ece828ab55
Simplify PairKeyVerificationRunner interface.
...
PiperOrigin-RevId: 641087956
2024-06-06 18:38:34 -07:00
Francis Tsui
3c73448dc8
Move Attachments into ShareTargetInfo.
...
PiperOrigin-RevId: 640597022
2024-06-05 11:48:00 -07:00
hai007
37e8523189
Internal change
...
PiperOrigin-RevId: 640541007
2024-06-05 08:54:10 -07:00
Edwin Wu
152cabab7c
Fix a bug in file payload.
...
PiperOrigin-RevId: 640494382
2024-06-05 05:43:02 -07:00
Edwin Wu
334ef7a3e1
[JNI] Refactor Payload and PayloadId/PayloadType
...
PiperOrigin-RevId: 640490438
2024-06-05 05:25:29 -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
994d3c883b
internal changes
...
PiperOrigin-RevId: 639925792
2024-06-03 15:12:36 -07:00
Francis Tsui
60b858d487
Change AnalyticsRecorder to accept AttachmentContainer.
...
PiperOrigin-RevId: 639879717
2024-06-03 12:48:22 -07:00
Francis Tsui
911d55ff63
Change SendAttachements to accept an AttachmentContainer.
...
PiperOrigin-RevId: 639874033
2024-06-03 12:28:34 -07:00
Francis Tsui
d073073593
Move Attachments out of ShareTarget in TransferUpdate callback to match API.
...
PiperOrigin-RevId: 639142725
2024-05-31 13:53:59 -07:00
Francis Tsui
13504726f9
Create AttachmentContainer class.
...
PiperOrigin-RevId: 639137658
2024-05-31 13:37:16 -07:00
Anay Wadhera
a91f428e71
Remove selected contacts code from service
...
PiperOrigin-RevId: 639122146
2024-05-31 12:47:24 -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
Nick Bourdakos
5000f0a4d4
Merge pull request #2586 from atetubou/update_depot_tools
...
update third_party/depot_tools
2024-05-31 13:10:31 -04:00
Francis Tsui
aa277cc202
Switch to absl random to generate payload and attachment ids.
...
PiperOrigin-RevId: 638749436
2024-05-30 12:44:55 -07:00
Eiden Kim
7459330bd5
[Sharing] Add more unit tests for ProcessUnknownFilePathsToDelete
...
PiperOrigin-RevId: 638677572
2024-05-30 09:22:59 -07:00
Guogang Li
9b8d708a7f
Add use_stable_endpoint_id to AdvertisingOptions
...
PiperOrigin-RevId: 638501216
2024-05-29 20:25:48 -07:00
Anay Wadhera
b2efc04bb2
Introduce WrappedShareTargetDiscoveredCallback.
...
PiperOrigin-RevId: 638421531
2024-05-29 14:56:55 -07:00
Eiden Kim
4d21499342
[Sharing] Delete unknown payload with kProgress status
...
PiperOrigin-RevId: 638418216
2024-05-29 14:45:10 -07:00
Eiden Kim
51dcfe807d
Fix a crash in BasePcpHandler::BreakTie.
...
PiperOrigin-RevId: 638412219
2024-05-29 14:26:23 -07:00
Francis Tsui
f15f7ecc24
Add kInvalidArgument status.
...
PiperOrigin-RevId: 638322753
2024-05-29 10:03:04 -07:00
Eiden Kim
25493f4241
Filter expected files out from the delete list.
...
PiperOrigin-RevId: 637746917
2024-05-27 19:23:40 -07:00
Takuto Ikuta
b005b6302f
update third_party/depot_tools
2024-05-27 15:58:00 +09:00
hai007
a2d018cd87
Add nullability annotation
...
PiperOrigin-RevId: 637062647
2024-05-24 16:19:04 -07:00
Francis Tsui
9c6cde0770
Remove auto app start flag from settings.
...
PiperOrigin-RevId: 637027668
2024-05-24 14:04:57 -07:00