hai007
9bf3ba52b6
Add context pointer to all callbacks so that callbacks can be correlated to the function calls.
...
PiperOrigin-RevId: 690759015
2024-10-28 14:52:17 -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
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
Guogang Li
042835cd9d
Fixed the bug in payload transfer
...
PiperOrigin-RevId: 688288286
2024-10-21 15:12:32 -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
Guogang Li
fec1c8f63f
Enable a few flags for NC test
...
PiperOrigin-RevId: 684943491
2024-10-11 13:46:54 -07:00
Edwin Wu
ceb14e10e3
Add WEB_RTC_NON_CELLULAR enum, I
...
PiperOrigin-RevId: 684695561
2024-10-10 21:47:17 -07:00
Guogang Li
1255f6a800
Internal fix
...
PiperOrigin-RevId: 684640919
2024-10-10 18:04:17 -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
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
Guogang Li
b3684f55c7
Improve logging in DiscoveredPeripheralTracker
...
PiperOrigin-RevId: 683831370
2024-10-08 18:13:59 -07:00
Crisrael Lucero
835e5d16c3
Minor comment cleanup
...
PiperOrigin-RevId: 683690113
2024-10-08 11:06:26 -07:00
Guogang Li
707e85d3fc
Internal refactor
...
PiperOrigin-RevId: 682563440
2024-10-04 22:11:41 -07:00
Francis Tsui
c613904a69
allow API to request to disable wifi hotspot
...
PiperOrigin-RevId: 682473971
2024-10-04 15:37:24 -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
Guogang Li
dc35037fee
Log API calls to Nearby Connections
...
PiperOrigin-RevId: 678791269
2024-09-25 11:56:27 -07:00
hai007
7717a721e3
Add NcSetCustomSavePath to NC C API so that the default file saving path can be configured.
...
PiperOrigin-RevId: 676880838
2024-09-20 10:01:29 -07:00
Guogang Li
6707efeed8
internal refactor
...
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
hai007
1d2e43e931
Automated Code Change
...
PiperOrigin-RevId: 675305801
2024-09-16 15:10:32 -07:00
Francis Tsui
2f4eb8649a
Improve frame validation logging.
...
PiperOrigin-RevId: 674365762
2024-09-13 11:15:58 -07:00
Guogang Li
a08e89f0f1
Decrease BLE header logging level
...
PiperOrigin-RevId: 670758902
2024-09-03 17:18:52 -07:00
Francis Tsui
05685dda5b
Update copybara rule to ban direct use of absl/log in entire repo.
...
PiperOrigin-RevId: 670757551
2024-09-03 17:13:40 -07:00
Guogang Li
d5b5d92f87
Internal logging update
...
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
hai007
7b259382e7
Automated Code Change
...
PiperOrigin-RevId: 668854483
2024-08-29 02:58:59 -07:00
Crisrael Lucero
670674a251
Explicitly concatenate location to support Chromium StrCat
...
PiperOrigin-RevId: 668117970
2024-08-27 13:33:46 -07:00
Francis Tsui
4bca950bc7
Rename NEARBY_LOG() to NEARBY_LOG_OBSOLETE()
...
PiperOrigin-RevId: 667785090
2024-08-26 18:20:49 -07:00
Francis Tsui
b03a383f7a
Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
...
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
Guogang Li
4e8111f303
Fixed test cases issue for BLE discovery
...
PiperOrigin-RevId: 667612285
2024-08-26 09:35:43 -07:00
Anay Wadhera
832d267e26
Switch to codegen for Nearby Connections flags.
...
PiperOrigin-RevId: 667396816
2024-08-25 17:31:33 -07:00
Guogang Li
ec0de73e8e
internal medium fix
...
PiperOrigin-RevId: 666509363
2024-08-22 15:22:04 -07:00
Guogang Li
2c700115ef
internal fix
...
PiperOrigin-RevId: 666482118
2024-08-22 14:08:02 -07:00
Guogang Li
050e009bc3
Added low power property for discovery
...
PiperOrigin-RevId: 665477515
2024-08-20 12:28:10 -07:00
Guogang Li
f1a1c39177
Fixed a potential crash in BLE scanning
...
PiperOrigin-RevId: 663900592
2024-08-16 15:59:28 -07:00
Guogang Li
4088e5904f
Control Wi-Fi hotspot as client by flag
...
PiperOrigin-RevId: 663862186
2024-08-16 14:17:40 -07:00
Guogang Li
1737a12918
Fixed bug to handle fast advertisement in BLE scan
...
PiperOrigin-RevId: 663420728
2024-08-15 13:08:09 -07:00
hai007
f0115df88b
Internal change
...
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
hai007
bac83ef6a1
add station frequency in SAFE_TO_CLOSE_PRIOR_CHANNEL event
...
PiperOrigin-RevId: 661157431
2024-08-09 00:41:44 -07:00
hai007
7e4be1131b
[Multiplex] Create ShutdownAll() method to shutdown all the virtual sockets and streams.
...
PiperOrigin-RevId: 660875041
2024-08-08 09:55:12 -07:00
hai007
7c7aa58885
Check if both sides support MultiplexSocket before enabling it.
...
PiperOrigin-RevId: 660874323
2024-08-08 09:49:56 -07:00
Guogang Li
dcc9b39413
use cc_test for fuzz test
...
PiperOrigin-RevId: 660870840
2024-08-08 09:39:46 -07:00
hai007
d730c6a437
[Multiplex] Fix the issue that the physical socket is not handled properly.
...
PiperOrigin-RevId: 660594414
2024-08-07 17:12:39 -07:00
Anay Wadhera
b0f58ee5a0
Deprecate kCheckIllegalCharacters flag.
...
PiperOrigin-RevId: 660433186
2024-08-07 10:05:50 -07:00