hai007
407222b104
Fix a BWU revert logic error for BWU initiator
...
PiperOrigin-RevId: 457799119
2022-06-28 12:58:33 -07:00
guogang
698b04184a
Fixed a few issues found during test
...
PiperOrigin-RevId: 457604581
2022-06-27 17:30:37 -07:00
jfcarroll
87c76ea235
The file was overwritten when transferring a file that already existed in the downloads folder. With this change we now add " (x)", where x is an incrementing number, starting at 1, using the next non-existing number, to the file name, just before the first dot, or at the end if no dot. This has been applied to the GetDownloadPath method in the platform api.
...
PiperOrigin-RevId: 457530287
2022-06-27 11:44:15 -07:00
edwinwu
9ce81d8534
[BLE Refactor] Implement iOS BLE incoming connection.
...
PiperOrigin-RevId: 457110588
2022-06-24 15:58:47 -07:00
aaronyujiaze
75aa59d57e
Fix BluetoothAdapter bug to enable Bluetooth Classic Advertising
...
PiperOrigin-RevId: 456609115
2022-06-22 14:28:52 -07:00
hai007
7046d24dfe
Turn on auto_upgrade_bandwidth as default.
...
PiperOrigin-RevId: 456586628
2022-06-22 12:58:14 -07:00
jsobczak
cfa9e555c7
Add BroadcastRequest
...
Define BroadcastRequest class with some preliminary support for Base NP advertisement.
PiperOrigin-RevId: 456549911
2022-06-22 10:40:50 -07:00
jfcarroll
a0fd221155
Make PayloadProgressInfoW align with java code definition.
...
PiperOrigin-RevId: 456344013
2022-06-21 13:59:11 -07:00
aaronyujiaze
064a482e7d
Add unit tests for BluetoothAdapter
...
PiperOrigin-RevId: 455673471
2022-06-17 12:36:02 -07:00
edwinwu
ecbf356fbd
[BLE Refactor] Branches from googlemac/iPhone/Shared/Nearby/Sockets and Ble/GNCMBleConnection.* to re-construct ios connection socket.
...
PiperOrigin-RevId: 455558621
2022-06-17 01:13:21 -07:00
aaronyujiaze
6bd1a78eeb
Add size limit check for Bluetooth Classic SetName
...
PiperOrigin-RevId: 455442872
2022-06-16 12:34:35 -07:00
jfcarroll
320d4437ca
This should fix mismatched payload id's on the translation from incoming payload to payloadw.
...
PiperOrigin-RevId: 455384840
2022-06-16 08:09:20 -07:00
hai007
730b5498e9
1. Supports T+ Enterprise User Restrictions
...
2. Refactor for Guest and Enterprise users
3. Add WifiHotspotV2Test
4. Disconnect outgoing STA connection request from the same service when request to start hotspot. e.g. client A request a STA connection and start hotspot at the same time, cancel the STA connection request to start the hotspot.
PiperOrigin-RevId: 455302291
2022-06-15 22:59:54 -07:00
johnsonlu
ce80804639
Modify the comment of MediumMetaData.ap_frequency
...
PiperOrigin-RevId: 455297318
2022-06-15 22:19:39 -07:00
edwinwu
9a1ada9a56
[BLE Refactor] Implement iOS Scanning modules.
...
PiperOrigin-RevId: 455274324
2022-06-15 19:23:55 -07:00
aaronyujiaze
cf85146096
Add the comprehensive set of BluetoothError Enums
...
PiperOrigin-RevId: 455239120
2022-06-15 15:54:27 -07:00
hai007
c8e76d2e2f
Add modulefood device category into NS reports
...
PiperOrigin-RevId: 455203869
2022-06-15 13:19:18 -07:00
hai007
4270ba7936
[Sharing Analytics] Tag Nearby Share logging events with copy/paste use case tag.
...
PiperOrigin-RevId: 455026207
2022-06-14 21:00:09 -07:00
jfcarroll
abb6efd006
This fixes the translated PayloadW having a different payload id than the incoming Payload.
...
PiperOrigin-RevId: 455023901
2022-06-14 20:41:13 -07:00
edwinwu
160a224510
[BLE Refactor] Implement iOS Advertising modules.
...
PiperOrigin-RevId: 455005322
2022-06-14 18:34:01 -07:00
hai007
a9d7061794
Group Connection Info into structure
...
PiperOrigin-RevId: 454663252
2022-06-13 11:49:53 -07:00
hai007
2d4cc75dfa
Fix miscellaneous typos in the comments or logging.
...
PiperOrigin-RevId: 454649199
2022-06-13 10:55:57 -07:00
hai007
a852817f0e
Fix the function comments of StopAllEndpoints.
...
PiperOrigin-RevId: 454648920
2022-06-13 10:53:49 -07:00
edwinwu
67b318fa6f
[BLE Refactor] Refactor GATTClient implementation.
...
PiperOrigin-RevId: 454290863
2022-06-10 20:20:40 -07:00
edwinwu
c96875f310
Fixes A go/asan error (heap_use_after_free) found while running //third_party/nearby/connections/implementation:core_internal_test
...
PiperOrigin-RevId: 454288190
2022-06-10 20:00:03 -07:00
edwinwu
e184bba0bc
BEGIN_PUBLIC
...
Fixes A go/mobile_tsan error (data_race) found while running //third_party/nearby/internal/platform/implementation/ios/Tests:PlatformTests
END_PUBLIC
PiperOrigin-RevId: 454211152
2022-06-10 11:52:58 -07:00
jfcarroll
88ee3ba338
This needs to be declared in order to build on windows (and since it's declared that way in the header)
...
PiperOrigin-RevId: 454077812
2022-06-09 21:09:31 -07:00
aaronyujiaze
b195c46286
Fix payload id signed integer bug
...
PiperOrigin-RevId: 454001575
2022-06-09 13:37:43 -07:00
xlythe
62fc7e1e24
[Connections] Fix typo in log
...
PiperOrigin-RevId: 453992571
2022-06-09 13:00:55 -07:00
crisrael
89462d1d45
[NC] Fix nullptr crashes in BasePcpHandler
...
PiperOrigin-RevId: 453967262
2022-06-09 11:10:49 -07:00
hai007
1aeb1093a9
Delete temporary Hotspot profiles after the session is done.
...
Reduce max rescan from 3 to 2 times. Experiment shows if second time scan fail, it always fail to find the Hotspot.
PiperOrigin-RevId: 453729656
2022-06-08 11:39:32 -07:00
edwinwu
9069451c08
[BLE Refactor] Add Base64 encoder to BleAdvertisementHeader
...
PiperOrigin-RevId: 453567012
2022-06-07 17:59:33 -07:00
aaronyujiaze
199bbc9cd1
Add null checkers to Bluetooth Classic medium ConnectToService
...
PiperOrigin-RevId: 453542256
2022-06-07 15:44:41 -07:00
aaronyujiaze
ccca7bef6f
Mute logging of BLE advertisement discovery for release builds
...
PiperOrigin-RevId: 453493406
2022-06-07 12:06:31 -07:00
hai007
7d3b6d7d82
Disable BWU from WLAN to Hotspot for Discoverer side
...
Windows doesn't support BWU from WIFI_LAN to WIFI_HOTSPOT. Because when the discoverer side try to switch from current AP to the Hotspot, it loss physical connection. When here's no physical connection, BWU protocol frame exchange won't be finished successfully, then BWU will fail eventually.
In the current code implementation, if Windows Nearby act as Advertiser, it will not do BWU from WLAN to Hotspot. This CL adds similar logic when Windows Nearby act as discoverer.
PiperOrigin-RevId: 453248717
2022-06-06 11:50:06 -07:00
aaronyujiaze
5566832a00
Enhance stability of bluetooth classic medium
...
PiperOrigin-RevId: 453239216
2022-06-06 11:09:57 -07:00
aaronyujiaze
71974b2c0b
Fix BlePeripheral pointer protection bug
...
PiperOrigin-RevId: 452884820
2022-06-03 19:08:15 -07:00
hai007
47775bba3d
Add visibility for ClearcutEventLogger nearby 3rd party package dependencies
...
PiperOrigin-RevId: 452881217
2022-06-03 18:31:51 -07:00
aaronyujiaze
bc6c726970
Fix bugs in Windows' BluetoothAdapter
...
PiperOrigin-RevId: 452808916
2022-06-03 11:38:33 -07:00
aaronyujiaze
4045af569f
Add Extended Advertising support for BlePeripheral discovery
...
PiperOrigin-RevId: 452801874
2022-06-03 11:06:43 -07:00
aaronyujiaze
45386948be
Add dual-mode Bluetooth Classic Device to support RequestConnection over BLE Fast Advertisement
...
PiperOrigin-RevId: 452782174
2022-06-03 09:33:59 -07:00
suetfei
182a1d4568
Merge pull request #682 from rzhw/update_depot_tools
...
Update depot_tools
2022-06-02 14:07:28 -07:00
aaronyujiaze
c94981c880
Convert logging of advertisement bytes to hex string format
...
PiperOrigin-RevId: 452610643
2022-06-02 13:35:52 -07:00
aaronyujiaze
926dcc28d4
Add BlePeripheral discovery logic implementation
...
PiperOrigin-RevId: 452609641
2022-06-02 13:31:25 -07:00
jfcarroll
28da839987
Latest update for winrt
...
PiperOrigin-RevId: 452591835
2022-06-02 12:05:19 -07:00
aaronyujiaze
11558b453c
Fix remote static bluetooth mac address serialization bug
...
PiperOrigin-RevId: 452536487
2022-06-02 07:48:03 -07:00
jfcarroll
6d8d04a9f7
Fix for memory leaks, buffer overruns etc on the bluetooth adapter.
...
PiperOrigin-RevId: 452464213
2022-06-01 23:09:25 -07:00
jfcarroll
5e2b1e9c4c
Fix for expanding the CriticalSection coverage to eliminate out of order callbacks from bluetooth
...
PiperOrigin-RevId: 452463213
2022-06-01 23:01:19 -07:00
jfcarroll
8f067bba98
Set scan mode was starting advertising whether we should or not.
...
SetScanMode now only starts advertising if the radio is discoverable.
PiperOrigin-RevId: 452461975
2022-06-01 22:48:57 -07:00
jsobczak
09c04d4cc8
Build visibility changes
...
PiperOrigin-RevId: 452460772
2022-06-01 22:37:42 -07:00