Commit Graph
2621 Commits
Author SHA1 Message Date
hai007 bc77c39d84 This CL logs the safe disconnection result in the analytics recorder.
PiperOrigin-RevId: 655757596
2024-07-24 17:41:00 -07:00
hai007 65df1e8195 Add some of the np info into ns credential
PiperOrigin-RevId: 655734149
2024-07-24 16:16:16 -07:00
Francis Tsui 357635251d Move accept timer cancellation back to when Accept is sent.
PiperOrigin-RevId: 655682894
2024-07-24 13:34:54 -07:00
Anay Wadhera cdc55f9e83 Don't check visibility for equality in the service.
PiperOrigin-RevId: 655237350
2024-07-23 11:24:01 -07:00
hai007 9ea22bb1e4 Automated Code Change
PiperOrigin-RevId: 655112620
2024-07-23 04:24:22 -07:00
Guogang Li 52c80303e3 Enhance on advertising
PiperOrigin-RevId: 655044204
2024-07-22 23:57:16 -07:00
Anay Wadhera e2aac58f2f Remove CORE_ADAPTER_DLL define
PiperOrigin-RevId: 654136693
2024-07-19 15:05:57 -07:00
hai007 09094110c8 Replace dynamic_cast with down_cast
PiperOrigin-RevId: 654066599
2024-07-19 11:17:05 -07:00
Guogang Li d576caa4f3 Internal API fix
PiperOrigin-RevId: 653475092
2024-07-17 22:02:13 -07:00
Guogang Li 304a0e2851 Add more logs for GATT advertising
PiperOrigin-RevId: 653282565
2024-07-17 10:35:57 -07:00
hai007 9f5d2c0111 Define proto field and collect/upload data to clearcut server
PiperOrigin-RevId: 653100645
2024-07-16 22:52:03 -07:00
Guogang Li 9cbc4c0950 Add flag for instant on lost feature
PiperOrigin-RevId: 653075398
2024-07-16 20:43:09 -07:00
Guogang Li f2724e85f2 Apply task scheduler
PiperOrigin-RevId: 653046912
2024-07-16 18:17:56 -07:00
Anay Wadhera 1a075e1e9c Remove NearbyShareSettings#isOnboardingComplete
PiperOrigin-RevId: 653002081
2024-07-16 15:34:06 -07:00
Anay Wadhera a0484fef80 Add SetVisibility to NearbySharingService
PiperOrigin-RevId: 652933591
2024-07-16 12:15:34 -07:00
Anay Wadhera 01e9a6e0e2 internal fix
PiperOrigin-RevId: 652927652
2024-07-16 11:57:29 -07:00
Guogang Li d30f53f92b Added a class to schedule multiple tasks
PiperOrigin-RevId: 652871095
2024-07-16 09:20:24 -07:00
Francis Tsui b166682810 Move accept timeout into outgoingShareSession.
PiperOrigin-RevId: 652626672
2024-07-15 16:10:35 -07:00
Francis Tsui 907ad97e8d Return fallback time in GetFallbackVisibility.
PiperOrigin-RevId: 652602506
2024-07-15 14:39:17 -07:00
Francis Tsui 282b1189aa Move accept timeout into incoming share session.
PiperOrigin-RevId: 651932393
2024-07-12 17:46:09 -07:00
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