android_packages_modules_Co.../tests/common/java/android/net/netstats
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Huang 69086d6cbc Fix backward compatibility issue for removed wildcard match rule
A template with type MATCH_MOBILE could have empty subscriber
IDs but it should not contain one of subscriber IDs is null.

An app might still build a template through the constructor
which is annotated with @UnsupportedAppUsage. NetworkTemplate
will throw an exception when the app trying to construct a
template with type *_WILDCARD. The constructor should be
backward compatible with old version so this change is to add
the backward compatibility to have NetworkTemplate not throw
an exception.

Bug: 267701889
Test: FrameworksNetTests
Change-Id: I23a607dae508e0c53520e2edf187cb611ed36b68
2023-02-21 14:07:15 +08:00
..
NetworkStatsApiTest.kt Do not verify field count in tests used in CTS 2022-01-18 16:55:32 +09:00
NetworkStatsCollectionTest.kt Remove NetworkIdentitySet usage in CTS 2022-05-02 14:59:51 +09:00
NetworkStatsHistoryTest.kt Return sorted NetworkStatsHistory 2022-06-07 10:51:52 +08:00
NetworkTemplateTest.kt Fix backward compatibility issue for removed wildcard match rule 2023-02-21 14:07:15 +08:00