Searched refs:setMeteredness (Results 1 – 14 of 14) sorted by relevance
230 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 …]
69 .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>()
63 .setMeteredness(NetworkStats.METERED_YES).build(), in setTemplate_noDataUsage_shouldDisablePreference()75 .setMeteredness(NetworkStats.METERED_YES).build(), in setTemplate_hasDataUsage_shouldNotDisablePreference()
84 .setMeteredness(template.meteredness) in normalizeMobileTemplate()97 }.setMeteredness(NetworkStats.METERED_YES).build() in getMobileTemplateForSubId()
58 .setMeteredness(NetworkStats.METERED_YES); in getMobileNetworkTemplate()76 .setMeteredness(template.getMeteredness()).build(); in normalizeMobileTemplate()
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()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
804 .setMeteredness(METERED_YES).build(), "cell"); in dumpCheckin()
213 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()
232 .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 …]
93 .setMeteredness(METERED_YES).build();96 .setMeteredness(METERED_YES).build();
1049 .setMeteredness(METERED_YES).build() in createTemplate()1051 .setMeteredness(METERED_YES) in createTemplate()
224 .setMeteredness(android.net.NetworkStats.METERED_YES).build(), in prepareGetMultipathPreferenceTest()
184 method @NonNull public android.net.NetworkTemplate.Builder setMeteredness(int);
2694 template = new NetworkTemplate.Builder(MATCH_MOBILE).setMeteredness(METERED_YES).build();