Commit Graph
1328 Commits
Author SHA1 Message Date
hai007 0173ad3e1b Automated visibility attribute cleanup.
PiperOrigin-RevId: 498561519
2022-12-30 04:14:34 -08:00
hai007 1f2095a9be Add PreferencesUsage to SharingLog
PiperOrigin-RevId: 498434059
2022-12-29 12:48:37 -08:00
hai007 76a002f6e3 Migrate fastpair Unauth fetcher from location/nearby/cpp/fastpair/server_access to third_party/nearby/fastpair/repository
PiperOrigin-RevId: 498413189
2022-12-29 10:40:03 -08:00
hai007 f772614a46 Automated visibility attribute cleanup.
PiperOrigin-RevId: 498310370
2022-12-28 21:46:22 -08:00
hai007 499b2691f4 WIFI Direct implementation (3)
Part 3: BWU and client interface part

PiperOrigin-RevId: 498218241
2022-12-28 11:22:48 -08:00
hai007 88e350e5d2 Integrate network related part which both nearby sharing and fastpair are adopted.
Details can be seen in the `Integrate reusable internal components into third_party` part of `server access design doc` (go/fast_pair_server_data_access)

PiperOrigin-RevId: 498208011
2022-12-28 10:28:32 -08:00
hai007 6ef8a4c00a 1. Log advertising power level (contains Low, High, Balance power levels).
2. Log discovering power level (only contained Low and unspecified power levels)

PiperOrigin-RevId: 497814014
2022-12-26 09:11:27 -08:00
hai007 e01b1ac779 [Analytics] logging for displaying phone consent banner.
PiperOrigin-RevId: 497632556
2022-12-25 03:47:01 -08:00
hai007 cacc7f83d1 Initial Check-in for FastPair Adapter. Details can be seen in go/fast_pair_ux_platform_c++_app_flow. ServerAccess is included for implementing the interface flow via hardcoded model ID because of the non-implemented callback in scanning.
PiperOrigin-RevId: 497281054
2022-12-22 19:10:15 -08:00
hai007 86f87ef88b [Analytics] logging for displaying Privacy notification.
PiperOrigin-RevId: 497273433
2022-12-22 18:07:38 -08:00
Janusz Sobczak e64f9859e1 Replace BleOperationStatus with absl::Status
PiperOrigin-RevId: 497191477
2022-12-22 10:20:15 -08:00
Janusz Sobczak 0d14b885ea Use absl::Status instead of custom status
PiperOrigin-RevId: 497054898
2022-12-21 19:11:55 -08:00
Nick Bourdakos 07998a05ed Change "ios" package name to "apple" since its usage isn't limited to iOS
PiperOrigin-RevId: 497046967
2022-12-21 18:09:42 -08:00
jgsobczak 504ab8aa82 Merge pull request #1160 from google/embedded
Merge embedded branch
2022-12-21 18:04:35 -08:00
jgsobczak d207756bd0 Update release_notes.md 2022-12-21 18:00:54 -08:00
hai007 f56e50f885 Automated visibility attribute cleanup.
PiperOrigin-RevId: 496854373
2022-12-21 00:54:13 -08:00
hai007 c3c9a7ffc9 Extend endpoint disconnection timeout.
This extends the endpoint disconnection timeout to be slightly longer than the WebRTC connection attempt timeout. This allows an in-progress bandwidth upgrade to resolve before we clean up the endpoint.

Failing to properly clean up the bandwidth upgrade can lead to a delay when shutting down Nearby Connections and can crash the process instead of allowing a clean shutdown.

PiperOrigin-RevId: 496750001
2022-12-20 14:18:59 -08:00
Janusz Sobczak 6d68c6c976 Add third_party/mbedtls 2022-12-20 11:42:49 -08:00
Janusz Sobczak f643f7a466 Update embedded SDK
New features:
* Smart Audio Source Switching.
* Fast Pair for BLE-only devices.
* Two byte salt size for improved security.

Other changes:
* Added optional encryption modules based on mbedtls.
* Fixed build issues.
* More verbose and readable logs.
2022-12-20 10:50:13 -08:00
jgsobczak 3dbf10eb66 Merge pull request #1153 from google/master
Merge main
2022-12-20 10:31:11 -08:00
Nick Bourdakos 6dbb9b10fd Only depend on UIKit for iOS builds
PiperOrigin-RevId: 496140561
2022-12-17 17:30:57 -08:00
hai007 7855176718 Fix a typo in base-no-coroutines.patch and re-apply the patch.
PiperOrigin-RevId: 495888291
2022-12-16 09:10:21 -08:00
Nick Bourdakos 4a8ff331a7 Switch platform WebRTC copts to defines so dependencies of it don't need to also specify the flag.
PiperOrigin-RevId: 495798557
2022-12-16 00:07:16 -08:00
Janusz Sobczak 3247eed795 Filter credentials based on identity type.
Filter the credentials in G3 implementation of CredentialStorage based on IdentityType.
Previously, IdentityType was ignored in GetPrivateCredentials() and GetPublicCredentials().

PiperOrigin-RevId: 495729148
2022-12-15 16:42:31 -08:00
Qin Wang fe26466278 Migrate fast pair from location/nearby/cpp/fastpair to third_party/nearby/fastpair
PiperOrigin-RevId: 495726740
2022-12-15 16:31:22 -08:00
Nick Bourdakos 682813388f Disable WebRTC for ARM based CPUs
PiperOrigin-RevId: 495707681
2022-12-15 15:15:00 -08:00
hai007 38d6317274 Automated visibility attribute cleanup.
PiperOrigin-RevId: 495557586
2022-12-15 04:22:05 -08:00
Nick Bourdakos a8395092ff Merge pull request #1144 from anayw2001/master
Update offline_wire_formats proto compile
2022-12-14 21:06:28 -05:00
Anay Wadhera a0974bb556 Update offline_wire_formats proto compile 2022-12-14 18:42:37 -05:00
Guogang Li ad9c26ec90 Adjust the timeout value for Wi-Fi hotspot
PiperOrigin-RevId: 495389634
2022-12-14 12:44:27 -08:00
Janusz Sobczak b3f8534226 Use Rand instead of absl::Random
Use Nearby's common Rand() util instead of absl::Random

PiperOrigin-RevId: 495386054
2022-12-14 12:30:56 -08:00
Guogang Li 73c1fba668 Added connection timeout for Wi-Fi Lan and hotspot
PiperOrigin-RevId: 495155204
2022-12-13 16:25:16 -08:00
hai007 255c2672ea Internal cleanup.
PiperOrigin-RevId: 495138142
2022-12-13 15:11:48 -08:00
hai007 c5cb0e1d39 Insert placeholder declarations into winrt/base.h.
PiperOrigin-RevId: 495104919
2022-12-13 13:09:29 -08:00
Qin Wang db0aaf75d2 Implementation FastPairDevice
PiperOrigin-RevId: 495078613
2022-12-13 11:27:44 -08:00
Anay Wadhera 228e52e979 Refactor broadcasting code into BroadcastManager
PiperOrigin-RevId: 495021310
2022-12-13 07:57:04 -08:00
Qin Wang f73b23e720 Implement Protocol, Constant
PiperOrigin-RevId: 494858330
2022-12-12 16:21:35 -08:00
Janusz Sobczak d1ddee09f0 Include header files
PiperOrigin-RevId: 494314809
2022-12-09 19:24:43 -08:00
Janusz Sobczak 337e1f41b0 Clarify CredentialStorage interface.
SaveCredentials does not to return the credentials that it has just saved. Returning a status will do.
Improved documentation.

PiperOrigin-RevId: 494280108
2022-12-09 15:41:12 -08:00
Anay Wadhera c50cdc5671 Move back to internal logging library
PiperOrigin-RevId: 494274640
2022-12-09 15:16:19 -08:00
Guogang Li 9c9439f4b1 Refactor the implementation of scheduled executor on Windows
PiperOrigin-RevId: 494261976
2022-12-09 14:20:53 -08:00
Suet-Fei Li 32163382b9 Internal fix
PiperOrigin-RevId: 494245945
2022-12-09 13:10:37 -08:00
Anay Wadhera 2706d66519 Include chromium logging header when building with chromium
PiperOrigin-RevId: 494244433
2022-12-09 13:04:03 -08:00
Janusz Sobczak 0fb81f2b27 Enable LDT by default
PiperOrigin-RevId: 494227035
2022-12-09 11:50:36 -08:00
Nick Bourdakos ff5fb4a8f3 Replace absl/log/check.h with internal/platform/logging.h for SPM.
PiperOrigin-RevId: 494192824
2022-12-09 09:34:24 -08:00
hai007 863e2f650e Automated visibility attribute cleanup.
PiperOrigin-RevId: 494035002
2022-12-08 17:15:43 -08:00
Qin Wang cdd65616fc Implement Ble GATT Client for Windows
PiperOrigin-RevId: 494033195
2022-12-08 17:06:52 -08:00
Anay Wadhera 82b2c63a7c Implement BleConnectionInfo as a container for BLE mac address.
Move PresenceDevice to use BleConnectionInfo.

PiperOrigin-RevId: 494023973
2022-12-08 16:24:00 -08:00
Suet-Fei Li c5bb844509 Internal bug fix.
PiperOrigin-RevId: 494020404
2022-12-08 16:08:26 -08:00
Janusz Sobczak 5ce2485694 Replace .proto.h with .pb.h
We should be using public .pb.h files

PiperOrigin-RevId: 494011872
2022-12-08 15:32:02 -08:00