Commit Graph
110 Commits
Author SHA1 Message Date
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
Anthony Rueda fff5c22e31 Add identity field to DeviceIdentityMetaData proto and rust_encrypted_metadata_bytes_v1 to SharedCredential proto.
PiperOrigin-RevId: 770811060
2025-06-12 15:10:26 -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
Francis Tsui dbc81e94a2 Internal changes
PiperOrigin-RevId: 709100092
2024-12-23 10:49:06 -08:00
hai007 2a43f74e1e Automated Code Change
PiperOrigin-RevId: 702190141
2024-12-02 21:33:29 -08:00
Nick Bourdakos 3caae8d58d Remove compatible_with from Bazel targets
PiperOrigin-RevId: 698102508
2024-11-19 12:19:39 -08:00
hai007 0e4379ddc6 Automated Code Change
PiperOrigin-RevId: 690869480
2024-10-28 21:58:50 -07:00
hai007 b721624851 Automated Code Change
PiperOrigin-RevId: 683908630
2024-10-08 23:45:46 -07:00
Anthony Rueda 6dd3fbcd3d [Presence] Deprecate signature_version field in protos.
PiperOrigin-RevId: 671511383
2024-09-05 14:30:15 -07: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
Anthony Rueda c823f68250 [Presence] Change credential_version field to int64 to be Java friendly.
PiperOrigin-RevId: 665961475
2024-08-21 11:31:13 -07:00
Anthony Rueda 1c41d0c77c [Presence] Deprecate version bytes field of shared credential protos and add credential_version to be used as an integer generic credential version field
PiperOrigin-RevId: 665517202
2024-08-20 14:04:49 -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 65df1e8195 Add some of the np info into ns credential
PiperOrigin-RevId: 655734149
2024-07-24 16:16:16 -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
Xin He 91f4e665e7 [Presence] Add device model name and manufacturer to Presence Metadata
PiperOrigin-RevId: 649132282
2024-07-03 10:59:25 -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 bba1ca540f Remove provisioned identity type from proto
PiperOrigin-RevId: 629178167
2024-04-29 13:59:55 -07:00
hai007 0b04994f71 Update identity type name
PiperOrigin-RevId: 629163344
2024-04-29 13:12:45 -07:00
hai007 a1b80ff649 Update identity type name
PiperOrigin-RevId: 628545355
2024-04-26 16:57:25 -07:00
hai007 54eff829b5 Update identity type name
PiperOrigin-RevId: 628513553
2024-04-26 14:40:17 -07:00
hai007 18a03848e7 Records the Wifi Aware supports status
PiperOrigin-RevId: 628267165
2024-04-25 19:47:22 -07:00
Anthony Rueda 9065c0a933 [Presence] Add V1 encrypted adv hmac_key fields and update naming to align with latest changes to go/nearby-presence-spec
PiperOrigin-RevId: 627563098
2024-04-23 18:11:44 -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
Nick Bourdakos a08a42077c PR #2404: Add license header to all source files
Imported from GitHub PR https://github.com/google/nearby/pull/2404

Copybara import of the project:

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

Add license header to all source files

Merging this change closes #2404

PiperOrigin-RevId: 623540004
2024-04-10 10:40:38 -07:00
hai007 2a56254756 Automated Code Change
PiperOrigin-RevId: 621908243
2024-04-04 10:52:30 -07:00
Guogang Li 387a51b260 internal update
PiperOrigin-RevId: 619595164
2024-03-27 11:25:55 -07:00
Anthony Rueda 848ef00cc0 [Presence] Change new unused signature_version field to string type for easier debugging and to align with [nearby_resources.proto](https://source.corp.google.com/piper///depot/google3/google/internal/location/nearby/presence/v1/nearby_resources.proto;l=96)
PiperOrigin-RevId: 615921095
2024-03-14 15:24:13 -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 965677199e Internal change
PiperOrigin-RevId: 613336063
2024-03-06 14:14:42 -08: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
Anthony Rueda 7f7f097adb [Presence] Deprecate Metadata and remove instances of Metadata from gmscore NP codes.
PiperOrigin-RevId: 596041877
2024-01-05 11:23:33 -08:00
Anthony Rueda 91197f3683 [Presence] Deflag use_shared_credential_grpc and deprecate secret_id field from LocalCredential and SharedCredential protos
PiperOrigin-RevId: 586831590
2023-11-30 17:08:13 -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
Anthony Rueda 3d11defc4a [Presence] Add device ID to DeviceIdentityMetaData
PiperOrigin-RevId: 580758850
2023-11-08 20:16:54 -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 b1dfb11d2d [Presence] Added more device types: foldable, automotive, and speaker.
PiperOrigin-RevId: 561692221
2023-08-31 10:24:11 -07:00