Commit Graph
2807 Commits
Author SHA1 Message Date
Anay Wadhera e9f2c761ab Internal updates
PiperOrigin-RevId: 686159198
2024-10-15 10:43:26 -07:00
Crisrael Lucero 32f6c39b46 Reorder preprocessor in encryptor for non-Chromium, non-iOS builds
PiperOrigin-RevId: 686112436
2024-10-15 08:21:43 -07:00
hai007 4733fc1736 Correct proto index, which is not consistant with nearby_client_log in cl/685588100
PiperOrigin-RevId: 685960109
2024-10-14 22:26:13 -07:00
Anay Wadhera 5cd8159cef Remove GetOsPermissionStatus from WifiAdapter
PiperOrigin-RevId: 685866926
2024-10-14 16:09:53 -07:00
Anay Wadhera 1198b63e4f Remove unused GetAdapterId() from WifiAdapter.
PiperOrigin-RevId: 685777617
2024-10-14 11:34:11 -07:00
hai007 ac638d83a0 [Sharing Analytics] Log event for bandwidth quality change.
PiperOrigin-RevId: 685588100
2024-10-13 23:31:36 -07:00
Nick Bourdakos cc205590ab Fix Apple platform implementation bug for SendRequest
PiperOrigin-RevId: 685269857
2024-10-12 15:38:05 -07:00
Edwin Wu 7b2eddc458 Add WEB_RTC_NON_CELLULAR enum, II
PiperOrigin-RevId: 685103930
2024-10-12 00:28:58 -07:00
Guogang Li fec1c8f63f Enable a few flags for NC test
PiperOrigin-RevId: 684943491
2024-10-11 13:46:54 -07:00
Guogang Li 37d7dc19de Change the method to stop Wi-Fi LAN advertising
PiperOrigin-RevId: 684905306
2024-10-11 11:40:34 -07:00
Edwin Wu ceb14e10e3 Add WEB_RTC_NON_CELLULAR enum, I
PiperOrigin-RevId: 684695561
2024-10-10 21:47:17 -07:00
Nick Bourdakos ec4c4df16f Merge pull request #2923 from edwinwugoog/compile-protos
Compile protos based on cl/679384625
2024-10-10 22:03:06 -04:00
Guogang Li 1255f6a800 Internal fix
PiperOrigin-RevId: 684640919
2024-10-10 18:04:17 -07:00
hai007 05ae5583f8 Move crypto-related symbols from ::crypto:: to ::nearby::crypto:: to deconflict
them with chromium ::crypto symbols of the same names.

PiperOrigin-RevId: 684566882
2024-10-10 13:54:53 -07:00
Guogang Li 526ebc8cfd Clear connection token when it exceeds TTL
PiperOrigin-RevId: 684473251
2024-10-10 09:33:06 -07:00
Guogang Li 45e297cc93 Reduce GATT read during discovery
PiperOrigin-RevId: 684175246
2024-10-09 14:36:44 -07:00
Francis Tsui 2325f8f4e1 Refactor RunPairedKeyVerification.
PiperOrigin-RevId: 684153317
2024-10-09 13:34:21 -07:00
Eiden Kim 81148a8b72 Update wstring converter
PiperOrigin-RevId: 684119260
2024-10-09 11:54:27 -07:00
hai007 fa6cedaa9b [Safe-to-disconnect] Fix a bug that causes Send file from Windows to Android fails
PiperOrigin-RevId: 684077190
2024-10-09 10:03:04 -07:00
hai007 b721624851 Automated Code Change
PiperOrigin-RevId: 683908630
2024-10-08 23:45:46 -07:00
Guogang Li b3684f55c7 Improve logging in DiscoveredPeripheralTracker
PiperOrigin-RevId: 683831370
2024-10-08 18:13:59 -07:00
Anay Wadhera 117b13d099 introduce copy file utility
PiperOrigin-RevId: 683707504
2024-10-08 11:46:08 -07:00
Francis Tsui a70d4b096f Pass Clock and NearbyConnectionsManager to ShareSession constructor.
PiperOrigin-RevId: 683705581
2024-10-08 11:41:18 -07:00
Crisrael Lucero 835e5d16c3 Minor comment cleanup
PiperOrigin-RevId: 683690113
2024-10-08 11:06:26 -07:00
Francis Tsui 1b382075dd Fix missing connection start time.
PiperOrigin-RevId: 683402250
2024-10-07 18:28:27 -07:00
Suet-Fei Li d6c5adbf7c [DeDup Part 2] Add discovery cache to handle rapid DISCOVERED => LOST => DISCOVERED.
PiperOrigin-RevId: 683394503
2024-10-07 17:59:01 -07:00
Anay Wadhera 773338971a Log what we're advertising for endpoint_info.
PiperOrigin-RevId: 683245308
2024-10-07 10:57:26 -07:00
Edwin Wu 6671cb127d Compile protos 2024-10-06 23:18:49 +08:00
Edwin Wu 703df338b2 Compile protos 2024-10-05 18:24:05 +08:00
Guogang Li 707e85d3fc Internal refactor
PiperOrigin-RevId: 682563440
2024-10-04 22:11:41 -07:00
Eiden Kim 5d8b9156e0 Move unknown file filter to OnPayloadReceived()
PiperOrigin-RevId: 682505406
2024-10-04 17:33:26 -07:00
hai007 7f3c7f55cc [Quick Share QR Code] Track QR code connection latency
PiperOrigin-RevId: 682494101
2024-10-04 16:47:19 -07:00
Francis Tsui c613904a69 allow API to request to disable wifi hotspot
PiperOrigin-RevId: 682473971
2024-10-04 15:37:24 -07:00
hai007 37859c434e [Quick Share QR Code] Record whether a transfer was assisted by QR code in Nearby Share logs
PiperOrigin-RevId: 682206114
2024-10-04 00:40:43 -07:00
Eiden Kim 25d4aca219 Update wstring converter
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
Francis Tsui ab00092c6c Create hard link for latest log files.
PiperOrigin-RevId: 681986911
2024-10-03 12:39:42 -07:00
Francis Tsui fdd944e98d Fix logging crash
PiperOrigin-RevId: 681591522
2024-10-02 14:26:40 -07:00
Johnson Lu 8e68bf346c Add Quality.SUSPENDED
PiperOrigin-RevId: 680495237
2024-09-30 03:11:23 -07:00
hai007 c5029a3728 [Sharing Analytics] Log event for showing accept button on receiver UI.
PiperOrigin-RevId: 679797119
2024-09-27 18:24:29 -07:00
Suet-Fei Li 541907d584 Fix flaky endpoint de-dup test
PiperOrigin-RevId: 679644759
2024-09-27 10:37:23 -07:00
Johnson Lu 0dd8d5c8eb Add WEB_RTC_NON_CELLULAR enum
PiperOrigin-RevId: 679384625
2024-09-26 19:28:23 -07:00
hai007 53b09d452b [Safe-to-disconnect] Fix a bug in ReplaceChannelForEndpoint()
PiperOrigin-RevId: 679298374
2024-09-26 14:37:57 -07:00
Nick Bourdakos 1a87241ffd Implement GattClient#Disconnect for Apple implementation of BLEv2
PiperOrigin-RevId: 679218551
2024-09-26 11:09:30 -07:00
Guogang Li dc35037fee Log API calls to Nearby Connections
PiperOrigin-RevId: 678791269
2024-09-25 11:56:27 -07:00
hai007 2455d0cc66 Capture java.lang.RuntimeException: Bad file descriptor
Tested: https://paste.googleplex.com/6476512456081408

PiperOrigin-RevId: 678531933
2024-09-24 22:19:19 -07:00
Francis Tsui 3cd3614a4a Deprecate flags that have been fully rolled out.
PiperOrigin-RevId: 678305598
2024-09-24 10:30:50 -07:00
Anay Wadhera d9b38e2efd Don't attach vendor ID to advertisements that aren't in everyone mode.
PiperOrigin-RevId: 678117611
2024-09-24 00:47:32 -07:00
Anay Wadhera 6d2a38b6c8 Send wifi credentials payload in OutgoingShareSession.
PiperOrigin-RevId: 678115944
2024-09-24 00:41:02 -07:00
Suet-Fei Li bdca4aa707 Add de-duplicate in NearbySharing based on device_id matching.
PiperOrigin-RevId: 677910987
2024-09-23 13:10:56 -07:00
Anay Wadhera 42c1ad3173 Log vendor ID when registering a receive surface.
PiperOrigin-RevId: 677850820
2024-09-23 10:34:19 -07:00