Commit Graph
32 Commits
Author SHA1 Message Date
hai007 59f46f4b5a Remove the prefix for the generalization.
PiperOrigin-RevId: 795189590
2025-08-14 14:06:14 -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 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
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
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 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
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 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 d4551b7187 Add MCC Mode
PiperOrigin-RevId: 489580605
2022-11-18 15:58:41 -08:00
hai007 5d207f9e15 Add the frequency of the connected AP into the ConnectionAttemptMetadata, the purpose is to judge if there is MCC symptom.
Storage increase will be 4 bytes increasing in ConnetionAttemptMetadata.

(4 bytes in each sharing * 2610000 shares/daily * 7 days/week) / GB = about 0.7 GB)
(2610000 was based on current daily connection attempts count on 20221017.)

PiperOrigin-RevId: 483115234
2022-10-22 21:51:58 -07:00
hai007 e34cac3a96 Update connections_log.proto
1. 2499483 is the "Daily Initial Connection Attempts by Medium" from product data of 2022/10/10
2. http://shortn/_XocswsePbY

PiperOrigin-RevId: 482691333
2022-10-20 22:28:17 -07:00
hai007 5ad57c5841 Update connections_log.proto
1. 2499483 is the "Daily Initial Connection Attempts by Medium" from product data of 2022/10/10
2. http://shortn/_XocswsePbY

PiperOrigin-RevId: 482681421
2022-10-20 21:13:53 -07:00
hai007 cab9e31d0d Add Metrics for wifi-direct/direct-hotspot group crate failed
PiperOrigin-RevId: 481994099
2022-10-18 12:43:26 -07:00
hai007 e39256100f Update connections_log.proto
1. 6526209 is the "Daily Transfers by Medium" from product data of 2022/10/10
2. http://shortn/_7cCKZxrmVH

PiperOrigin-RevId: 481789584
2022-10-17 18:26:16 -07:00
hai007 0373f408b9 Update connections_log.proto
1. 6526209 is the "Daily Transfers by Medium" from product data of 2022/10/10
2. http://shortn/_7cCKZxrmVH

PiperOrigin-RevId: 481740338
2022-10-17 14:31:11 -07:00
hai007 ea939b70d3 Add connection attempt type into the established connection for distinguishing the initial and upgrade in the pipeline. So we could get the information of:
1. the transfer speed in initial connection stage or upgraded stage.
2. when doing the end to end mapping, we could map the right metadate field into right established connection for getting more correct analysis.

PiperOrigin-RevId: 451156631
2022-05-26 07:23:57 -07:00
hai007 9239fb0767 Update connections_log.proto
PiperOrigin-RevId: 433386097
2022-03-08 21:17:00 -08:00
suetfei fe8bb9a880 Internal script change
PiperOrigin-RevId: 431088787
2022-02-25 20:58:58 -08:00
hai007 47072f1f1a Update connections_log.proto
1. Add Bluetooth multipleAdvertisement support status into metrics.
2. Add the send buffer size and receive buffer size of the created WiFi Hotspot, WiFi Direct, WiFi Aware, WiFi LAN sockets.

PiperOrigin-RevId: 428175918
2022-02-12 01:24:55 -08:00
hais a5086f3878 Modify copybara rules
PiperOrigin-RevId: 426029875
2022-02-02 19:09:34 -08:00
suetfei 287f0d7174 Internal Flow change for BUILD.
PiperOrigin-RevId: 424991730
2022-02-02 11:51:37 -08:00
suetfei 5e845655bb [Nearby Directory Refactoring] Move nearby/proto codes into the appropriate directories.
PiperOrigin-RevId: 421636973
2022-01-13 12:48:51 -08:00