Home
last modified time | relevance | path

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

/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java49 private WifiManager mWifiManager; field in WifiE2eTests
55 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
63 mWifiManager.setWifiEnabled(true); in enableWifi()
64 while (!mWifiManager.isWifiEnabled()) { in enableWifi()
75 mWifiManager.setWifiEnabled(false); in disableWifi()
76 while (mWifiManager.isWifiEnabled()) { in disableWifi()
86 WifiInfo info = mWifiManager.getConnectionInfo(); in waitForSupplicantState()
106 int networkId = mWifiManager.addNetwork(conf); in enableNetwork()
108 mWifiManager.enableNetwork(networkId, false); in enableNetwork()
119 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in testWifiInitialization()
[all …]
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java60 private WifiManager mWifiManager; field in RilE2eTests
74 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
87 mWifiManager.setWifiEnabled(false); in disableWifi()
89 while (mWifiManager.isWifiEnabled() && count-- > 0) { in disableWifi()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceService.java58 private GceWifiManager mWifiManager = null; field in GceService
79 mWifiManager = new GceWifiManager(this, mEventReporter, mExecutor); in onCreate()
86 mExecutor.schedule(mWifiManager); in onCreate()
227 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()
/device/generic/goldfish/provision/EmulatorProvisonLib/src/com/android/sdksetup/
DProvisionActivity.java100 … final WifiManager mWifiManager = getApplicationContext().getSystemService(WifiManager.class); in provisionWifi() local
101 if (!mWifiManager.setWifiEnabled(true)) { in provisionWifi()
113 final int netId = mWifiManager.addNetwork(config); in provisionWifi()
115 if (netId == ADD_NETWORK_FAIL || !mWifiManager.enableNetwork(netId, true)) { in provisionWifi()
/device/google/atv/TvProvision/src/com/android/tv/provision/
DDefaultActivity.java57 WifiManager mWifiManager = getApplicationContext().getSystemService(WifiManager.class); in onCreate() local
58 int netId = mWifiManager.addNetwork(config); in onCreate()
59 if (netId == ADD_NETWORK_FAIL || mWifiManager.enableNetwork(netId, true)) { in onCreate()