/packages/modules/Connectivity/tests/common/java/android/net/netstats/ |
D | NetworkTemplateTest.kt | 28 import android.net.NetworkTemplate.MATCH_MOBILE in <lambda>() 67 listOf(MATCH_MOBILE, MATCH_CARRIER).forEach { matchRule -> in <lambda>() 79 listOf(MATCH_MOBILE, MATCH_CARRIER).forEach { matchRule -> in <lambda>() 101 NetworkTemplate.Builder(MATCH_MOBILE).setSubscriberIds(setOf(null)).build() in <lambda>() 104 NetworkTemplate.Builder(MATCH_MOBILE).setSubscriberIds(setOf(null)).build().let { in <lambda>() 106 MATCH_MOBILE, in <lambda>() 121 NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build().let { in <lambda>() 122 val expectedTemplate = NetworkTemplate(MATCH_MOBILE, in <lambda>() 130 NetworkTemplate.Builder(MATCH_MOBILE).setSubscriberIds(setOf(TEST_IMSI1)) in <lambda>() 133 val expectedTemplate = NetworkTemplate(MATCH_MOBILE, arrayOf(TEST_IMSI1), in <lambda>() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkTemplateTest.kt | 36 import android.net.NetworkTemplate.MATCH_MOBILE 230 val templateFromBuilder = NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES) in testBuildTemplateMobileAll_nullSubscriberId() 238 val templateMobileImsi2WithRatType = NetworkTemplate.Builder(MATCH_MOBILE) in testMobileMatches() 269 val templateMobileNullImsiWithRatType = NetworkTemplate.Builder(MATCH_MOBILE) in testMobileWildcardMatches() 367 val templateUmtsMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() 371 val templateAllMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() 375 val templateUnknownMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() 378 val templateUmtsNonMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() 381 val templateAllNonMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() 383 val templateUnknownNonMetered = NetworkTemplate.Builder(MATCH_MOBILE) in testRatTypeGroupMatches() [all …]
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkTemplate.java | 84 MATCH_MOBILE, 94 public static final int MATCH_MOBILE = 1; field in NetworkTemplate 173 case MATCH_MOBILE: in isKnownMatchRule() 215 return new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES) in buildTemplateMobileAll() 229 return new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build(); in buildTemplateMobileWildcard() 330 return new NetworkTemplate.Builder(MATCH_MOBILE) in buildTemplateMobileWithRatType() 426 case MATCH_MOBILE: in checkValidMatchSubscriberIds() 470 if (6 == matchRule) return MATCH_MOBILE; in getBackwardsCompatibleMatchRule() 477 if (getBackwardsCompatibleMatchRule(matchRule) == MATCH_MOBILE in getMeterednessForBackwardsCompatibility() 625 case MATCH_MOBILE: in isMatchRuleMobile() [all …]
|
D | NetworkStatsCollection.java | 34 import static android.net.NetworkTemplate.MATCH_MOBILE; 803 dumpCheckin(pw, start, end, new NetworkTemplate.Builder(MATCH_MOBILE) in dumpCheckin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsagePreferenceTest.java | 62 mPreference.setTemplate(new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in setTemplate_noDataUsage_shouldDisablePreference() 74 mPreference.setTemplate(new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in setTemplate_hasDataUsage_shouldNotDisablePreference()
|
/packages/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 29 import static android.net.NetworkTemplate.MATCH_MOBILE; 213 new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build()); in testNetworkTemplateWhenRunningQueryDetails_NoSubscriberId() 238 final NetworkTemplate template = new NetworkTemplate.Builder(MATCH_MOBILE) in testQueryTaggedSummary() 259 final NetworkTemplate template = new NetworkTemplate.Builder(MATCH_MOBILE) in testQueryDetailsForDevice()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsagePreference.java | 55 if (mTemplate.getMatchRule() == NetworkTemplate.MATCH_MOBILE) { in setTemplate() 84 if (mTemplate.getMatchRule() == NetworkTemplate.MATCH_MOBILE) { in getIntent()
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStatsManager.java | 23 import static android.net.NetworkTemplate.MATCH_MOBILE; 982 case NetworkTemplate.MATCH_MOBILE: in networkTypeForTemplate() 1048 ? new NetworkTemplate.Builder(MATCH_MOBILE) in createTemplate() 1050 : new NetworkTemplate.Builder(MATCH_MOBILE) in createTemplate()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 51 import static android.net.NetworkTemplate.MATCH_MOBILE; 231 private static NetworkTemplate sTemplateImsi1 = new NetworkTemplate.Builder(MATCH_MOBILE) 233 private static NetworkTemplate sTemplateImsi2 = new NetworkTemplate.Builder(MATCH_MOBILE) 1023 final NetworkTemplate template3g = new NetworkTemplate.Builder(MATCH_MOBILE) in doTestMobileStatsByRatType() 1026 final NetworkTemplate template4g = new NetworkTemplate.Builder(MATCH_MOBILE) in doTestMobileStatsByRatType() 1029 final NetworkTemplate template5g = new NetworkTemplate.Builder(MATCH_MOBILE) in doTestMobileStatsByRatType() 1100 final NetworkTemplate templateMetered5g = new NetworkTemplate.Builder(MATCH_MOBILE) in testMobileStatsMeteredness() 1104 final NetworkTemplate templateNonMetered5g = new NetworkTemplate.Builder(MATCH_MOBILE) in testMobileStatsMeteredness() 1141 final NetworkTemplate templateOemPaid = new NetworkTemplate.Builder(MATCH_MOBILE) in testMobileStatsOemManaged() 1144 final NetworkTemplate templateOemPrivate = new NetworkTemplate.Builder(MATCH_MOBILE) in testMobileStatsOemManaged() [all …]
|
D | NetworkStatsObserversTest.java | 28 import static android.net.NetworkTemplate.MATCH_MOBILE; 91 private static NetworkTemplate sTemplateImsi1 = new NetworkTemplate.Builder(MATCH_MOBILE) 94 private static NetworkTemplate sTemplateImsi2 = new NetworkTemplate.Builder(MATCH_MOBILE)
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | NetworkTemplates.kt | 39 NetworkTemplate.MATCH_MOBILE, in getDefaultTemplate()
|
D | DataUsageLib.kt | 94 null -> NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in getMobileTemplateForSubId()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/policy/ |
D | NetworkPolicyRepositoryTest.kt | 63 NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 57 new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in getMobileNetworkTemplate()
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/ |
D | MetricDisplay.java | 56 NetworkTemplate.MATCH_MOBILE,
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppDataUsagePreferenceTest.kt | 168 NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build() in <lambda>()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/ |
D | DataUsageLibTest.kt | 146 assertThat(mobileTemplate.matchRule).isEqualTo(NetworkTemplate.MATCH_MOBILE) in getMobileTemplateForSubId_subscriberIdIsNull()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/ |
D | DataUsageListTest.kt | 171 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build() in warning_mobile_operatorWarning()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | ConnectivityPublisher.java | 340 return NetworkTemplate.MATCH_MOBILE; in getMatchRule()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 222 new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in prepareGetMultipathPreferenceTest()
|
/packages/modules/Connectivity/framework-t/api/ |
D | module-lib-current.txt | 169 field public static final int MATCH_MOBILE = 1; // 0x1
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 49 import static android.net.NetworkTemplate.MATCH_MOBILE; 2694 template = new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build();
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1121 Landroid/net/NetworkTemplate;->MATCH_MOBILE:I
|