suetfei
9d4ad8a1d7
Internal refactor.
...
PiperOrigin-RevId: 423349737
2022-01-21 10:10:52 -08:00
jfcarroll
56eb46db06
Separate ConnectionOptions into AdvertisingOptions, ConnectionOptions and DiscoveryOptions everywhere in the core.
...
PiperOrigin-RevId: 422626306
2022-01-18 12:56:04 -08:00
hai007
53f7d6270e
Internal change.
...
PiperOrigin-RevId: 419828224
2022-01-05 07:46:52 -08:00
hai007
7cddbe3c09
Define _SILENCE_CLANG_COROUTINE_MESSAGE for the :windows cc_library.
...
The experimental/coroutine header is not officially supported by lexan. In the next Windows SDK release, this is signaled by an error during compilation, which is silenced by setting \D_SILENCE_CLANG_COROUTINE_MESSAGE from the command line.
This change sets _SILENCE_CLANG_COROUTINE_MESSAGE in advance of the SDK release. This prevents a break from occurring when the new SDK is released.
BEGIN_PUBLIC
END_PUBLIC
BROKEN: sponge/8b4d6f2f-c407-4860-a0f7-60102a8d003a
WORKING: sponge/fa0111e2-4780-4757-8cf0-da46672648b9
PiperOrigin-RevId: 419499670
2022-01-03 18:48:03 -08:00
jfcarroll
9ce7be9812
Refactor Input/Output file to use const char* instead of standard string, and to use parent_folder and file_name for input and output files. This also incorporates the move from nearby_connections to nearby.
...
PiperOrigin-RevId: 418002199
2021-12-23 07:04:38 -08:00
edwinwu
2fc61869f9
Add GetDynamicPortRange api for Wifilan medium
...
PiperOrigin-RevId: 416669312
2021-12-21 14:47:49 -08:00
jfcarroll
f12bb6c405
Refactor Input/Output file to use const char* instead of standard string, and to use parent_folder and file_name for input and output files. This also incorporates the move from nearby_connections to nearby.
...
PiperOrigin-RevId: 415587802
2021-12-10 12:49:50 -08:00
hai007
69096cf307
Fix crash problem when start Advertising
...
PiperOrigin-RevId: 413328652
2021-11-30 23:13:02 -08:00
hais
a192cd3e32
Patch recent cls from nearby_connections;
...
Sync github to replace nearby_connections with nearby.
PiperOrigin-RevId: 411609608
2021-11-22 11:38:39 -08:00
jfcarroll
9221d12ae1
This fixes a crash when calling StopAdvertising
...
PiperOrigin-RevId: 408665191
2021-11-09 11:45:31 -08:00
guogang
ebfaba3e22
Refactored WiFi LAN implementation based on new WiFi LAN API
...
PiperOrigin-RevId: 407453537
2021-11-03 16:32:17 -07:00
jfcarroll
44fad7d8fb
Fixed the file implementations, they weren't using a mode, and the base path was always set to /tmp/.
...
We now get the systems idea of where the users download folder is and use that as the base path when receiving a file.
PiperOrigin-RevId: 406406731
2021-10-29 11:46:22 -07:00
edwinwu
acf516189b
nearbyconnections : Replace WifiLanV2 to WifiLan.
...
PiperOrigin-RevId: 406033177
2021-10-27 18:59:43 -07:00
jfcarroll
f9bd4ca573
Fix for crashing on disconnect.
...
PiperOrigin-RevId: 405891913
2021-10-27 08:11:26 -07:00
edwinwu
d0da545834
nearbyconnections : Define interfaces of /medium, /public(wrapper), /g3 WifiLanV2.
...
PiperOrigin-RevId: 405537829
2021-10-25 18:35:42 -07:00
edwinwu
296274bc48
nearbyconnections : Adds accessor of ServiceType for NsdServiceInfo.
...
PiperOrigin-RevId: 404003948
2021-10-18 10:55:45 -07:00
jfcarroll
6ac98e6f4e
The actual winrt file update. Although this built without source changes locally, it seems that g3 needs these additional includes.
...
PiperOrigin-RevId: 402359124
2021-10-11 12:06:16 -07:00
jfcarroll
0a31e427f0
Renamed ConnectAsync to Connect for the bluetooth socket, since it's not an async method. Cleaned up the connection code for bluetooth socket.
...
PiperOrigin-RevId: 402346996
2021-10-11 11:18:33 -07:00
jfcarroll
99b77bda8e
Export more symbols, refactor how this is laid out for dll compliance
...
PiperOrigin-RevId: 402286243
2021-10-11 07:05:49 -07:00
jfcarroll
941c9b3c5c
The final fixes for the socket code allowing us to advertise and accept the connection.
...
PiperOrigin-RevId: 401317340
2021-10-06 12:53:43 -07:00
jfcarroll
eea2a91139
These are the fixes thus far. Most involve whether we're using a pointer or not.
...
PiperOrigin-RevId: 401241518
2021-10-06 07:42:58 -07:00
jfcarroll
e0b1dd8dfc
Exporting symbols for consumers of the dll - and deleted old code
...
PiperOrigin-RevId: 401098019
2021-10-05 16:27:15 -07:00
jfcarroll
679838223c
Added defs in build files for building windows dll
...
PiperOrigin-RevId: 401062093
2021-10-05 13:23:17 -07:00
jfcarroll
6269b8b60a
Changes to the Windows solution/projects for fixes for ConditionVariable, Mutex, ServerSocket, and started exporting symbols for the UI.
...
PiperOrigin-RevId: 400983103
2021-10-05 07:48:21 -07:00
guogang
4af1c80eee
Fixed a few issues in WiFi LAN feature.
...
PiperOrigin-RevId: 400786291
2021-10-04 12:27:45 -07:00
guogang
1f0ec837b6
Add WiFi LAN medium on Windows
...
PiperOrigin-RevId: 399587411
2021-09-28 19:47:40 -07:00
jfcarroll
27577c6994
Delete the windows specific count_down_latch and use the shared implementation
...
PiperOrigin-RevId: 398772515
2021-09-24 11:17:45 -07:00
jfcarroll
d16de1c3ab
Fixed a bug in BluetoothAdapter::SetName, that was causing the loss of the default name.
...
PiperOrigin-RevId: 397871581
2021-09-20 16:43:33 -07:00
jfcarroll
687d1ba4b5
Clean up platform.cc Remove unnecessary namespace symbols to improve consistency.
...
PiperOrigin-RevId: 397870990
2021-09-20 16:40:42 -07:00
jfcarroll
584e1c0ac7
Cleanup unit tests, and remove the loop that checks to make sure all jobs are run.
...
PiperOrigin-RevId: 397869801
2021-09-20 16:35:15 -07:00
jfcarroll
233c5f5337
Refactor thread pool to support lazy initialization.
...
PiperOrigin-RevId: 397152910
2021-09-16 13:19:03 -07:00
jfcarroll
c6ebc3162f
Fix for failing executor test.
...
PiperOrigin-RevId: 396998512
2021-09-15 22:08:08 -07:00
jfcarroll
0de9bed4ca
Initial commit for bluetooth classic medium notified of adapter scan mode change.
...
PiperOrigin-RevId: 396955416
2021-09-15 16:55:07 -07:00
jfcarroll
1a3b294407
Finish off SystemClock
...
PiperOrigin-RevId: 396369189
2021-09-13 09:07:16 -07:00
jfcarroll
2de4bfeda9
Initial implementation of ScheduledExecutor
...
PiperOrigin-RevId: 396036314
2021-09-10 17:02:15 -07:00
jfcarroll
1d7eca3825
Initial implementation of SubmittableExecutor
...
PiperOrigin-RevId: 395576173
2021-09-08 15:54:05 -07:00
jfcarroll
7cf55178be
Update to winrt headers
...
PiperOrigin-RevId: 395381851
2021-09-07 19:31:14 -07:00
jfcarroll
84821862b5
Initial implementation of Executor
...
PiperOrigin-RevId: 395381292
2021-09-07 19:24:41 -07:00
jfcarroll
ada8d857cb
Somehow this change was dropped.
...
PiperOrigin-RevId: 394501870
2021-09-02 11:12:19 -07:00
jfcarroll
17676ac999
Initial implementation of CountDownLatch
...
PiperOrigin-RevId: 394478506
2021-09-02 09:28:30 -07:00
jfcarroll
e721faca4c
Missed the copyright date on these
...
PiperOrigin-RevId: 394477350
2021-09-02 09:23:23 -07:00
jfcarroll
e895f3c100
Initial implementation of ConditionVariable and Mutex
...
PiperOrigin-RevId: 394293910
2021-09-01 12:56:04 -07:00
xlythe
ebec902cb8
[Windows] Fix build from GetTid removal
...
PiperOrigin-RevId: 393795930
2021-08-30 10:06:55 -07:00
jfcarroll
9f8d186e42
Updating the winrt headers
...
After this C/L you must update your Windows SDK to 10.0.20348.0 in order to build on Visual Studio
PiperOrigin-RevId: 393786833
2021-08-30 09:22:59 -07:00
jfcarroll
81b72ab1bf
Final implementation of all BluetoothAdapter methods
...
PiperOrigin-RevId: 393009194
2021-08-25 16:53:17 -07:00
hai007
3e40931286
No changes to public files
...
PiperOrigin-RevId: 392585608
2021-08-23 21:55:15 -07:00
hais
7a82740e2b
remove ending new line character in attomic_boolean_test.cc
...
PiperOrigin-RevId: 391602715
2021-08-18 13:53:24 -07:00
jfcarroll
913a639a5d
BluetoothClassicMedium::GetRemoteDevice and BluetoothClassicSocket::Close implmentations
...
PiperOrigin-RevId: 390691122
2021-08-13 14:16:01 -07:00
jfcarroll
628255ac59
Cleanup Items that I didn't want or otherwise didn't get in the last c/l
...
PiperOrigin-RevId: 390507261
2021-08-12 18:29:06 -07:00
jfcarroll
07d33cfa9e
Initial implementation of BluetoothServerSocket
...
PiperOrigin-RevId: 390461649
2021-08-12 14:33:26 -07:00