Home
last modified time | relevance | path

Searched refs:MATCH_MOBILE (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkTemplateTest.kt28 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/
DNetworkTemplateTest.kt36 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/
DNetworkTemplate.java84 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 …]
DNetworkStatsCollection.java34 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/
DDataUsagePreferenceTest.java62 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/
DNetworkStatsManagerTest.java29 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/
DDataUsagePreference.java55 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/
DNetworkStatsManager.java23 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/
DNetworkStatsServiceTest.java51 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 …]
DNetworkStatsObserversTest.java28 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/
DNetworkTemplates.kt39 NetworkTemplate.MATCH_MOBILE, in getDefaultTemplate()
DDataUsageLib.kt94 null -> NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in getMobileTemplateForSubId()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/policy/
DNetworkPolicyRepositoryTest.kt63 NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java57 new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in getMobileNetworkTemplate()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java56 NetworkTemplate.MATCH_MOBILE,
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppDataUsagePreferenceTest.kt168 NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build() in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DDataUsageLibTest.kt146 assertThat(mobileTemplate.matchRule).isEqualTo(NetworkTemplate.MATCH_MOBILE) in getMobileTemplateForSubId_subscriberIdIsNull()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt171 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE).build() in warning_mobile_operatorWarning()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java340 return NetworkTemplate.MATCH_MOBILE; in getMatchRule()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java222 new NetworkTemplate.Builder(NetworkTemplate.MATCH_MOBILE) in prepareGetMultipathPreferenceTest()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-current.txt169 field public static final int MATCH_MOBILE = 1; // 0x1
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java49 import static android.net.NetworkTemplate.MATCH_MOBILE;
2694 template = new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build();
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1121 Landroid/net/NetworkTemplate;->MATCH_MOBILE:I