Commit Graph
2839 Commits
Author SHA1 Message Date
hai007 17e2bb8ed3 [Sharing Analytics] Log connectionMode to high_quality_medium_setup
PiperOrigin-RevId: 690095747
2024-10-26 05:30:08 -07:00
hai007 7c8071e847 Add begin()/end() to ByteArray.
This allows this type to meet the requirements of e.g.
std::ranges::range, which is necessary for it to work with the
std::span range constructor, or the "non-legacy" constructor for
Chromium's base::span.

Fixes a number of IWYU problems along the way, to silence checks.

Bug: chromium:364987728
PiperOrigin-RevId: 689841844
2024-10-25 10:50:00 -07:00
Guogang Li 9aa2510055 Internal changes
PiperOrigin-RevId: 689614191
2024-10-24 20:11:07 -07:00
Nick Bourdakos fb3227ae7d Always use the OS device name for iOS and macOS devices
PiperOrigin-RevId: 689609981
2024-10-24 20:03:04 -07:00
hai007 cae5c929f3 Fix Hotspot STA can't get IP address problem
PiperOrigin-RevId: 689589148
2024-10-24 18:34:27 -07:00
Guogang Li 001c1c9ba7 Visibility changes
PiperOrigin-RevId: 689526607
2024-10-24 14:58:10 -07:00
hai007 52c35cdb9a Fix payload bytes being dropped in callback
PiperOrigin-RevId: 689506997
2024-10-24 14:00:55 -07:00
Guogang Li e875eeffde Log how many peripheral devices lost
PiperOrigin-RevId: 689141285
2024-10-23 16:18:55 -07:00
hai007 df6c4fadef Implement Auto-reconnect after disconnection [2]
PiperOrigin-RevId: 689040466
2024-10-23 11:30:32 -07:00
Nick Bourdakos ad2e6e3436 Update generated flags header
PiperOrigin-RevId: 688767938
2024-10-22 19:01:26 -07:00
Francis Tsui 43aa565f14 Fix GetOsDeviceName returns string with trailing \0.
PiperOrigin-RevId: 688673080
2024-10-22 13:37:14 -07:00
hai007 00d0a7d3f0 Automated Code Change
PiperOrigin-RevId: 688449841
2024-10-22 01:43:44 -07:00
Francis Tsui 5840369ce6 Remove unused deviceInfo methods.
PiperOrigin-RevId: 688334273
2024-10-21 17:46:16 -07:00
Suet-Fei Li b9bb7c9da9 Add logging for device_name & endpoint_id for OnShareTargetDiscovered & OnShareTargetLost.
PiperOrigin-RevId: 688302872
2024-10-21 15:59:58 -07:00
Guogang Li 042835cd9d Fixed the bug in payload transfer
PiperOrigin-RevId: 688288286
2024-10-21 15:12:32 -07:00
hai007 e29c933687 [Sharing Analytics] Log original quality and connectedMedium to high_quality_medium_setup
PiperOrigin-RevId: 688274923
2024-10-21 14:34:08 -07:00
hai007 8a3cadac4d [Quick Share QR Code] Log QR code session start and stop events
PiperOrigin-RevId: 688230725
2024-10-21 12:27:36 -07:00
Francis Tsui f5c0bba1e3 Update log macros.
PiperOrigin-RevId: 688194937
2024-10-21 10:52:23 -07:00
Francis Tsui ceaa38913a Fix MSAN error.
PiperOrigin-RevId: 687394289
2024-10-18 12:51:07 -07:00
Francis Tsui 76e32d56d6 Add RPC logging.
PiperOrigin-RevId: 687376548
2024-10-18 11:54:11 -07:00
Francis Tsui e05351aa7e internal changes
PiperOrigin-RevId: 687366249
2024-10-18 11:21:21 -07:00
Anay Wadhera b02ba01346 internal change
PiperOrigin-RevId: 687133353
2024-10-17 19:58:24 -07:00
Francis Tsui 2183467f14 Move outgoing connection management into OutgoingShareSession.
PiperOrigin-RevId: 686671335
2024-10-16 15:56:43 -07:00
Francis Tsui a094817c68 Make AnalyticsRecorder available from NearbySharingServiceAdapter.
PiperOrigin-RevId: 686654602
2024-10-16 15:03:12 -07:00
Anay Wadhera 7185c11452 Exclude fake webrtc sources from platform compile
PiperOrigin-RevId: 686642000
2024-10-16 14:26:04 -07:00
Francis Tsui 42bedd6c8a Internal changes
PiperOrigin-RevId: 686569259
2024-10-16 11:03:45 -07:00
Edwin Wu ccdcd15e83 Add WEB_RTC_NON_CELLULAR enum, V
PiperOrigin-RevId: 686470433
2024-10-16 05:24:59 -07:00
Edwin Wu e5f80e9fdc Add WEB_RTC_NON_CELLULAR enum, IV
PiperOrigin-RevId: 686408097
2024-10-16 01:16:43 -07:00
Edwin Wu 77a75f4389 Add WEB_RTC_NON_CELLULAR enum, III
PiperOrigin-RevId: 686391802
2024-10-16 00:07:37 -07:00
hai007 91a41a1de9 Automated Code Change
PiperOrigin-RevId: 686343764
2024-10-15 20:27:21 -07:00
Francis Tsui 54f2670211 Update max visibility expiration to 10m.
PiperOrigin-RevId: 686308358
2024-10-15 18:23:44 -07:00
Francis Tsui 722c8a3266 Fix mapping to visibility logging.
PiperOrigin-RevId: 686242524
2024-10-15 14:37:05 -07:00
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