From ba1b03a81e1aac6b16d50142e30953be19d33d90 Mon Sep 17 00:00:00 2001 From: Chi Zhang Date: Tue, 21 Apr 2020 17:17:56 -0700 Subject: [PATCH] Update comments for telephony atoms. Bug: 141631489 Bug: 142026991 Bug: 152414819 Test: make Change-Id: I283483f2037d33225b18145c46effaed29825dbe --- cmds/statsd/src/atoms.proto | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 13e7ac1fd4a09..9d0ce59734e82 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -8996,7 +8996,7 @@ message AppFreezeChanged { * Each pull creates multiple atoms, one for each call. The sequence is randomized when pulled. * * Pulled from: - * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/PersistPullers.java + * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/MetricsCollector.java */ message VoiceCallSession { // Bearer (IMS or CS) when the call started. @@ -9060,9 +9060,7 @@ message VoiceCallSession { // See https://source.android.com/devices/tech/config/carrierid. optional int32 carrier_id = 18; - // Whether an SRVCC has been completed successfully. - // SRVCC (CS fallback) should be recorded in the IMS call since there will be no more SRVCC - // events once the call is switched to CS. + // Whether an SRVCC has been completed successfully for this call. optional bool srvcc_completed = 19; // Number of SRVCC failures. @@ -9071,7 +9069,8 @@ message VoiceCallSession { // Number of SRVCC cancellations. optional int64 srvcc_cancellation_count = 21; - // Whether the Real-Time Text (RTT) was ever used in the call. + // Whether the Real-Time Text (RTT) was ever used in the call (rather than whether RTT was + // enabled in the dialer's settings). optional bool rtt_enabled = 22; // Whether this was an emergency call. @@ -9088,7 +9087,7 @@ message VoiceCallSession { * time. The atom will be skipped if not enough data is available. * * Pulled from: - * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/PersistPullers.java + * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/MetricsCollector.java */ message VoiceCallRatUsage { // Carrier ID (https://source.android.com/devices/tech/config/carrierid). @@ -9109,7 +9108,7 @@ message VoiceCallRatUsage { * Pulls the number of active SIM slots and SIMs/eSIM profiles. * * Pulled from: - * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/NonPersistPullers.java + * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/MetricsCollector.java */ message SimSlotState { // Number of active SIM slots (both physical and eSIM profiles) in the device. @@ -9130,7 +9129,7 @@ message SimSlotState { * This atom reports the capabilities of the device, rather than the network it has access to. * * Pulled from: - * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/NonPersistPullers.java + * frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/MetricsCollector.java */ message SupportedRadioAccessFamily { // A bitmask of supported radio technologies.