Commit Graph
393 Commits
Author SHA1 Message Date
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
edwinwu 38f89e4e05 analytics: 3p NC: Update Connections_log.proto
PiperOrigin-RevId: 400862464
2021-10-04 18:21:32 -07:00
guogang 4af1c80eee Fixed a few issues in WiFi LAN feature.
PiperOrigin-RevId: 400786291
2021-10-04 12:27:45 -07:00
guogang 4c72e4667e Fixed the issue to initialize an EndpointInfo instance in payload manager.
PiperOrigin-RevId: 400624671
2021-10-03 20:59:29 -07:00
nohle 0d803da06e Replace proto.h includes with pb.h
PiperOrigin-RevId: 399801411
2021-09-29 16:20:05 -07:00
nohle bc8769c64e [Nearby Connections][C++] Wake up keep-alive thread to unblock destruction
PiperOrigin-RevId: 399693890
2021-09-29 08:39:37 -07:00
guogang 1f0ec837b6 Add WiFi LAN medium on Windows
PiperOrigin-RevId: 399587411
2021-09-28 19:47:40 -07:00
edwinwu deb5776362 nearbyconnections : Refactor WifiLan.
PiperOrigin-RevId: 399570712
2021-09-28 17:54:51 -07:00
hais e52b7e1edd Add more time buffer so that the alarm will be executed as expected in tests. It will fix the flaky EndpointIdRotateWhenHighVizAdvertisementAgainForAWhile test.
PiperOrigin-RevId: 399248463
2021-09-27 12:08:47 -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
edwinwu e4a3da97d1 analytics: 3p NC: Implement AnalyticsRecorder::OnErrorCode
PiperOrigin-RevId: 396041619
2021-09-10 17:42:34 -07:00
jfcarroll 2de4bfeda9 Initial implementation of ScheduledExecutor
PiperOrigin-RevId: 396036314
2021-09-10 17:02:15 -07:00
edwinwu 6926f5cd4b analytics: 3p NC: Implement ErrorCodeRecorder for AnalyticsRecorder.
PiperOrigin-RevId: 395881244
2021-09-10 02:04:06 -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
edwinwu 1eda3dfc9a analytics: 3p NC: Implement BandwidthUpgradeAttempt.
PiperOrigin-RevId: 394802558
2021-09-03 20:20:28 -07:00
edwinwu 24539d170f analytics: 3p NC: Implement Payload.
PiperOrigin-RevId: 394695112
2021-09-03 09:07:14 -07:00
edwinwu a21b4b55d7 analytics: 3p NC: Implement EstablishedConnections.
PiperOrigin-RevId: 394582833
2021-09-02 18:01:11 -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
edwinwu cef1f5a567 analytics: 3p NC: Implement internal class PendingPayload and LogicalConnection. This is pre-work for EstablishedConnections.
PiperOrigin-RevId: 394404345
2021-09-02 01:05:14 -07:00
hais 011a201ee2 Check in BLE cal interface.
PiperOrigin-RevId: 394298358
2021-09-01 13:13:28 -07:00
jfcarroll e895f3c100 Initial implementation of ConditionVariable and Mutex
PiperOrigin-RevId: 394293910
2021-09-01 12:56:04 -07:00
edwinwu 2a629b2c1b nearby_connections: proto: analytics: sync protos and add unit test for proto ConnectionsLog.
PiperOrigin-RevId: 394164605
2021-08-31 23:45:52 -07:00
edwinwu 15a81bb0bf Fixes memory leak in AnalyticsRecorder.
PiperOrigin-RevId: 393905139
2021-08-30 19:42:32 -07:00
edwinwu f37dfd2e8a Fixes access ponter after free in connection_info.channel->GetMedium()
PiperOrigin-RevId: 393904932
2021-08-30 19:40:21 -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
hai007 8e2f2da45d Remove GetTid() since it is not used.
PiperOrigin-RevId: 393453493
2021-08-27 16:50:05 -07:00
edwinwu 0232b47e02 ios: nearbyConnections: Fixes the issue that can't Advertise and Discover for WifiLan.
- The local WifilanSocket and WifilanService is local variable which will be invalid if out of scope. Move them to the member and let the WifiLanMedium control the life scope.

PiperOrigin-RevId: 393133266
2021-08-26 08:47:32 -07:00
jfcarroll 81b72ab1bf Final implementation of all BluetoothAdapter methods
PiperOrigin-RevId: 393009194
2021-08-25 16:53:17 -07:00
edwinwu 62e7c01cd3 analytics: 3p NC: Implement ConnectionAttempt.
PiperOrigin-RevId: 392794192
2021-08-24 18:44:26 -07:00
hai007 3e40931286 No changes to public files
PiperOrigin-RevId: 392585608
2021-08-23 21:55:15 -07:00
edwinwu c73504e68d analytics: 3p NC: Defines interface EventLogger for Analytics logger.
- this is the init cl.

doc: go/nc-analytics-api
PiperOrigin-RevId: 391901111
2021-08-19 20:03: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
edwinwu 56b7daf88d Fixes bluetooth_medium is not supported then don't continue for BleDiscoveredHandler.
PiperOrigin-RevId: 391418495
2021-08-17 17:55:56 -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
jfcarroll 512ba2af43 Fix for the broken build, the signature of core constructor was changed, so I changed the core_adapter accordingly
PiperOrigin-RevId: 390458570
2021-08-12 14:20:29 -07:00
edwinwu bf41ac7e9f Fixes the bluetooth MAC address not contained in ble_advertisement if invalid. Add the reserved bytes.
PiperOrigin-RevId: 390290878
2021-08-11 22:14:32 -07:00