summaryrefslogtreecommitdiff
path: root/cmds
diff options
context:
space:
mode:
author junyulai <junyulai@google.com> 2020-07-16 13:48:00 +0800
committer junyulai <junyulai@google.com> 2020-07-16 15:40:38 +0800
commit472144c35a46d649d03fbd1034fcfd07f8447fb9 (patch)
tree8f4094a20f8181549e728ba145be2eddc33113d8 /cmds
parent232afa51d91deff372e71490de7274e11a9f027f (diff)
Report NR connected state to provide resolution of 5G NSA mode
Test: adb shell cmd stats pull-source 10082 Test: atest UidAtomTests#testDataUsageBytesTransfer Bug: 160727498 Change-Id: I7d98ab425852ffa064c68f5dc50bd1f5a4a49ab9 Merged-In: I7d98ab425852ffa064c68f5dc50bd1f5a4a49ab9 (cherry-picked from ag/12167625)
Diffstat (limited to 'cmds')
-rw-r--r--cmds/statsd/src/atoms.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 7a016522d597..36b46c3d03a3 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -5178,6 +5178,12 @@ message DataUsageBytesTransfer {
// record is combined across opportunistic data subscriptions.
// See {@link SubscriptionManager#setOpportunistic}.
optional DataSubscriptionState opportunistic_data_sub = 10;
+
+ // Indicate whether NR is connected, server side could use this with RAT type to determine if
+ // the record is for 5G NSA (Non Stand Alone) mode, where the primary cell is still LTE and
+ // network allocates a secondary 5G cell so telephony reports RAT = LTE along with NR state as
+ // connected.
+ optional bool is_nr_connected = 11;
}
/**