summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt
diff options
context:
space:
mode:
authorlifr <lifr@google.com>2021-11-18 02:37:28 +0800
committerFrank <lifr@google.com>2022-02-10 22:51:56 +0800
commit1f788606a08b5c74bdc41350592ab20f41959d13 (patch)
tree14a05aef18659d46d1c90ab73900b0c3c467b010 /tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt
parentcc7f866d95b14f0d4c297a9be77f3ded9b3a15aa (diff)
[SUBID01-1]Grow NetworkIdentity to include a new mSubId field
In the previous design of NSS and NPMS, those only had IMSI to identify the cell network. Now the telephony has created the "subId" handle, which is the preferred mechanism for identifying subscribers. This commit adds NetworkStats support for subscriberId as a part of the network identity key Bug: 80526261 Test: atest NetworkTemplateTest NetworkStatsCollectionTest NetworkStatsServiceTest NetworkIdentityTest Ignore-AOSP-First: merge conflict resolutions Change-Id: I8549b11d0fcfc5a9426724d6b90de27b707cb77c
Diffstat (limited to 'tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt')
-rw-r--r--tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt b/tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt
index e4943ea9b5..743d39e6cd 100644
--- a/tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt
+++ b/tests/unit/java/android/net/netstats/NetworkStatsDataMigrationUtilsTest.kt
@@ -46,7 +46,7 @@ class NetworkStatsDataMigrationUtilsTest {
@Test
fun testReadPlatformCollection() {
- // Verify the method throws for wrong file version.
+ // Verify the method throws for wrong file format.
assertFailsWith<ProtocolException> {
NetworkStatsDataMigrationUtils.readPlatformCollection(
NetworkStatsCollection.Builder(BUCKET_DURATION_MS),