Home
last modified time | relevance | path

Searched refs:MATCH_WIFI (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkTemplateTest.kt30 import android.net.NetworkTemplate.MATCH_WIFI in <lambda>()
141 NetworkTemplate.Builder(MATCH_WIFI).build().let { in <lambda>()
142 val expectedTemplate = NetworkTemplate(MATCH_WIFI, in <lambda>()
150 NetworkTemplate.Builder(MATCH_WIFI).setWifiNetworkKeys(setOf(TEST_WIFI_KEY1)).build().let { in <lambda>()
152 NetworkTemplate(MATCH_WIFI, emptyArray<String>() /*subscriberIds*/, in <lambda>()
160 NetworkTemplate.Builder(MATCH_WIFI).setSubscriberIds(setOf(TEST_IMSI1)) in <lambda>()
162 val expectedTemplate = NetworkTemplate(MATCH_WIFI, arrayOf(TEST_IMSI1), in <lambda>()
185 NetworkTemplate.Builder(MATCH_WIFI).setWifiNetworkKeys( in <lambda>()
187 val expectedTemplate = NetworkTemplate.Builder(MATCH_WIFI).setWifiNetworkKeys( in <lambda>()
202 NetworkTemplate.Builder(MATCH_WIFI).setWifiNetworkKeys(setOf(null)).build() in <lambda>()
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt38 import android.net.NetworkTemplate.MATCH_WIFI
152 val templateWifiKey1 = NetworkTemplate.Builder(MATCH_WIFI) in testWifiMatches()
154 val templateWifiKey1ImsiNull = NetworkTemplate.Builder(MATCH_WIFI) in testWifiMatches()
157 val templateWifiKey1Imsi1 = NetworkTemplate.Builder(MATCH_WIFI) in testWifiMatches()
160 val templateWifiKeyAllImsi1 = NetworkTemplate.Builder(MATCH_WIFI) in testWifiMatches()
162 val templateNullWifiKey = NetworkTemplate(MATCH_WIFI, in testWifiMatches()
500 val templateWifiKey1 = NetworkTemplate.Builder(MATCH_WIFI) in testEquals()
502 val dupTemplateWifiKey1 = NetworkTemplate(MATCH_WIFI, emptyArray<String>(), in testEquals()
505 val templateWifiKey2 = NetworkTemplate.Builder(MATCH_WIFI) in testEquals()
518 val templateWifi = NetworkTemplate(MATCH_WIFI, emptyArray<String>(), in testParcelUnparcel()
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkTemplate.java85 MATCH_WIFI,
96 public static final int MATCH_WIFI = 4; field in NetworkTemplate
174 case MATCH_WIFI: in isKnownMatchRule()
243 return new NetworkTemplate.Builder(MATCH_WIFI).build(); in buildTemplateWifiWildcard()
353 return new NetworkTemplate.Builder(MATCH_WIFI) in buildTemplateWifi()
378 return new NetworkTemplate.Builder(MATCH_WIFI) in buildTemplateWifi()
472 if (7 == matchRule) return MATCH_WIFI; in getBackwardsCompatibleMatchRule()
735 case MATCH_WIFI: in matches()
899 case MATCH_WIFI: in getMatchRuleName()
1186 if (mMatchRule != MATCH_WIFI && mMatchRule != MATCH_TEST in validateWifiNetworkKeys()
DNetworkStatsCollection.java36 import static android.net.NetworkTemplate.MATCH_WIFI;
805 dumpCheckin(pw, start, end, new NetworkTemplate.Builder(MATCH_WIFI).build(), "wifi"); in dumpCheckin()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java30 import static android.net.NetworkTemplate.MATCH_WIFI;
215 new NetworkTemplate.Builder(MATCH_WIFI).build()); in testNetworkTemplateWhenRunningQueryDetails_NoSubscriberId()
217 new NetworkTemplate.Builder(MATCH_WIFI).build()); in testNetworkTemplateWhenRunningQueryDetails_NoSubscriberId()
224 new NetworkTemplate.Builder(MATCH_WIFI) in testNetworkTemplateWhenRunningQueryDetails_MergedCarrierWifi()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt136 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build() in warning_wifiAndHasSim_displayNonCarrierWarning()
154 val template = NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build() in warning_wifiAndNoSim_noWarning()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStatsManager.java24 import static android.net.NetworkTemplate.MATCH_WIFI;
984 case NetworkTemplate.MATCH_WIFI: in networkTypeForTemplate()
1056 ? new NetworkTemplate.Builder(MATCH_WIFI).build() in createTemplate()
1057 : new NetworkTemplate.Builder(MATCH_WIFI) in createTemplate()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkTemplates.kt42 NetworkTemplate.MATCH_WIFI -> R.string.wifi_data_usage in getDefaultTemplate()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/policy/
DNetworkPolicyRepositoryTest.kt64 val Template2: NetworkTemplate = NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/
DMetricDisplay.java55 NetworkTemplate.MATCH_WIFI,
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java156 return new NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build(); in getDefaultTemplate()
DDataUsageList.kt106 if (template.matchRule != NetworkTemplate.MATCH_WIFI) { in <lambda>()
DDataUsageSummary.java183 category.setTemplate(new NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build(), 0); in addWifiSection()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java145 new NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build(), controller)); in dumpDataUsage()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsObserversTest.java29 import static android.net.NetworkTemplate.MATCH_WIFI;
90 private static NetworkTemplate sTemplateWifi = new NetworkTemplate.Builder(MATCH_WIFI).build();
DNetworkStatsServiceTest.java53 import static android.net.NetworkTemplate.MATCH_WIFI;
227 private static NetworkTemplate sTemplateWifi = new NetworkTemplate.Builder(MATCH_WIFI)
229 private static NetworkTemplate sTemplateCarrierWifi1 = new NetworkTemplate.Builder(MATCH_WIFI)
1336 new NetworkTemplate.Builder(MATCH_WIFI) in testGetLatestSummary()
2092 final NetworkTemplate templateWifi = new NetworkTemplate.Builder(MATCH_WIFI).build(); in testOperationCount_nonDefault_traffic()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java344 return NetworkTemplate.MATCH_WIFI; in getMatchRule()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java276 .isEqualTo(NetworkTemplate.MATCH_WIFI); in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-current.txt171 field public static final int MATCH_WIFI = 4; // 0x4
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java372 mDataUsagePreference.setTemplate(new NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI) in addPreferences()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java51 import static android.net.NetworkTemplate.MATCH_WIFI;
2714 template = new NetworkTemplate.Builder(MATCH_WIFI).build();
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1124 Landroid/net/NetworkTemplate;->MATCH_WIFI:I