Searched refs:mHasWifi (Results 1 – 2 of 2) sorted by relevance
59 private boolean mHasWifi; field in ConnectivityConstraintTest80 mHasWifi = packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()118 if (!mHasWifi) { in testUnmeteredConstraintExecutes_withWifi()139 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi()161 if (!mHasWifi) { in testConnectivityConstraintExecutes_withWifi_DataSaverOn()205 if (!mHasWifi) { in testConnectivityConstraintExecutes_transitionNetworks()369 if (!mHasWifi) { in testMeteredConstraintFails_withWiFi()466 if (mHasWifi && mWifiManager.isWifiEnabled()) { in disconnectWifiToConnectToMobile()
87 private boolean mHasWifi; field in JobThrottlingTest138 mHasWifi = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()227 if (!mHasWifi) { in testBackgroundConnectivityJobsThrottled()