Searched refs:hasWifi (Results 1 – 3 of 3) sorted by relevance
95 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()
81 boolean hasWifi = false; in testIndexHasWifiSettings()85 hasWifi = true; in testIndexHasWifiSettings()89 assertThat(hasWifi).isTrue(); in testIndexHasWifiSettings()
135 private void setSystemFeatures(boolean hasWifi, boolean hasTelephony, boolean hasBluetooth) { in setSystemFeatures() argument136 when(mMockPm.hasSystemFeature(PackageManager.FEATURE_WIFI)).thenReturn(hasWifi); in setSystemFeatures()