hai007
25deb0962f
Implement Bluetooth Multiplex.
...
PiperOrigin-RevId: 651921709
2024-07-12 16:52:46 -07:00
Francis Tsui
c9dbaad286
Move AbortAndCloseConnectionIfNecessary into ShareSession.
...
PiperOrigin-RevId: 651920745
2024-07-12 16:47:40 -07:00
Francis Tsui
c1ca33e2c3
Move accept state management into IncomingShareSession.
...
PiperOrigin-RevId: 651900492
2024-07-12 15:19:51 -07:00
Guogang Li
0f4f02c7f0
Internal crash fix
...
PiperOrigin-RevId: 651635619
2024-07-11 21:25:06 -07:00
Francis Tsui
ca435ad75f
Make AnalyticsRecorder available in ShareSession.
...
PiperOrigin-RevId: 651442133
2024-07-11 09:49:27 -07:00
Francis Tsui
76651429b8
Move accept transfer into IncomingShareSession.
...
PiperOrigin-RevId: 651226239
2024-07-10 19:09:04 -07:00
Francis Tsui
5d952cff5e
Cleanup session_id.
...
PiperOrigin-RevId: 651111086
2024-07-10 12:18:56 -07:00
Francis Tsui
7736ba0449
Move protocol message processing into ShareSession.
...
PiperOrigin-RevId: 651099871
2024-07-10 11:46:25 -07:00
hai007
4dccfb192a
Automated Code Change
...
PiperOrigin-RevId: 650801511
2024-07-09 17:03:40 -07:00
Anay Wadhera
f832aa8e77
internal change
...
PiperOrigin-RevId: 650382729
2024-07-08 14:53:22 -07:00
Anay Wadhera
20f0904a83
Remove Get/SetEnabled from API
...
PiperOrigin-RevId: 650353129
2024-07-08 13:20:54 -07:00
Francis Tsui
2e0996ee7f
Change IncomingFramesReader to use ThreadTimer.
...
PiperOrigin-RevId: 650303455
2024-07-08 10:50:44 -07:00
Francis Tsui
cdf658c985
Fix use after free error.
...
PiperOrigin-RevId: 649180234
2024-07-03 13:26:07 -07:00
Francis Tsui
069d836793
Allow setting log file base name in InitLogging.
...
PiperOrigin-RevId: 649156558
2024-07-03 12:05:27 -07:00
Xin He
91f4e665e7
[Presence] Add device model name and manufacturer to Presence Metadata
...
PiperOrigin-RevId: 649132282
2024-07-03 10:59:25 -07:00
Francis Tsui
e54aa1d5e1
Add ThreadTimer which ensures callback invoked from specific TaskRunner.
...
PiperOrigin-RevId: 648878267
2024-07-02 16:30:00 -07:00
Anay Wadhera
6cdc8a4bda
internal shuffle of preferences
...
PiperOrigin-RevId: 648871255
2024-07-02 16:02:48 -07:00
Francis Tsui
d81ced95c7
Log backend rpc errors.
...
PiperOrigin-RevId: 648859480
2024-07-02 15:22:02 -07:00
Guogang Li
f449b2199e
Improve mediums logging for medium environment
...
PiperOrigin-RevId: 648752034
2024-07-02 09:59:35 -07:00
Guogang Li
d539f6faa6
Added more test cases for reducing BT scanning
...
PiperOrigin-RevId: 648746008
2024-07-02 09:37:22 -07:00
Guogang Li
c5869cf5fc
Allow multiple clients to discover on BTC
...
PiperOrigin-RevId: 648735657
2024-07-02 09:01:50 -07:00
Anay Wadhera
22b1cda657
Make GetIsTemporarilyVisible() private and handle correctly.
...
PiperOrigin-RevId: 648515563
2024-07-01 16:15:14 -07:00
Anay Wadhera
c146be8688
Make GetFallbackVisibility() return UNSPECIFIED when the visibility is not temporary.
...
PiperOrigin-RevId: 648437194
2024-07-01 11:41:13 -07:00
hai007
897e083069
annotate new DeviceType CAR
...
PiperOrigin-RevId: 648225029
2024-06-30 20:06:43 -07:00
Anay Wadhera
129e6fc414
Remove SetIsTemporarilyVisible from public API.
...
PiperOrigin-RevId: 647827585
2024-06-28 16:30:30 -07:00
Anay Wadhera
0cc4138a4e
Make SetFallbackVisibility private and handle it correctly in settings.
...
PiperOrigin-RevId: 647816713
2024-06-28 15:41:30 -07:00
hai007
4a67bb9677
Deprecate NEARBY_BT_MULTIPLEX_SOCKET_DISABLED and Adds MEDIUM_UNAVAILABLE_BT_MULTIPLEX_DISABLED
...
PiperOrigin-RevId: 647534146
2024-06-27 20:42:02 -07:00
Anay Wadhera
2e868f9a00
Remove unused code related to allowed contacts and all contacts.
...
PiperOrigin-RevId: 647443590
2024-06-27 14:17:38 -07:00
Anay Wadhera
1f5654089f
remove obsolete analytics functions
...
PiperOrigin-RevId: 647404733
2024-06-27 12:18:10 -07:00
Guogang Li
32cee3439b
Pause Bluetooth classic discovery
...
PiperOrigin-RevId: 647333108
2024-06-27 08:52:58 -07:00
hai007
f63912cc28
Define new result codes of the WLAN denied and signal poor cases.
...
PiperOrigin-RevId: 647307000
2024-06-27 07:18:51 -07:00
Francis Tsui
f93220c7b5
Fix param check behavior.
...
PiperOrigin-RevId: 647092197
2024-06-26 15:10:47 -07:00
Francis Tsui
547a546348
Set vendor ID in SharingLog metadata event.
...
PiperOrigin-RevId: 646992023
2024-06-26 10:18:30 -07:00
Anay Wadhera
efa5f54973
add back flags
...
PiperOrigin-RevId: 646633191
2024-06-25 15:47:03 -07:00
Anay Wadhera
826abd6d30
every day i'm shufflin
...
PiperOrigin-RevId: 646576646
2024-06-25 12:58:38 -07:00
Francis Tsui
df620dc2e6
Remove LinkType from NearbySharingServiceFactory.
...
PiperOrigin-RevId: 646568953
2024-06-25 12:32:46 -07:00
Guogang Li
0640832025
Allowed G3 to simulated BLE device supported extended advertisement
...
PiperOrigin-RevId: 646503301
2024-06-25 09:20:58 -07:00
Guogang Li
7db26f40c5
Report found legacy device
...
PiperOrigin-RevId: 646495727
2024-06-25 08:55:40 -07:00
hai007
b06084d99e
Define OperationResultCode for advertising/discovery
...
PiperOrigin-RevId: 646334104
2024-06-24 22:19:39 -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
Francis Tsui
822e1af2a5
Move remaining payload processing into ShareTargetInfo.
...
PiperOrigin-RevId: 646185948
2024-06-24 12:36:44 -07:00
hai007
cdd6870af2
Use credential_id to correlate matched credential back to original
...
Upon succesfully dectypting an advertisements, the decoding library returns the id of the credential which was used to decrypt. We then use this id to correlate the decoded adv back to the original shared_credential which was used to decrypt it and save this and propagate it in the result returned to the caller
PiperOrigin-RevId: 646179759
2024-06-24 12:16:34 -07:00
Anay Wadhera
0ad19f3ce9
Deprecate ble_v2 in Nearby Sharing
...
PiperOrigin-RevId: 645522524
2024-06-21 15:43:20 -07:00
Francis Tsui
8ba443c7dc
Fix send text
...
PiperOrigin-RevId: 645516517
2024-06-21 15:21:54 -07:00
Anay Wadhera
29099eed43
deprecate another flag
...
PiperOrigin-RevId: 645240613
2024-06-20 20:17:21 -07:00
Anay Wadhera
897da9a54d
deprecate flag
...
PiperOrigin-RevId: 645215759
2024-06-20 18:15:24 -07:00
Anay Wadhera
d4aa4e3a2b
Remove Get/SetIsReceiving
...
PiperOrigin-RevId: 645085883
2024-06-20 10:48:18 -07:00
Guogang Li
755b22f048
Enable Fast Initiate BTC bit for non BLE extended device
...
PiperOrigin-RevId: 645066590
2024-06-20 09:53:56 -07:00
Guogang Li
735927ccad
Add a flag to disable Bluetooth classic scanning.
...
PiperOrigin-RevId: 644612052
2024-06-18 21:36:05 -07:00