Home
last modified time | relevance | path

Searched refs:hasWifi (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java95 boolean hasWifi = nc.hasTransport(TRANSPORT_WIFI); in getTransportTypeFromNC()
104 if (trCount == 3 && hasCellular && hasWifi && hasVpn) { in getTransportTypeFromNC()
109 if (hasWifi) return TransportType.TT_WIFI_VPN; in getTransportTypeFromNC()
116 if (hasWifi) return TransportType.TT_WIFI; in getTransportTypeFromNC()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchIndexableResourcesTest.java81 boolean hasWifi = false; in testIndexHasWifiSettings()
85 hasWifi = true; in testIndexHasWifiSettings()
89 assertThat(hasWifi).isTrue(); in testIndexHasWifiSettings()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkItemsPreferenceControllerTest.java135 private void setSystemFeatures(boolean hasWifi, boolean hasTelephony, boolean hasBluetooth) { in setSystemFeatures() argument
136 when(mMockPm.hasSystemFeature(PackageManager.FEATURE_WIFI)).thenReturn(hasWifi); in setSystemFeatures()