Home
last modified time | relevance | path

Searched refs:mWifiManager (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java46 private WifiManager mWifiManager; field in WifiE2eTests
52 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
59 mWifiManager.setWifiEnabled(true); in enableWifi()
60 while (!(mWifiManager.isWifiEnabled() && mWifiManager.pingSupplicant())) { in enableWifi()
61 Log.i(TAG, "Waiting for WIFI (Enabled: " + mWifiManager.isWifiEnabled() + in enableWifi()
62 ", Ready: " + mWifiManager.pingSupplicant() + ")"); in enableWifi()
73 mWifiManager.setWifiEnabled(false); in disableWifi()
74 while (mWifiManager.isWifiEnabled()) { in disableWifi()
85 WifiInfo info = mWifiManager.getConnectionInfo(); in waitForSupplicantState()
107 int networkId = mWifiManager.addNetwork(conf); in enableNetwork()
[all …]
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java51 private WifiManager mWifiManager; field in RilE2eTests
58 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
71 mWifiManager.setWifiEnabled(false); in disableWifi()
73 while (mWifiManager.isWifiEnabled() && count-- > 0) { in disableWifi()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceService.java53 private GceWifiManager mWifiManager = null; field in GceService
67 mWifiManager = new GceWifiManager(this, mBootReporter, mExecutor); in onCreate()
69 mExecutor.schedule(mWifiManager); in onCreate()
163 pw.println(" WiFi configured: " + mWifiManager.getWifiReady().isDone()); in dump()
DGceWifiManager.java42 private final WifiManager mWifiManager; field in GceWifiManager
53 mWifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); in GceWifiManager()
103 WifiInfo info = mWifiManager.getConnectionInfo(); in execute()