Commit Graph

  • 28ed3c75a4 [Nearby][Analytics] Add logging for device state. hai007 2021-12-02 08:08:31 -08:00
  • 69096cf307 Fix crash problem when start Advertising hai007 2021-11-30 23:12:26 -08:00
  • a192cd3e32 Patch recent cls from nearby_connections; hais 2021-11-22 11:37:48 -08:00
  • b829cd62c4 Update iOS framework zip path. hais 2021-11-16 19:02:05 -08:00
  • 0175a98098 Adds NearbyConectionsExample xcode project with README how to guide to build example project. edwinwu 2021-11-15 06:33:22 -08:00
  • 363c247eb0 Added SendPayloadDart() eidenkim 2021-11-14 13:30:14 -08:00
  • 083d692205 Update connections_log.proto hai007 2021-11-14 01:39:09 -08:00
  • c42ec93883 Adds ios_static_framework build rule for exporting NearbyConnections.framework in /releasese/new/ folder. edwinwu 2021-11-12 16:55:42 -08:00
  • ab15827a7c [Nearby README] Add a link in the README file to IOS Build instructions. suetfei 2021-11-11 18:21:22 -08:00
  • f9d01e27e8 Rename the various connectionoptions to align more closely with the java names, I also separated the windows dll files from location::nearby::connections and put them in location::nearby::connections::windows jfcarroll 2021-11-10 00:50:30 -08:00
  • 12dccd6841 Allow WifiLan upgrades in config nohle 2021-11-09 18:20:02 -08:00
  • 9221d12ae1 This fixes a crash when calling StopAdvertising jfcarroll 2021-11-09 11:44:49 -08:00
  • dd237591f9 Request IP and port only after creating WifiLan server socket nohle 2021-11-09 11:15:31 -08:00
  • 5dc0e06655 Split ConnectionOptions into 3 exported classes jfcarroll 2021-11-08 15:58:02 -08:00
  • 1b4ae4b28a [Nearby Connection] Add webrtc_stub.*, BUILD.bazel and rename webrtc_socket_wrapper.* => webrtc_socket.* & webrtc_socket.* => webrtc_socket_impl.*. suetfei 2021-11-08 01:43:16 -08:00
  • 3ad0700559 update ios platform BUILD file edwinwu 2021-11-07 16:21:40 -08:00
  • fb0337ebfa ios: nearbyConnections: Move source to //third_party. edwinwu 2021-11-06 09:44:49 -07:00
  • 8c2dd35eac [Connections] Remove the usage of @BandOrFrequency annotation hai007 2021-11-04 19:35:19 -07:00
  • 29ab3ac8ac Remove unnecessary param in mediums/WifiLan edwinwu 2021-11-03 19:43:21 -07:00
  • 267c589b6e Fix formatting for code block in docs hai007 2021-11-03 18:56:20 -07:00
  • ebfaba3e22 Refactored WiFi LAN implementation based on new WiFi LAN API guogang 2021-11-03 16:31:35 -07:00
  • 21a379d242 Implemented device connection eidenkim 2021-11-02 11:30:03 -07:00
  • fc2073965d Applied Struct and used as params communicating with Dart. eidenkim 2021-11-02 02:14:22 -07:00
  • 8c764b43ae Create definition point for kNsdTypeInfo. hai007 2021-10-31 20:48:04 -07:00
  • 8411555bd4 Fix an instance of -Wshadow. hai007 2021-10-29 12:46:18 -07:00
  • 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. jfcarroll 2021-10-29 11:45:30 -07:00
  • acf516189b nearbyconnections : Replace WifiLanV2 to WifiLan. edwinwu 2021-10-27 18:58:48 -07:00
  • 94ef1b532b [Nearby Connection] Move peer_id.* & webrtc_socket_wrapper.* up one directory. suetfei 2021-10-27 16:47:13 -07:00
  • f9bd4ca573 Fix for crashing on disconnect. jfcarroll 2021-10-27 08:10:40 -07:00
  • 57ee5f10a4 nearbyconnections : Implement WifiLanV2 BandwidthUpgrade functions. edwinwu 2021-10-26 23:51:49 -07:00
  • 7197b84e4d nearbyconnections : Implement WifiLanV2 Connection functions for /medium, /public(wrapper), /g3. edwinwu 2021-10-26 23:38:34 -07:00
  • 83480d6473 nearbyconnections : Implement WifiLanV2 Discovery functions for /medium, /public(wrapper), /g3. edwinwu 2021-10-26 18:26:52 -07:00
  • ef57b09fc3 Added an additional constructor that takes only the InputFile, and then generates an id automatically. jfcarroll 2021-10-26 12:48:08 -07:00
  • 4b5be77ed6 Removed unused comments. eidenkim 2021-10-26 08:30:56 -07:00
  • 32836a8357 nearbyconnections : Implement WifiLanV2 Advertising functions for /medium, /public(wrapper), /g3. edwinwu 2021-10-25 19:45:06 -07:00
  • d0da545834 nearbyconnections : Define interfaces of /medium, /public(wrapper), /g3 WifiLanV2. edwinwu 2021-10-25 18:34:42 -07:00
  • b733dde4e7 'Flattening' of payload.h jfcarroll 2021-10-21 08:27:21 -07:00
  • 4c13dea8eb Implemented StartAdvertising() API for Dart Wrappers. eidenkim 2021-10-18 16:10:36 -07:00
  • fae05d0e86 Merge pull request #348 from google/test_403438989 Will 2021-10-18 14:49:59 -07:00
  • 69b5f9178b Merge branch 'master' into test_403438989 Will 2021-10-18 14:10:21 -07:00
  • 296274bc48 nearbyconnections : Adds accessor of ServiceType for NsdServiceInfo. edwinwu 2021-10-18 10:55:09 -07:00
  • b6ea14f741 Added APIs for Dart Wrappers. eidenkim 2021-10-15 17:48:49 -07:00
  • d7f0f1b635 Separation of ConnectionOptions into a header and an implementation file. jfcarroll 2021-10-15 15:54:23 -07:00
  • cd29ab51ac Implemented StartAdvertising() API for Dart Wrappers. eidenkim 2021-10-15 12:26:38 -07:00
  • f20e7de4e7 [Nearby Cleanup] Remove dead code and unused includes. suetfei 2021-10-13 15:12:21 -07:00
  • 6ac98e6f4e The actual winrt file update. Although this built without source changes locally, it seems that g3 needs these additional includes. jfcarroll 2021-10-11 12:05:27 -07:00
  • 0a31e427f0 Renamed ConnectAsync to Connect for the bluetooth socket, since it's not an async method. Cleaned up the connection code for bluetooth socket. jfcarroll 2021-10-11 11:17:54 -07:00
  • 99b77bda8e Export more symbols, refactor how this is laid out for dll compliance jfcarroll 2021-10-11 07:05:03 -07:00
  • 51a19d24c1 Fix dereferencing of null channel nohle 2021-10-08 11:18:39 -07:00
  • 686351c4c3 Replace some C like syntax and add missing include files. suetfei 2021-10-07 10:06:58 -07:00
  • 8259c92b37 PhoneHub hopes to keep a long lived connection (over 10 mins) between Android and ChromeOS. However, phone would go to deep sleep mode and not send out KeepAlive even when receiving KeepAlive from CrOS. Here we force a KeepAliveAck back to avoid KeepAlive timeout. hai007 2021-10-07 01:58:51 -07:00
  • 941c9b3c5c The final fixes for the socket code allowing us to advertise and accept the connection. jfcarroll 2021-10-06 12:53:05 -07:00
  • beff51e626 Internal Change hai007 2021-10-06 12:34:26 -07:00
  • eea2a91139 These are the fixes thus far. Most involve whether we're using a pointer or not. jfcarroll 2021-10-06 07:42:17 -07:00
  • dceb1e216b Fix analytics recorder's version string type nohle 2021-10-05 19:01:17 -07:00
  • e0b1dd8dfc Exporting symbols for consumers of the dll - and deleted old code jfcarroll 2021-10-05 16:26:41 -07:00
  • 679838223c Added defs in build files for building windows dll jfcarroll 2021-10-05 13:22:29 -07:00
  • 6269b8b60a Changes to the Windows solution/projects for fixes for ConditionVariable, Mutex, ServerSocket, and started exporting symbols for the UI. jfcarroll 2021-10-05 07:47:42 -07:00
  • 55edd5efa6 Branch BandwidthUpgradeManagerV2 to support the re-priority mechanism, separate the priority logic into BandwidthUpgradeProtocol to support below priority hai007 2021-10-05 02:28:43 -07:00
  • 38f89e4e05 analytics: 3p NC: Update Connections_log.proto edwinwu 2021-10-04 18:20:53 -07:00
  • 4af1c80eee Fixed a few issues in WiFi LAN feature. guogang 2021-10-04 12:27:09 -07:00
  • 4c72e4667e Fixed the issue to initialize an EndpointInfo instance in payload manager. guogang 2021-10-03 20:58:37 -07:00
  • 0d803da06e Replace proto.h includes with pb.h nohle 2021-09-29 16:18:47 -07:00
  • bc8769c64e [Nearby Connections][C++] Wake up keep-alive thread to unblock destruction nohle 2021-09-29 08:39:02 -07:00
  • 1f0ec837b6 Add WiFi LAN medium on Windows guogang 2021-09-28 19:47:03 -07:00
  • deb5776362 nearbyconnections : Refactor WifiLan. edwinwu 2021-09-28 17:54:12 -07:00
  • e52b7e1edd Add more time buffer so that the alarm will be executed as expected in tests. It will fix the flaky EndpointIdRotateWhenHighVizAdvertisementAgainForAWhile test. hais 2021-09-27 12:08:13 -07:00
  • 7e99f545e3 [Sharing][Analytics] Create a new failure type to indicate unknown response from remote side. fdi 2021-09-24 15:03:29 -07:00
  • 6fc709d6c8 [Analytics] Add proto and enum for establish_connection event. fdi 2021-09-24 14:07:32 -07:00
  • 69307c4604 Add error codes for mediums being disabled on unsupported devices xlythe 2021-09-24 13:25:48 -07:00
  • 27577c6994 Delete the windows specific count_down_latch and use the shared implementation jfcarroll 2021-09-24 11:17:03 -07:00
  • d68a8f6216 Add following information into metrics: 1. country code: where the device is located. 2. network operator: the telephony operator MCC/MNC value. 3. tdls status: the TDLS status of the WiFi Lan 4. AP frequency: the wifi frequency of the connected WiFi AP. 5. Tethering status: the enable status of the wifi Hotspot. 6. try counts: the try counds of the medium operation. 7. Tx/Rx speed: the MAX TX/RX speed of the WiFi network. 8. Channel width: the supported WiFi frequency MHz value. e.g. 20MHz or 40MHz for the WiFi Direct Client or WiFi Hotspot STA. hai007 2021-09-23 23:02:02 -07:00
  • d16de1c3ab Fixed a bug in BluetoothAdapter::SetName, that was causing the loss of the default name. jfcarroll 2021-09-20 16:42:46 -07:00
  • 687d1ba4b5 Clean up platform.cc Remove unnecessary namespace symbols to improve consistency. jfcarroll 2021-09-20 16:40:05 -07:00
  • 584e1c0ac7 Cleanup unit tests, and remove the loop that checks to make sure all jobs are run. jfcarroll 2021-09-20 16:34:34 -07:00
  • c56f7a29ba Internal change. hai007 2021-09-19 01:53:20 -07:00
  • 233c5f5337 Refactor thread pool to support lazy initialization. jfcarroll 2021-09-16 13:18:26 -07:00
  • c6ebc3162f Fix for failing executor test. jfcarroll 2021-09-15 22:07:21 -07:00
  • 0de9bed4ca Initial commit for bluetooth classic medium notified of adapter scan mode change. jfcarroll 2021-09-15 16:54:32 -07:00
  • 1a3b294407 Finish off SystemClock jfcarroll 2021-09-13 09:06:40 -07:00
  • e4a3da97d1 analytics: 3p NC: Implement AnalyticsRecorder::OnErrorCode edwinwu 2021-09-10 17:41:56 -07:00
  • 2de4bfeda9 Initial implementation of ScheduledExecutor jfcarroll 2021-09-10 17:01:37 -07:00
  • 6926f5cd4b analytics: 3p NC: Implement ErrorCodeRecorder for AnalyticsRecorder. edwinwu 2021-09-10 02:03:23 -07:00
  • 7e4f65b882 BEGIN_PUBLIC [Sharing][Analytics] Add set_device_name_dialog and set_data_usage_dialog to launch activity event. END_PUBLIC hai007 2021-09-09 23:46:49 -07:00
  • 1d7eca3825 Initial implementation of SubmittableExecutor jfcarroll 2021-09-08 15:53:33 -07:00
  • 7cf55178be Update to winrt headers jfcarroll 2021-09-07 19:30:19 -07:00
  • 84821862b5 Initial implementation of Executor jfcarroll 2021-09-07 19:23:56 -07:00
  • 1eda3dfc9a analytics: 3p NC: Implement BandwidthUpgradeAttempt. edwinwu 2021-09-03 20:19:45 -07:00
  • 0ae077bc4f [Sharing][Analytics] Adding logging for missing permission request status (BT/wifi/location/airplane mode). hai007 2021-09-03 15:59:55 -07:00
  • f78c8ac5a0 [Sharing][Analytics] 1. Adding acceptance status logging for LAUNCH_CONSENT event. 2. add new consent type for device contact consent. hai007 2021-09-03 13:23:54 -07:00
  • 24539d170f analytics: 3p NC: Implement Payload. edwinwu 2021-09-03 09:06:35 -07:00
  • 8d8d435548 update nearby_connections: proto: analytics: BUILD file. edwinwu 2021-09-03 05:31:56 -07:00
  • 43682b0d2b [Sharing][Analytics] Adding DeclineAgreement logging when user drop off in opt-in page. hai007 2021-09-02 22:54:44 -07:00
  • a21b4b55d7 analytics: 3p NC: Implement EstablishedConnections. edwinwu 2021-09-02 18:00:25 -07:00
  • ada8d857cb Somehow this change was dropped. jfcarroll 2021-09-02 11:11:41 -07:00
  • 17676ac999 Initial implementation of CountDownLatch jfcarroll 2021-09-02 09:27:44 -07:00
  • e721faca4c Missed the copyright date on these jfcarroll 2021-09-02 09:22:31 -07:00
  • cef1f5a567 analytics: 3p NC: Implement internal class PendingPayload and LogicalConnection. This is pre-work for EstablishedConnections. edwinwu 2021-09-02 01:04:35 -07:00
  • 011a201ee2 Check in BLE cal interface. hais 2021-09-01 13:11:36 -07:00
  • e895f3c100 Initial implementation of ConditionVariable and Mutex jfcarroll 2021-09-01 12:53:36 -07:00