Commit Graph
2377 Commits
Author SHA1 Message Date
Anay Wadhera b9ca6d45f7 Fix formatting 2024-04-09 14:24:33 -04:00
Anay Wadhera b14096ce2c Update README.md to include more details about how to use Quick Share 2024-04-09 14:20:32 -04:00
Anay Wadhera 8f7065ef09 Add buttons to launch Quick Share settings/receiving UI 2024-04-09 17:36:06 +00:00
Anay Wadhera 274ba757a7 Upgrade to Gradle 8.2.2 2024-04-09 17:09:32 +00:00
Ryan Hansberry f788b89190 [NearbyPresence] Fix typo: remove extraneous semicolon.
PiperOrigin-RevId: 623198081
2024-04-09 09:54:23 -07:00
Francis Tsui 8d41593056 Internal changes.
PiperOrigin-RevId: 623002360
2024-04-08 17:56:34 -07:00
Ryan Hansberry f343f4f38b [NearbyPresence] Update FakePresenceService to allow compilation with tests.
PiperOrigin-RevId: 622964231
2024-04-08 15:13:19 -07:00
Francis Tsui d69bd78d13 Fix deadlock during log rotations.
PiperOrigin-RevId: 622916139
2024-04-08 12:10:26 -07:00
Hai Shang 8f51d92f22 internal fix
PiperOrigin-RevId: 622893779
2024-04-08 10:49:27 -07:00
Hai Shang d2c8fc3cd5 Internal fix
PiperOrigin-RevId: 622865759
2024-04-08 09:18:16 -07:00
hai007 b9184d39ec Automated Code Change
PiperOrigin-RevId: 622382640
2024-04-05 23:43:26 -07:00
hai007 5193a40b24 Automated Code Change
PiperOrigin-RevId: 622367955
2024-04-05 21:56:21 -07:00
hai007 7e023cbf6d Automated Code Change
PiperOrigin-RevId: 622118081
2024-04-05 02:41:54 -07:00
hai007 2a56254756 Automated Code Change
PiperOrigin-RevId: 621908243
2024-04-04 10:52:30 -07:00
hai007 d6a6b7e1c3 Automated Code Change
PiperOrigin-RevId: 621745483
2024-04-03 23:18:34 -07:00
Francis Tsui d33c8c6aef Fix preference file loading bug.
PiperOrigin-RevId: 621604205
2024-04-03 12:27:51 -07:00
hai007 2c6926be17 Move IO_ENDPOINT_IO_ERROR_ON_XXX related result code to CONNECTIVITY_CHANNEL_IO_ERROR_ON_XXX, due to they are related to channel writing error.
PiperOrigin-RevId: 621498234
2024-04-03 06:06:05 -07:00
Hai Shang ca936891c8 Add start/stop legacyDeviceAdvertising in connections ble v2
PiperOrigin-RevId: 621303221
2024-04-02 14:52:36 -07:00
hai007 734014a841 Add build flag to switch between C++ and rust implemented parser
- Both implementations implement `AdvertisementDecoder` interface and provide the
   concrete implementation for AdvertisementDecoderImpl
 - cleanup missing includes as complained about by clang-tidy

PiperOrigin-RevId: 621187625
2024-04-02 08:43:31 -07:00
hai007 ce7fc7ef69 Automated Code Change
PiperOrigin-RevId: 621128773
2024-04-02 04:21:56 -07:00
Nick Bourdakos ca500a8d98 PR #2393: Add missing license headers to Swift files
Imported from GitHub PR https://github.com/google/nearby/pull/2393

Copybara import of the project:

--
9f5918dd18b0cb825d2f671d18eb15a119a7e6d1 by Nick Bourdakos <bourdakos1@gmail.com>:

Add missing license headers to Swift files

Merging this change closes #2393

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/nearby/pull/2393 from bourdakos1:add-swift-license 9f5918dd18b0cb825d2f671d18eb15a119a7e6d1
PiperOrigin-RevId: 621062126
2024-04-01 23:03:32 -07:00
hai007 419fb08a8f Internal change
PiperOrigin-RevId: 621013420
2024-04-01 19:01:59 -07:00
Copybara-Service 32afb2e89c Merge pull request #2386 from bourdakos1:firebase-testing
PiperOrigin-RevId: 620725145
2024-03-31 19:26:56 -07:00
Nick Bourdakos aa0a1bdfb8 Update Package.swift 2024-03-31 21:36:38 -04:00
hai007 80570e55b0 Automated Code Change
PiperOrigin-RevId: 620702020
2024-03-31 16:16:32 -07:00
Francis Tsui 1e08b2d886 Fixed remaining filesystem calls that throws exceptions.
PiperOrigin-RevId: 620379472
2024-03-29 17:33:25 -07:00
hai007 c8168ba1de Implement Westworld logging of preconnect events
PiperOrigin-RevId: 620374739
2024-03-29 17:07:40 -07:00
Francis Tsui f1d3c2d740 Wrap std::filesystem calls.
PiperOrigin-RevId: 620315145
2024-03-29 12:42:04 -07:00
Francis Tsui ebe6d0dade Clean up PairedKeyVerificationRunner
PiperOrigin-RevId: 620111283
2024-03-28 18:04:48 -07:00
hai007 112da5e64a Refactor, remove scan_request dependency from AdvertisementDecoder
- Removes banned_data_types_, PUBLIC identity advertisements will never have
   any corresponding credentials anyways, so decryption will always be skipped
   and this is now guarenteed by asserts in UpdatePublicCredentials
 - Filtering adv based on identity is moved into advertisement Filter which
   already contains the requested identity info from scan_request
 - LegacyPresenceScanFilter is no longer used by AdvertisementDecoder since
   this is not being used anywhere at the moment
 - Cleanup miscellaneous clang-tidy lints about missing or unused includes

PiperOrigin-RevId: 620086399
2024-03-28 16:15:37 -07:00
Francis Tsui ffa8b67837 clean up paired key verification.
PiperOrigin-RevId: 620058646
2024-03-28 14:32:34 -07:00
Copybara-Service 6c6122a3d0 Merge pull request #2371 from bourdakos1:readme-update
PiperOrigin-RevId: 619948384
2024-03-28 08:58:14 -07:00
Nick Bourdakos 5e53ac62d5 Update formatting of connections mediums support tables 2024-03-27 23:02:20 -04:00
Hai Shang 6162fb5f80 add legacy_device_discovered_cb to DiscoveredPeripheralCallback
PiperOrigin-RevId: 619702145
2024-03-27 17:45:37 -07:00
Will Harmon 4123a74c0e Add table for GitHub about which mediums are supported
PiperOrigin-RevId: 619668129
2024-03-27 17:44:57 -07:00
hai007 b224eb7bf8 Internal change
PiperOrigin-RevId: 619658526
2024-03-27 17:31:38 -07:00
Guogang Li 387a51b260 internal update
PiperOrigin-RevId: 619595164
2024-03-27 11:25:55 -07:00
Francis Tsui 40e4966ab5 Fix paired key verifiation error.
PiperOrigin-RevId: 619418705
2024-03-26 22:38:08 -07:00
hai007 5bc1c83472 Pure Refactor: move filtering logic into AdvertisementFilter class
- this decouples filtering logic from advertisement decoding logic
   in preparation for introducing a Rust backed impl of
   AdvertisementDecoder
 - this change is only a refactor and does not change functionality
   in any way

PiperOrigin-RevId: 618978564
2024-03-25 15:33:20 -07:00
Francis Tsui 0b711e91e9 Remove enable_self_share flag
PiperOrigin-RevId: 618932233
2024-03-25 12:58:40 -07:00
Francis Tsui ba52423e89 Cleanup ShareTargetInfo.
PiperOrigin-RevId: 618928076
2024-03-25 12:43:50 -07:00
Edwin Wu 76da129ce5 Fix PayloadType enumeration value in c++ code, and minor update JNI java counterpart.
PiperOrigin-RevId: 618877462
2024-03-25 10:05:52 -07:00
Francis Tsui e5350b0e81 Change sharing service APIs to accept share target ID.
PiperOrigin-RevId: 617931356
2024-03-21 12:42:43 -07:00
Francis Tsui 9d4d229c1b Use cached ShareTarget for OnTransferUpdate callbak.
PiperOrigin-RevId: 617921208
2024-03-21 12:07:22 -07:00
hai007 30e0b25743 Fix the certificate pairing issue when the visibility is set to everyone
PiperOrigin-RevId: 617873950
2024-03-21 09:47:54 -07:00
hai007 ca0cb7dc91 Logs more detail result codes of p2p creating when hosting Wifi Direct
PiperOrigin-RevId: 617700352
2024-03-20 19:57:02 -07:00
Francis Tsui 6bd24c14a4 Clean up ShareTargetInfo.
PiperOrigin-RevId: 617397808
2024-03-19 22:23:40 -07:00
Suet-Fei Li ed61f4a143 Change std::get back to ansl::get because it is not supported in chromium.
PiperOrigin-RevId: 617252541
2024-03-19 12:10:05 -07:00
Francis Tsui a50ce3649f Minor cleanups.
PiperOrigin-RevId: 616940586
2024-03-18 14:05:16 -07:00
Francis Tsui 0c086a3c93 Minor fixes to reduce copying.
PiperOrigin-RevId: 616927443
2024-03-18 13:22:56 -07:00