Searched refs:mHasWifi (Results 1 – 2 of 2) sorted by relevance
72 private boolean mHasWifi; field in ConnectivityConstraintTest87 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()119 if (!mHasWifi) { in testUnmeteredConstraintExecutes_withWifi()140 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi()162 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi_DataSaverOn()210 if (!mHasWifi) { in testConnectivityConstraintExecutes_withMeteredWifi()230 if (!mHasWifi) { in testConnectivityConstraintExecutes_transitionNetworks()293 if (!mHasWifi) { in testConnectivityConstraintExecutes_metered_Wifi()319 if (mHasWifi) { in testCellularConstraintExecutedAndStopped_Foreground()354 if (mHasWifi) { in testExpeditedJobExecutes_IdleApp()[all …]
79 private final boolean mHasWifi; field in NetworkingHelper101 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in NetworkingHelper()109 mInitialWiFiState = mHasWifi && isWifiEnabled(); in NetworkingHelper()116 if (!mHasWifi) { in ensureSavedWifiNetwork()201 return mHasWifi; in hasWifiFeature()241 if (mHasWifi) { in setAllNetworksEnabled()257 if (!on && mHasWifi) { in setAirplaneMode()338 if (!mHasWifi) { in setWifiState()376 if (mHasWifi) { in tearDown()