Home
last modified time | relevance | path

Searched refs:setWifiState (Results 1 – 3 of 3) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java103 setWifiState(mInitialWiFiState, mContext, mCm, mWifiManager); in tearDown()
416 setWifiState(true, mContext, mCm, mWifiManager); in connectToWifi()
424 setWifiState(false, mContext, mCm, mWifiManager); in disconnectFromWifi()
432 static void setWifiState(boolean enable, Context context, ConnectivityManager cm, in setWifiState() method in ConnectivityConstraintTest
DJobThrottlingTest.java19 import static android.jobscheduler.cts.ConnectivityConstraintTest.setWifiState;
231 setWifiState(true, mContext, mCm, mWifiManager); in testBackgroundConnectivityJobsThrottled()
333 setWifiState(mInitialWiFiState, mContext, mCm, mWifiManager); in tearDown()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java252 private void setWifiState(final boolean enabled) { in setWifiState() method in ConnectivityManagerLegacyTest
266 setWifiState(true); in connectToWifi()
270 setWifiState(false); in disconnectFromWifi()