Commit Graph
75 Commits
Author SHA1 Message Date
Francis Tsui e5046f6b55 Add support for storing proto messages in preferences.
PiperOrigin-RevId: 875747055
2026-02-26 08:58:54 -08:00
hai007 fbc906aaae Add logs for play integrity error code
PiperOrigin-RevId: 872937909
2026-02-20 09:31:26 -08:00
hai007 0ea5d2362e Add speed test results
PiperOrigin-RevId: 868726957
2026-02-11 10:03:27 -08:00
Francis Tsui 1b557236f7 Log interface count and IPv6 only interface count during wifi upgrade.
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
Anay Wadhera d39ed48fe4 add rust proto definition
PiperOrigin-RevId: 844809336
2025-12-15 09:43:20 -08:00
hai007 452e9f546c Remove the prefix for the generalization.
PiperOrigin-RevId: 823672127
2025-10-24 14:46:06 -07:00
hai007 caf695a2c4 Remove the prefix for the generalization.
PiperOrigin-RevId: 822263192
2025-10-21 13:53:17 -07:00
Francis Tsui 520223f3b9 Add IS_VLOG_ON macro to platform logging.
PiperOrigin-RevId: 820402805
2025-10-16 14:47:30 -07:00
hai007 a404f8402d Remove the prefix for the generalization.
PiperOrigin-RevId: 817874032
2025-10-10 19:02:07 -07:00
hai007 fd30f45530 Remove the prefix for the generalization.
PiperOrigin-RevId: 811432704
2025-09-25 11:32:44 -07:00
Guogang Li 8f7afa358f Internal cleanup
PiperOrigin-RevId: 808179180
2025-09-17 09:10:52 -07:00
hai007 59f46f4b5a Remove the prefix for the generalization.
PiperOrigin-RevId: 795189590
2025-08-14 14:06:14 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
hai007 b3442bacd3 Add session success disconnection reason
PiperOrigin-RevId: 751156087
2025-04-24 15:15:44 -07:00
hai007 a17a5934f8 Remove the prefix for the generalization.
PiperOrigin-RevId: 747613818
2025-04-14 16:33:46 -07:00
hai007 a937710422 adds disconnection error code
PiperOrigin-RevId: 744896066
2025-04-07 16:48:25 -07:00
hai007 2a43f74e1e Automated Code Change
PiperOrigin-RevId: 702190141
2024-12-02 21:33:29 -08:00
hai007 f2aed20443 Logs the endpoint info size into AdvertisingPhase
Tested: https://paste.googleplex.com/4752588241371136

PiperOrigin-RevId: 666167190
2024-08-21 21:08:13 -07:00
hai007 12371764e6 1. Logs instant connection result code to advertise phase, discovery phase or connection attempts.
2. Adds one new result code CONNECTIVITY_AUTO_RESUME_FAILURE for reconnection

PiperOrigin-RevId: 659207468
2024-08-03 20:29:33 -07:00
hai007 9f5d2c0111 Define proto field and collect/upload data to clearcut server
PiperOrigin-RevId: 653100645
2024-07-16 22:52:03 -07:00
Johnson Lu 80cf0e50fd Add num_failed_auto_resume into Payload logging.
PiperOrigin-RevId: 643283813
2024-06-14 02:28:00 -07:00
hai007 18a03848e7 Records the Wifi Aware supports status
PiperOrigin-RevId: 628267165
2024-04-25 19:47:22 -07:00
Francis Tsui dbb6550c2f Remove experiments_log.proto.
PiperOrigin-RevId: 626095230
2024-04-18 11:23:46 -07:00
Francis Tsui 012b9b0569 Cleanup EventLogger interface.
PiperOrigin-RevId: 625797877
2024-04-17 13:59:30 -07:00
Francis Tsui 4443aa4251 Add experiment_log.proto
PiperOrigin-RevId: 625106788
2024-04-15 15:44:27 -07:00
Francis Tsui a082f36021 Switch glog to absl::log.
PiperOrigin-RevId: 615535748
2024-03-13 14:03:23 -07:00
hai007 8a73a44146 Add analytics log for GATT database hash
Add new field in ProviderInfo message and write the data from provider GATT database characteristic

PiperOrigin-RevId: 615247090
2024-03-12 19:00:36 -07:00
hai007 cb5016c3f3 1.Define OperationResult message, which contains result code category and resulc code
2.Add OperationResult message to ConnectionAttempt, EstablishedConnection and BandwidthUpgradeAttempt

PiperOrigin-RevId: 607231266
2024-02-14 23:57:20 -08:00
Francis Tsui c2ade33c9c No public changes.
PiperOrigin-RevId: 597033150
2024-01-09 13:46:42 -08:00
hai007 c26a53e384 1. log connectionTokens into ClientSession
2. In 1:1 share, this connectionToken value will be the same as that one in the ConnectionAttempt (same as the BandwidthUpgradeAttempt or the EstablishedConnection).
3. In group share, this connectionToken value will be the combination of all the connectionTokens in above point 2 (separated by comma).

PiperOrigin-RevId: 584767628
2023-11-22 18:49:13 -08:00
hai007 e876b68d90 1. log client_flow_id into ClientSession
2. In NS, passing the saved advertising flow id into NC so the client_flow_id in receiver side could be the same as the NS one, which could have the correct records mapping between the NS and NC.

PiperOrigin-RevId: 582876537
2023-11-15 19:02:38 -08:00
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 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
hai007 c0fed171f2 Add several new fields to fast_pair_log
PiperOrigin-RevId: 568315642
2023-09-25 13:53:27 -07:00
hai007 94df1ffc4c Records the dual band support status
PiperOrigin-RevId: 566465959
2023-09-18 18:04:30 -07:00
hai007 d9a6192916 Add num_successful_auto_resume into Payload logging.
PiperOrigin-RevId: 561345201
2023-08-30 08:16:55 -07:00
Janusz Sobczak 5393daf9f1 Merge logging and types build targets
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.

PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
hai007 3e2d4b09ff remove semantic_annotations and collection_basis_annotations on fast_pair_log to fix OSS build issue.
PiperOrigin-RevId: 520952834
2023-03-31 10:18:59 -07:00
Nick Bourdakos c73ebe8778 Add import comments
PiperOrigin-RevId: 520433728
2023-03-29 13:55:46 -07:00
hai007 4b4e599ea6 Add connection's SafeDisconnectionResult into the established connection so we could analyzing any mis-matched SafeDisconnectionResult with the same connection token.
PiperOrigin-RevId: 520398868
2023-03-29 11:49:08 -07:00
Nick Bourdakos 64ff0ee034 Comment protos
PiperOrigin-RevId: 520349919
2023-03-29 09:00:08 -07:00
hai007 8c4489d0f9 Fix fast_pair_log to generate fast_pair_log.pb.h file.
PiperOrigin-RevId: 519802479
2023-03-27 12:50:42 -07:00
Nick Bourdakos decdc15402 Internal change
PiperOrigin-RevId: 519204238
2023-03-24 12:06:55 -07:00
Nick Bourdakos 99298444df Use @rules_cc for cc_proto_library
PiperOrigin-RevId: 519188761
2023-03-24 12:05:19 -07:00
Nick Bourdakos e21f736588 Internal change
PiperOrigin-RevId: 519180519
2023-03-24 11:05:33 -07:00
hai007 548b51f331 Add MagicPairLog and magic_pair_enums to third_party.
PiperOrigin-RevId: 518603122
2023-03-22 10:16:24 -07:00
Janusz Sobczak 5f4144cd0b Update SharedCredential definition
PiperOrigin-RevId: 507568902
2023-02-06 13:33:23 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -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