Commit Graph
2186 Commits
Author SHA1 Message Date
hai007 c1e5f47e3f [Analytics] Add analytics for subsequent pairing but entering pairing mode
Add is_in_paired_history field when the event is SECRET_HANDSHAKE

LOG_STORAGE_INCREASE(GB/week): <1
  1200000 perday * 7 days * (2+1 [tag+bool] + 2+8 [tag+int64] + 2+8 [tag+int64] + 2+1 [tag+bool]) bytes/record

Single record size (average): 26 bytes

PiperOrigin-RevId: 576717056
2023-10-25 19:45:16 -07:00
hai007 629e7ba7c9 Disable Intel PIE for github Opensource repo
PiperOrigin-RevId: 576593321
2023-10-25 11:34:34 -07:00
Hai Shang f93959fd15 Add more logs for BT.
PiperOrigin-RevId: 576329921
2023-10-24 17:01:23 -07:00
Francis Tsui d706984330 [Sharing] add an enum value for SYNC_PURPOSE.
PiperOrigin-RevId: 576294050
2023-10-24 14:58:05 -07:00
hai007 9b0f46a2da Internal change.
PiperOrigin-RevId: 573961794
2023-10-16 16:26:55 -07:00
Guogang Li 60735e8e2e Fixed the logic issue to handle discovered endpoint
PiperOrigin-RevId: 573350212
2023-10-13 16:51:36 -07:00
Copybara-Service ac887e55a9 Merge pull request #2125 from google:dependabot/pub/fastpair/rust/demo/archive-3.3.8
PiperOrigin-RevId: 572967743
2023-10-12 11:38:39 -07:00
Copybara-Service a4edb41be0 Merge pull request #2166 from anayw2001:main
PiperOrigin-RevId: 572802874
2023-10-12 00:06:46 -07:00
Anay Wadhera b0ab83535f silly season
PiperOrigin-RevId: 572781177
2023-10-11 22:08:37 -07:00
Anay Wadhera 0d8ffabe08 Lock flutter_rust_bridge to 1.80.1 2023-10-12 05:03:19 +00:00
Guogang Li 7933f3a75e Use stable ABSL build
PiperOrigin-RevId: 572711938
2023-10-12 04:48:58 +00:00
Anay Wadhera 0da286b19f Merge pull request #2159 from deling-google:b304413068
PiperOrigin-RevId: 572328858
2023-10-12 04:48:43 +00:00
Juliet Levesque eed80b2891 [Nearby Presence] Cache the manager app id in PresenceDeviceProvider
Cache the manager app id sent in UpdateLocalDeviceMetadata() (which is called
every time the service is started up). The manager app id and the account name (which is stored in the already cached Metadata) is needed to fetch the credentials used during connection authentication.

See [Anay's one pager](https://docs.google.com/document/d/1bffDNH-he4qteN3MxkbUz-P2xFoIniO088sRiTc-kkE/edit?usp=sharing) for more details.

PiperOrigin-RevId: 572067964
2023-10-12 04:48:25 +00:00
hai007 1d7751f581 fix auto-resume logging issue
PiperOrigin-RevId: 571981185
2023-10-12 04:48:08 +00:00
Janusz Sobczak 5d4aab0185 Improve thread-safety in TaskRunnerImpl
PiperOrigin-RevId: 571981130
2023-10-12 04:47:48 +00:00
ggli-google 5695ef696d Compile protos 2023-10-12 00:32:24 -04:00
Deling Ren ad6bd80267 Fix the crash when an endpoint without a UTF8 name is discovered 2023-10-10 11:53:23 -07:00
Nick Bourdakos 9d7996cdf2 Merge pull request #2155 from ggli-google/compile-protos
Compile protos
2023-10-07 12:47:46 -04:00
ggli-google 6a3fc35be8 Compile protos 2023-10-06 15:36:12 -07:00
Guogang Li 0160b32c1d fix auto-resume logging issue
PiperOrigin-RevId: 571361682
2023-10-06 09:50:18 -07:00
hai007 12346928ef fix auto-resume logging issue
PiperOrigin-RevId: 571093232
2023-10-05 12:11:13 -07:00
Janusz Sobczak 56acecdffa Migrate to AnyInvocable in DiscoveryListener
PiperOrigin-RevId: 571077933
2023-10-05 11:20:17 -07:00
hai007 dfd3de80cf Set a separate shorter timeout (10s) for REMOTE_DISCONNECTION
PiperOrigin-RevId: 570795839
2023-10-04 13:51:54 -07:00
Qin Wang 264aa3829f Disable flaky test//third_party/nearby/fastpair/scanning:scanner_broker_impl_test
PiperOrigin-RevId: 570749393
2023-10-04 11:17:59 -07:00
hai007 7596c298f7 [SubsequentPair] Add is_pair_triggered_by_settings in Fast Pair log to track subsequent pairing triggered from Pixel Settings.
LOG_STORAGE_INCREASE(GB/week): <1
 1 perday * 7 days * (2+1 [tag+length] + 2+1 [tag+bool]) bytes/record

Single record size (average): 6 bytes

Design doc: go/subsequent-pairing-settings-integration

PiperOrigin-RevId: 570646781
2023-10-04 03:52:06 -07:00
Guogang Li 7dea977b74 Try to fix Bluetooth issue to get service
PiperOrigin-RevId: 570475245
2023-10-03 13:12:31 -07:00
Guogang Li 3fdcbe4ddc Added write timeout for Wi-Fi LAN socket
PiperOrigin-RevId: 570122181
2023-10-02 11:21:14 -07:00
hai007 d477a2d174 Apply GO frequency to NC that queries from Intel PIE SDK
PiperOrigin-RevId: 569558266
2023-09-29 12:25:01 -07:00
Aaron Yu eba928e784 Fix bluetooth adapter null pointer exception
PiperOrigin-RevId: 568994552
2023-09-27 16:34:43 -07:00
Guogang Li d095f505d3 Send payloads one by one
PiperOrigin-RevId: 568988147
2023-09-27 16:08:37 -07:00
Guogang Li a1a442c8eb Try to fix a crash when checking Bluetooth state
PiperOrigin-RevId: 568982667
2023-09-27 15:47:17 -07:00
hai007 42787803fd Internal change
PiperOrigin-RevId: 568673212
2023-09-26 16:00:05 -07:00
hai007 6f936fa78b [Sharing] add an enum value for SYNC_PURPOSE.
PiperOrigin-RevId: 568375213
2023-09-25 18:01:35 -07:00
hai007 c0fed171f2 Add several new fields to fast_pair_log
PiperOrigin-RevId: 568315642
2023-09-25 13:53:27 -07:00
hai007 77bc7311c6 Fix bug to work with PIE SDK version PHWFW07641_22.230.0.8PDK-20230707T202651Z-001
PiperOrigin-RevId: 567438343
2023-09-21 15:36:19 -07:00
Aaron Yu 7bde3abf8b Harden ble v2 gatt server
PiperOrigin-RevId: 567069079
2023-09-20 13:48:56 -07:00
Guogang Li 1e5587e2db Log the failure to get RF service
PiperOrigin-RevId: 567017321
2023-09-20 10:58:17 -07:00
Hai Shang 6adba4c2f8 [Analytics] log certificates stats after download
PiperOrigin-RevId: 566828025
2023-09-19 20:23:38 -07:00
Janusz Sobczak 8846f8b57e Migrate to AnyInvocable in data/
PiperOrigin-RevId: 566721712
2023-09-19 13:13:30 -07:00
hai007 94df1ffc4c Records the dual band support status
PiperOrigin-RevId: 566465959
2023-09-18 18:04:30 -07:00
Guogang Li 9774b5f53c Fixed crash in Bluetooth Adapter
PiperOrigin-RevId: 566452194
2023-09-18 16:57:16 -07:00
Janusz Sobczak 746a8b6231 Use AnyInvocable in mediums/ble_v2
PiperOrigin-RevId: 566437160
2023-09-18 15:56:54 -07:00
Janusz Sobczak 48eeee8d2b Migrate to AnyInvocable in webrtc medium
PiperOrigin-RevId: 565805742
2023-09-15 16:26:09 -07:00
Janusz Sobczak b33c0e0332 Migrate to AnyInvocable in auth module
Merged success/failure callbacks into a single callback
in SignInCallback and AccessTokenCallback to simplify resource management and to avoid making copies.

PiperOrigin-RevId: 565744310
2023-09-15 12:11:50 -07:00
dependabot[bot] 8b20e22414 Bump archive from 3.3.7 to 3.3.8 in /fastpair/rust/demo
Bumps [archive](https://github.com/brendan-duncan/archive) from 3.3.7 to 3.3.8.
- [Changelog](https://github.com/brendan-duncan/archive/blob/main/CHANGELOG.md)
- [Commits](https://github.com/brendan-duncan/archive/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: archive
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 17:22:19 +00:00
Francis Tsui c7b740f0c4 Begin copying sharing to github
- Start with proto dir

PiperOrigin-RevId: 565712295
2023-09-15 10:20:06 -07:00
hai007 091b4ebfa5 Hotspot Test Code
PiperOrigin-RevId: 565393814
2023-09-14 09:38:08 -07:00
Juliet Levesque 8be118a3d0 [Nearby Connections] Plumb remote device information much deeper into the stack
This will be needed for the authentication transport as the verifier will need the information about the remote device. This CL is based on logic from
awadhera@ in cl/539175992 with additional unit test coverage.

PiperOrigin-RevId: 565037849
2023-09-13 06:59:50 -07:00
Guogang Li fe9c9f90b6 Refactored Bluetooth classic medium
PiperOrigin-RevId: 564813626
2023-09-12 13:21:47 -07:00
hai007 82c8970535 [Sharing][Analytics] Adding logging for permission auto access UI.
PiperOrigin-RevId: 564554884
2023-09-11 17:57:04 -07:00