Home
last modified time | relevance | path

Searched refs:mHasWifi (Results 1 – 2 of 2) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java59 private boolean mHasWifi; field in ConnectivityConstraintTest
80 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()
DJobThrottlingTest.java87 private boolean mHasWifi; field in JobThrottlingTest
138 mHasWifi = mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI); in setUp()
227 if (!mHasWifi) { in testBackgroundConnectivityJobsThrottled()