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
Anay Wadhera
a46531153d
Refactor receive surface callbacks into a map of TransferUpdateCallback* to vendor ID.
...
PiperOrigin-RevId: 637001019
2024-05-24 12:30:36 -07:00
Anay Wadhera
60bba62294
Add vendor ID to register receive surface API.
...
PiperOrigin-RevId: 636986314
2024-05-24 11:42:37 -07:00
Eiden Kim
76b4f6c51a
Block any upgrade path available frames in Advertising side
...
PiperOrigin-RevId: 636753678
2024-05-23 19:29:19 -07:00
Anay Wadhera
7164bc98f6
Attach vendor ID to ShareTarget.
...
PiperOrigin-RevId: 636621178
2024-05-23 11:38:32 -07:00
Anay Wadhera
76a99ec941
Demystify FindEndpoint() in test code.
...
PiperOrigin-RevId: 636319141
2024-05-22 15:47:34 -07:00
Francis Tsui
bf9b5ccb91
Rationalize disconnection handling.
...
PiperOrigin-RevId: 635985141
2024-05-21 18:00:13 -07:00
Anay Wadhera
ffda9da870
Add TLV parsing and vendor ID tlv to C++ advertisement.
...
PiperOrigin-RevId: 635936457
2024-05-21 14:54:28 -07:00
hai007
0e85eb6a58
Internal change
...
PiperOrigin-RevId: 635857301
2024-05-21 10:45:31 -07:00
Juliet Levesque
84bb5700c4
[Nearby Presence] Check IsValid() before accessing impl_
...
Adding a check to `IsInvalid()` before accessing `impl_` in
`Blev2Medium::IsExtendedAdvertisementsAvailable()` to prevent a crash when
`impl_` is nullptr (which occurs when BleV2 is disabled).
PiperOrigin-RevId: 635854690
2024-05-21 10:38:27 -07:00
Anay Wadhera
4472598508
Create advertisement class testing
...
PiperOrigin-RevId: 635621550
2024-05-20 17:47:22 -07:00
Eiden Kim
dca2997f5d
Added more checks to file path validation.
...
PiperOrigin-RevId: 635580793
2024-05-20 15:03:50 -07:00
Anay Wadhera
d9ee5ac253
Add vendor_id field to Advertisement class
...
PiperOrigin-RevId: 635569993
2024-05-20 14:25:26 -07:00
Francis Tsui
1ab16fda46
Fix UBSan error.
...
PiperOrigin-RevId: 635522535
2024-05-20 11:42:46 -07:00
Eiden Kim
b224f8660c
Check illegal characters from the file and parent folder name
...
PiperOrigin-RevId: 634941778
2024-05-17 18:46:26 -07:00
Francis Tsui
4ff7c1511c
Break nearby_sharing_service_test into smaller targets.
...
PiperOrigin-RevId: 634860612
2024-05-17 12:52:25 -07:00
Eiden Kim
33d66fd169
Check illegal characters from the file and parent folder name
...
PiperOrigin-RevId: 634598623
2024-05-16 18:54:45 -07:00
Francis Tsui
5cddd51876
Remove use of dynamic_cast.
...
PiperOrigin-RevId: 634559729
2024-05-16 16:13:13 -07:00
Francis Tsui
1097288e54
Fix threading issues in NearbySharingServiceImpl.
...
PiperOrigin-RevId: 634527776
2024-05-16 14:22:48 -07:00
Francis Tsui
16f820471e
Remove use of dynamic_cast from nearby/sharing.
...
PiperOrigin-RevId: 634519160
2024-05-16 13:57:01 -07:00
Francis Tsui
20c0c5aac3
Fix tsan issues.
...
PiperOrigin-RevId: 634212412
2024-05-15 22:30:37 -07:00
Anay Wadhera
4aa73df657
Internal changes for stub impl
...
PiperOrigin-RevId: 634082976
2024-05-15 14:49:33 -07:00
Anay Wadhera
fcc08df58b
internal change
...
PiperOrigin-RevId: 634077236
2024-05-15 14:31:46 -07:00
hai007
00e8286021
add connection mode
...
PiperOrigin-RevId: 633706665
2024-05-14 14:28:03 -07:00
Anay Wadhera
a6ec53dc1d
Add OnShareTargetUpdated callback to NS C++
...
PiperOrigin-RevId: 633705421
2024-05-14 14:22:25 -07:00
hai007
da927092e2
Fix build warnings from missing includes, unused includes or clang tidy
...
PiperOrigin-RevId: 633683523
2024-05-14 13:14:44 -07:00
Francis Tsui
7840f93181
Fix threading in NearbyFileHandler.
...
PiperOrigin-RevId: 633678194
2024-05-14 12:57:35 -07:00
hai007
1c8395eede
Fix the bug that the multiplex socket is not closed properly.
...
PiperOrigin-RevId: 633675141
2024-05-14 12:47:19 -07:00
Anay Wadhera
e73727ea39
Create flag for delaying endpoint loss
...
PiperOrigin-RevId: 633663638
2024-05-14 12:06:15 -07:00
Will Harmon
12d03e75d3
Shrink the QR code
...
PiperOrigin-RevId: 633285268
2024-05-13 11:55:55 -07:00
hai007
556a026a6e
Automated Code Change
...
PiperOrigin-RevId: 633055418
2024-05-12 18:49:35 -07:00
hai007
7c72774167
Multiplex implementation - Create Multiplex Socket
...
PiperOrigin-RevId: 632628955
2024-05-10 16:11:26 -07:00
Francis Tsui
78729abb7d
Add method to track active users.
...
PiperOrigin-RevId: 632594799
2024-05-10 13:55:29 -07:00
Eiden Kim
6d4f2c2606
Add a flag to check illegal characters in the file name and parent folder
...
PiperOrigin-RevId: 632577432
2024-05-10 12:50:45 -07:00
Hai Shang
ce030a76b6
internal cleanup
...
PiperOrigin-RevId: 632285218
2024-05-09 15:20:03 -07:00
Anay Wadhera
5d6735371b
Make sure we never generate a payload ID of 0.
...
PiperOrigin-RevId: 632210716
2024-05-09 11:15:02 -07:00
hai007
3f1a6d63d1
internal change of annotations
...
PiperOrigin-RevId: 632206914
2024-05-09 11:05:06 -07:00