Home
last modified time | relevance | path

Searched refs:setMeteredness (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt230 val templateFromBuilder = NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES) in testBuildTemplateMobileAll_nullSubscriberId()
239 .setMeteredness(METERED_YES) in testMobileMatches()
321 .setMeteredness(METERED_YES) in testCarrierMeteredMatches()
368 .setMeteredness(METERED_YES) in testRatTypeGroupMatches()
372 .setMeteredness(METERED_YES).build() in testRatTypeGroupMatches()
376 .setMeteredness(METERED_YES) in testRatTypeGroupMatches()
379 .setMeteredness(METERED_NO) in testRatTypeGroupMatches()
382 .setMeteredness(METERED_NO).build() in testRatTypeGroupMatches()
384 .setMeteredness(METERED_NO) in testRatTypeGroupMatches()
486 val templateImsi1 = NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES) in testEquals()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkTemplateTest.kt69 .setMeteredness(METERED_YES).build().let { in <lambda>()
81 .setRoaming(ROAMING_YES).setMeteredness(METERED_YES).build().let { in <lambda>()
121 NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build().let { in <lambda>()
131 .setMeteredness(METERED_YES).setRatType(TelephonyManager.NETWORK_TYPE_UMTS) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsagePreferenceTest.java63 .setMeteredness(NetworkStats.METERED_YES).build(), in setTemplate_noDataUsage_shouldDisablePreference()
75 .setMeteredness(NetworkStats.METERED_YES).build(), in setTemplate_hasDataUsage_shouldNotDisablePreference()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DDataUsageLib.kt84 .setMeteredness(template.meteredness) in normalizeMobileTemplate()
97 }.setMeteredness(NetworkStats.METERED_YES).build() in getMobileTemplateForSubId()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java58 .setMeteredness(NetworkStats.METERED_YES); in getMobileNetworkTemplate()
76 .setMeteredness(template.getMeteredness()).build(); in normalizeMobileTemplate()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkTemplate.java215 return new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES) in buildTemplateMobileAll()
229 return new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build(); in buildTemplateMobileWildcard()
314 .setMeteredness(METERED_YES) in buildTemplateCarrierMetered()
334 .setMeteredness(metered) in buildTemplateMobileWithRatType()
1110 public Builder setMeteredness(@NetworkStats.Meteredness int metered) { in setMeteredness() method in NetworkTemplate.Builder
DNetworkStatsCollection.java804 .setMeteredness(METERED_YES).build(), "cell"); in dumpCheckin()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java213 new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build()); in testNetworkTemplateWhenRunningQueryDetails_NoSubscriberId()
239 .setMeteredness(NetworkStats.Bucket.METERED_YES).build(); in testQueryTaggedSummary()
260 .setMeteredness(NetworkStats.Bucket.METERED_YES).build(); in testQueryDetailsForDevice()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java232 .setMeteredness(METERED_YES).setSubscriberIds(Set.of(IMSI_1)).build();
234 .setMeteredness(METERED_YES).setSubscriberIds(Set.of(IMSI_2)).build();
1025 .setMeteredness(METERED_YES).build(); in doTestMobileStatsByRatType()
1028 .setMeteredness(METERED_YES).build(); in doTestMobileStatsByRatType()
1031 .setMeteredness(METERED_YES).build(); in doTestMobileStatsByRatType()
1102 .setMeteredness(METERED_YES).build(); in testMobileStatsMeteredness()
1106 .setMeteredness(METERED_NO).build(); in testMobileStatsMeteredness()
1977 .setMeteredness(METERED_YES).build(); in testDynamicWatchForNetworkRatTypeChanges()
1980 .setMeteredness(METERED_YES).build(); in testDynamicWatchForNetworkRatTypeChanges()
1982 .setMeteredness(METERED_YES).build(); in testDynamicWatchForNetworkRatTypeChanges()
[all …]
DNetworkStatsObserversTest.java93 .setMeteredness(METERED_YES).build();
96 .setMeteredness(METERED_YES).build();
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStatsManager.java1049 .setMeteredness(METERED_YES).build() in createTemplate()
1051 .setMeteredness(METERED_YES) in createTemplate()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java224 .setMeteredness(android.net.NetworkStats.METERED_YES).build(), in prepareGetMultipathPreferenceTest()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-current.txt184 method @NonNull public android.net.NetworkTemplate.Builder setMeteredness(int);
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java2694 template = new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build();