hai007
c40a669755
Internal Change
...
PiperOrigin-RevId: 463599374
2022-07-27 08:57:29 -07:00
hai007
d4b40ed9a7
Change device metadata from struct to proto.
...
PiperOrigin-RevId: 463583244
2022-07-27 07:44:54 -07:00
jsobczak
3ed4bfcfe1
Set non_prod compatibility
...
PiperOrigin-RevId: 462733200
2022-07-22 17:03:23 -07:00
hai007
d2c401112c
Modify Credential data structure.
...
PiperOrigin-RevId: 462252551
2022-07-20 16:12:34 -07:00
hai007
eaac8d045d
Expose nearby/internal/platform/logging to nearby/presence
...
PiperOrigin-RevId: 461864722
2022-07-19 06:14:12 -07:00
hais
6223caee42
Delete unused logging2.h.
...
PiperOrigin-RevId: 461779795
2022-07-18 20:05:39 -07:00
hais
9dec6143d1
Move credential.h to presence dir
...
PiperOrigin-RevId: 461779197
2022-07-18 20:03:20 -07:00
hai007
d41cd674c8
Add onSessionComplete method in ClientProxy to log session
...
PiperOrigin-RevId: 461772377
2022-07-18 19:17:19 -07:00
jsobczak
7153f5e482
Add advertisement factory
...
PiperOrigin-RevId: 461754387
2022-07-18 17:31:13 -07:00
hai007
6af55cf1bb
Expose internal/platform/implementation:types to nearby/presence
...
PiperOrigin-RevId: 461253782
2022-07-15 15:35:46 -07:00
hai007
bbf6de9d12
Remove a check from a Windows test.
...
PiperOrigin-RevId: 461245680
2022-07-15 14:55:08 -07:00
hai007
ddcef2c67a
Expose Encryption to nearby/presence
...
PiperOrigin-RevId: 461239780
2022-07-15 14:37:17 -07:00
xlythe
859a0ecb27
Add USB enum
...
PiperOrigin-RevId: 461149613
2022-07-15 01:49:46 -07:00
guogang
591ef0922e
Caught all exceptions in BLE scanning and advertising
...
PiperOrigin-RevId: 460760683
2022-07-13 11:16:03 -07:00
guogang
bff4051015
Fixed the deadlock in BluetoothServerSocket
...
PiperOrigin-RevId: 460724338
2022-07-13 08:41:13 -07:00
hai007
e4a0f280e2
BWU Hotspot Responder(client) need to disconnect Hotspot when the session is done
...
PiperOrigin-RevId: 460577462
2022-07-12 16:23:48 -07:00
jsobczak
61c9876ce9
Add Presence Identity types
...
PiperOrigin-RevId: 460569984
2022-07-12 15:46:58 -07:00
jsobczak
b92881a460
Define Data Elements and ActionFactory.
...
Data Elements describe the custom data entities that can be added
to an advertisement.
ActionFactory takes a list of Data Elements and creates an Action
for the base NP advertisement.
PiperOrigin-RevId: 460557059
2022-07-12 14:48:42 -07:00
hai007
73264d8feb
Change package default visibility.
...
PiperOrigin-RevId: 460384422
2022-07-11 23:26:57 -07:00
hais
b6f817274e
Initial header files showing class dependency and ownership.
...
No detailed function signatures nor impl included yet.
PiperOrigin-RevId: 460300058
2022-07-11 14:26:26 -07:00
jfcarroll
1a9e4a2aff
Added test for BluetoothClassicServerSocket.
...
PiperOrigin-RevId: 459776171
2022-07-08 09:46:29 -07:00
hai007
0a7f68f382
Cap the output stream package size to kMaxAllowedReadBytes, which is 1048576
...
PiperOrigin-RevId: 459622727
2022-07-07 16:00:19 -07:00
hai007
c27ac64bb9
Rename core_adapter to nearby_connections and version the dlls
...
PiperOrigin-RevId: 459543362
2022-07-07 10:21:06 -07:00
edwinwu
12dcd319e0
[BLE Refactor] Implement iOS BLE outgoing(request) connection.
...
PiperOrigin-RevId: 459381179
2022-07-06 17:13:14 -07:00
guogang
dcbcbb53cc
Avoided to set Bluetooth radio status when new state is same as old
...
PiperOrigin-RevId: 458545342
2022-07-01 14:37:27 -07:00
hai007
7e081c663a
Add dump function to nearby connections.
...
Sample output:
```
Time: 2022-06-23T17:24:14.3815934+00:00
Windows version: 10.0 build 19042
NearbyShare version: 1.2.3.4
Nearby Share Settings
Device name: Deling's PC
Visibility: 1
Enabled: 1
ShowNotification: 0
DataUsage: 0
Allowed contacts:
Nearby Sharing Service state
IsScanning: 0
IsConnecting: 0
IsTransferring: 0
IsSendingFile: 0
IsReceivingFile: 0
Nearby Connections State
Client ID: -5841239073452700193
Local Endpoint ID: IWV0
High Vis Mode: 0
Is Advertising: 0
Advertising Service ID:
Is Discovering: 0
Discovery Service ID:
Connections:
Discovered endpoint IDs:
```
PiperOrigin-RevId: 458066027
2022-06-29 14:33:41 -07:00
aaronyujiaze
ff9a986595
Reduce the frequency of redundant Bluetooth Classic operations
...
PiperOrigin-RevId: 458057650
2022-06-29 14:05:41 -07:00
bourdakos
9edad3a803
Update NearbyConnections library to be compatible with Swift
...
PiperOrigin-RevId: 458014424
2022-06-29 10:56:40 -07:00
aaronyujiaze
abc0ae34df
Ensure bluetooth adapter is enabled before BLE operations
...
PiperOrigin-RevId: 458011940
2022-06-29 10:47:25 -07:00
jfcarroll
bd9d01ec29
Fix for outgoing file names being truncated, and renaming input files should not occur, only output files.
...
PiperOrigin-RevId: 457857046
2022-06-28 17:41:29 -07:00
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