Searched refs:mHasWifi (Results 1 – 2 of 2) sorted by relevance
87 private boolean mHasWifi; field in ConnectivityConstraintTest114 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()118 if (mHasWifi) { in setUp()155 if (mHasWifi) { in tearDown()183 if (!mHasWifi) { in testUnmeteredConstraintExecutes_withWifi()204 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi()226 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi_DataSaverOn()270 if (!mHasWifi) { in testConnectivityConstraintExecutes_withMeteredWifi()290 if (!mHasWifi) { in testConnectivityConstraintExecutes_transitionNetworks()341 if (!mHasWifi) { in testConnectivityConstraintExecutes_metered_Wifi()[all …]
118 private boolean mHasWifi; field in JobThrottlingTest175 mHasWifi = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()360 if (!mHasWifi) { in testBackgroundConnectivityJobsThrottled()529 assumeTrue(mHasWifi); in testJobsInRestrictedBucket_WithRequiredNetwork()872 assumeTrue(mHasWifi); in testRestrictingStopReason_RestrictedBucket()1015 if (mHasWifi && mWifiManager.isWifiEnabled() != mInitialWiFiState) { in tearDown()1165 if (!on && mHasWifi) { in setAirplaneMode()1176 && (!mHasWifi || !isWiFiConnected(mCm, mWifiManager)); in setAirplaneMode()