Commit Graph

  • dfdc3dd818 Include <crtdbg.h> in scheduled_executor.cc. hai007 2022-10-27 12:19:32 -07:00
  • 2eec1cba0e [Sharing Analytics] create and log the use case for sharing file from quick setting. hai007 2022-10-27 07:21:51 -07:00
  • 13704a7a2a Add AppCrash to SharingLog hai007 2022-10-26 23:30:49 -07:00
  • 04b888ace4 Add default callbacks in broadcast & scan operations Hai Shang 2022-10-26 11:44:01 -07:00
  • 2206f21c3f Enable TAP test for nearby.fastpair.windows Enable some packages to visible to nearby fast pair hai007 2022-10-25 17:29:20 -07:00
  • 53c504be9d Use LDT for advertisement encryption. Janusz Sobczak 2022-10-25 16:07:20 -07:00
  • 41ba8c8a14 Convert #include <xstring> to #include <string> in nearby files. hai007 2022-10-25 09:28:32 -07:00
  • 32e6fc3c42 Previously, we log incoming remote endpoint upgrade failure and local upgrade setup failure incorrectly as CHANNEL_ERROR. In this CL, they are logged as REMOTE_CONNECTION_ERROR and xxx_MEDIUM_ERROR instead. Note that the user can always filter out these errors if necessary. Update isAbnormalUpgradeFailure() check as part of upgrade failure reason code change. hai007 2022-10-24 19:05:30 -07:00
  • 054f6efe53 Chain scan & broadcast invokes from PresenceClient to ServiceController Hai Shang 2022-10-24 15:11:00 -07:00
  • 5d207f9e15 Add the frequency of the connected AP into the ConnectionAttemptMetadata, the purpose is to judge if there is MCC symptom. Storage increase will be 4 bytes increasing in ConnetionAttemptMetadata. hai007 2022-10-22 21:50:48 -07:00
  • 43d0ab83fb Fix copy/paste logging issue. Fan Di 2022-10-21 17:01:45 -07:00
  • e34cac3a96 Update connections_log.proto 1. 2499483 is the "Daily Initial Connection Attempts by Medium" from product data of 2022/10/10 2. http://shortn/_XocswsePbY hai007 2022-10-20 22:26:02 -07:00
  • 5ad57c5841 Update connections_log.proto 1. 2499483 is the "Daily Initial Connection Attempts by Medium" from product data of 2022/10/10 2. http://shortn/_XocswsePbY hai007 2022-10-20 21:12:42 -07:00
  • d8f64233f5 Fixed the issue to handle file name in UTF8 Guogang Li 2022-10-20 10:45:48 -07:00
  • 5cc1e369d2 Returns the correct object type for CreateInputFile and CreateOutputFile. John Carroll 2022-10-18 15:45:57 -07:00
  • cab9e31d0d Add Metrics for wifi-direct/direct-hotspot group crate failed hai007 2022-10-18 12:41:40 -07:00
  • 1b140a4bd9 Fix internal target visibility. hai007 2022-10-17 19:34:01 -07:00
  • e39256100f Update connections_log.proto 1. 6526209 is the "Daily Transfers by Medium" from product data of 2022/10/10 2. http://shortn/_7cCKZxrmVH hai007 2022-10-17 18:24:21 -07:00
  • 4157b1f70b Add unit test for PayloadListner Hai Shang 2022-10-17 16:52:08 -07:00
  • a620d8eeb6 Remove unused variable hai007 2022-10-17 14:44:45 -07:00
  • 0373f408b9 Update connections_log.proto 1. 6526209 is the "Daily Transfers by Medium" from product data of 2022/10/10 2. http://shortn/_7cCKZxrmVH hai007 2022-10-17 14:28:57 -07:00
  • cf26a98379 Add gateway field in WifiDirectCredentials Johnson Lu 2022-10-13 23:13:41 -07:00
  • 8128bbc062 Include LDT header Janusz Sobczak 2022-10-12 17:14:30 -07:00
  • 4bd0337c10 Update to match revised BLE 4.2 specification Janusz Sobczak 2022-10-07 10:31:29 -07:00
  • ab80dbc2a3 [Nearby Connections] Extend timeout waiting for StopAllEndpoints to finish. Pu Shi 2022-10-07 10:03:03 -07:00
  • a3f5d108f5 Added a feature flag to control whether we are allowed to set the bluetooth adapter state or not on windows. John Carroll 2022-10-07 08:47:14 -07:00
  • d4392b4506 [Sharing][Copy&Paste] Combine uploadContacts and uploadCertificates to reduce server traffic. hai007 2022-10-06 18:50:52 -07:00
  • ff5f4d8ccc Use strongified advertiser inside block hai007 2022-10-06 15:41:55 -07:00
  • 57a8d8420c update presence client Hai Shang 2022-10-06 15:15:11 -07:00
  • c82b0ba23e Add logging when a gRPC failed as the server UNAVAILABLE. hai007 2022-10-05 06:28:50 -07:00
  • 8ef1a5f3a9 Fix Throughput Profiling Nightly Sanitizer Analysis test case error hai007 2022-10-04 14:07:19 -07:00
  • c4ad6de6f8 add scan function in presence BLE Hai Shang 2022-10-03 19:33:55 -07:00
  • 2fff61b312 Separated BLE permission API into mediums manager Guogang Li 2022-10-03 16:55:20 -07:00
  • 1443f3a135 Implement get public & private credentials. Anthony Rueda 2022-10-03 09:16:30 -07:00
  • 7350643c36 Update Prng usage so that it can generate random values on different threads. Eiden Kim 2022-09-30 10:30:16 -07:00
  • bf2d461cf6 Add unit tests for prng to verify it's not generating duplicating values Hai Shang 2022-09-30 10:07:51 -07:00
  • 646c3e5020 Move the increment rename tag (x) from before the first dot to before the last dot. John Carroll 2022-09-29 16:25:13 -07:00
  • 8f681dece0 Throughput profiling hai007 2022-09-29 10:00:06 -07:00
  • a584dad4a9 Fixed the WiFi issue to handle service discovery Guogang Li 2022-09-28 19:40:41 -07:00
  • ad93e1f47b Retry the Hotspot IP address query procedure hai007 2022-09-28 17:24:27 -07:00
  • f65e32ad32 Catch exceptions when retrieve Hotspot IP address hai007 2022-09-27 23:09:09 -07:00
  • f1a6cdc988 Fix link error by exporting DLL_API. hai007 2022-09-26 23:34:16 -07:00
  • d55d41e263 Fixed a crash in Bluetooth classic medium Guogang Li 2022-09-26 17:10:10 -07:00
  • 086ad175a8 Fixed the issue to transfer file name in utf8 Guogang Li 2022-09-26 12:15:31 -07:00
  • 1cf7978096 Internal change. hai007 2022-09-26 08:24:06 -07:00
  • 028d2ae96a Fix to generate endpoint_id randomly. Eiden Kim 2022-09-23 11:36:14 -07:00
  • 3f2cfb1531 Implement BluetoothConnectionInfo Anay Wadhera 2022-09-23 11:15:44 -07:00
  • 4b8575962a Explicitly create std::string from absl::string_view Anay Wadhera 2022-09-23 11:12:10 -07:00
  • 43da74bb7c Export InputStream class. John Carroll 2022-09-22 15:44:11 -07:00
  • fd59e9aede Consolidate credential_storage callback functions. Move all callback struct definitions in a central header file compiled as part of internal/platform/implementation:comm library. Anthony Rueda 2022-09-22 13:44:49 -07:00
  • 0e6e22b4db Fix typo in CONTRIBUTING.md. hai007 2022-09-22 10:11:29 -07:00
  • f1f8680034 Fix debug build Janusz Sobczak 2022-09-21 16:42:08 -07:00
  • 2ca7d43f1a Fixed the BLE start/stop issues Guogang Li 2022-09-21 13:51:52 -07:00
  • 756501bf3f Update build file for tests. hai007 2022-09-19 23:26:19 -07:00
  • 9f9b3d26d1 Fixed the log issue for advertisement data Guogang Li 2022-09-16 14:07:48 -07:00
  • 69cb2310d0 Add DirectExecutor Janusz Sobczak 2022-09-15 15:30:15 -07:00
  • 69b86f1ad8 Removing unnecessary location::nearby::CredentialStorage class. Anthony Rueda 2022-09-15 13:31:36 -07:00
  • bbe77d8397 internal change Hai Shang 2022-09-14 14:26:57 -07:00
  • 0b57cd5c5f Fixed unit tests. Unit tests were failing locally, mostly just type mismatches, but there was an error in the GetDownloadPath for the test utilities. John Carroll 2022-09-14 12:15:41 -07:00
  • 6b5251f8d2 Don't add WIFI_LAN device if it's device info is incomplete or has error hai007 2022-09-13 17:14:59 -07:00
  • 41de6e4450 Remove nested callback function logic from CredentialStorage g3 implementation. Change instances of passing callback by value to moving callback. Anthony Rueda 2022-09-13 16:50:35 -07:00
  • fa062b70c9 The order of includes was messed up in bluetooth_adapter.cc John Carroll 2022-09-12 15:06:13 -07:00
  • 5871209f44 Convert from public to internal broadcast request Janusz Sobczak 2022-09-09 14:07:27 -07:00
  • 560253baa9 Clean up build file Janusz Sobczak 2022-09-08 14:24:42 -07:00
  • aaea08204d Introduce Device Provider interface Anay Wadhera 2022-09-08 05:40:30 -07:00
  • 397964b5da Fixed the crash after sending a file from windows device Guogang Li 2022-09-07 12:13:40 -07:00
  • 4f599a0d3e Save generated credentials and make the callback Xin He 2022-09-07 11:48:38 -07:00
  • 55c4714b99 Cleanup the code. Change inputs on ImplementationPlatform::GetDownloadPath from std::string& to absl::string_view. John Carroll 2022-09-07 11:20:05 -07:00
  • 92bf3356ee Reshuffle device.h to internal as both Connections and Presence will be utilizing it. Anay Wadhera 2022-09-07 09:33:09 -07:00
  • d10a04df5f Updated the third_party/nearby/proto/connections_enums.proto file and created a cl to address the Presubmit:CheckPresubmitService:Copybara error hai007 2022-09-07 00:10:08 -07:00
  • da54ba3422 Add async operations to ble_v2 Hai Shang 2022-09-06 19:06:39 -07:00
  • 851f5ec0dd Fixed the crash when connecting a remote target from Win to Phone Guogang Li 2022-09-06 10:48:19 -07:00
  • 525283a166 Add LOG_SEVERITY_VERBOSE definition to enable VERBOSE log mode. hai007 2022-08-30 10:07:54 -07:00
  • d7889420c4 Add tests for Future::AddListener Janusz Sobczak 2022-08-29 14:23:38 -07:00
  • a7c967a034 Add null check before passing a char* to std::string::string() hai007 2022-08-29 14:17:24 -07:00
  • 408900e702 Define StartBroadcast API. Janusz Sobczak 2022-08-25 13:14:43 -07:00
  • 40a9f13938 Internal change Hai Shang 2022-08-25 11:41:45 -07:00
  • 1c15361a98 Adding g3 implementation of CredentialStorage virtual methods along with unit test coverage. Anthony Rueda 2022-08-25 09:51:01 -07:00
  • 6b692c120d Nearby Connections: Introduce Device wrapper class Anay Wadhera 2022-08-24 12:32:40 -07:00
  • f3c1a76723 this change adds RejectConnectionDart and supports cl/467032081. John Carroll 2022-08-24 10:05:35 -07:00
  • 01a4daffd2 Check the WiFiDirect support with Win32 API Close the WiFi Handle after open it hai007 2022-08-23 18:00:54 -07:00
  • 3e78cef57f Flattening of Input/OutputFile. John Carroll 2022-08-23 17:17:50 -07:00
  • 337c1547c8 Dart Corresponding Status Enum index start from 0, but Windows start from 1. So adjust it. hai007 2022-08-23 17:11:36 -07:00
  • bbd6986f06 Merge pull request #871 from bourdakos1/add-proto Nick Bourdakos 2022-08-23 18:53:58 -04:00
  • 730e6d2858 Add protos Nick Bourdakos 2022-08-23 18:08:50 -04:00
  • 9dc4b83ca0 Nearby internal: fix for Android compile Anay Wadhera 2022-08-22 18:34:37 -07:00
  • 5b7bb37d41 Nearby Presence/Implementation: Fix for Android compile Anay Wadhera 2022-08-19 10:41:48 -07:00
  • d92f1d4757 Internal change. Adam Cozzette 2022-08-17 14:25:23 -07:00
  • 4d2ff863f9 Add platform agnostic implementation of Credential_Storage class. Anthony Rueda 2022-08-17 11:29:40 -07:00
  • b57d03425f Upgrade protobuf from version 2 to 3 Xin He 2022-08-16 18:37:33 -07:00
  • f166f1e22c Remove presence_identity struct. Xin He 2022-08-16 14:54:46 -07:00
  • 0849bc7598 Use absl::variant for PresenceScanFilter and legacy. Hai Shang 2022-08-16 11:43:06 -07:00
  • e5c24b8b8a Add manager app ID into the APIs Xin He 2022-08-15 14:09:26 -07:00
  • 123a2cfd18 Move credentials related proto from Prensence to internal Replace PresenceIdentityType with proto Xin He 2022-08-12 14:16:46 -07:00
  • 2327ab219c Fix Internal Flow. Suet-Fei Li 2022-08-11 19:09:01 -07:00
  • 5cef41ec65 Ignore all proto directories in Swift build to avoid compilation errors. Nick Bourdakos 2022-08-11 19:03:52 -07:00
  • e1f8cf40ba Switch to absl::variant for Chrome compatibility Anay Wadhera 2022-08-11 13:20:22 -07:00
  • 754b1ad349 Check in sensor fusion interface Hai Shang 2022-08-11 13:05:34 -07:00
  • fa92234b7c Restore the previous WIFI connection for client after disconnect from Hotspot. hai007 2022-08-11 11:40:57 -07:00
  • 8446944697 Hide internal code in implementation/ Janusz Sobczak 2022-08-11 10:36:17 -07:00