Home
last modified time | relevance | path

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

/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java135 int networkId = getNetworkId(ssid); in addNetwork() local
136 if (networkId >= 0) { in addNetwork()
137 return networkId; in addNetwork()
160 networkId = mWifiManager.addNetwork(config); in addNetwork()
161 if (-1 == networkId) { in addNetwork()
165 return networkId; in addNetwork()
172 return config.networkId; in getNetworkId()
190 if (!mWifiManager.removeNetwork(config.networkId)) { in removeAllNetworks()
192 config.networkId, config.SSID)); in removeAllNetworks()
277 final int networkId = addNetwork(ssid, psk, scanSsid, disableMacRandomization); in connectToNetwork() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java297 boolean removeNetwork(int networkId) throws DeviceNotAvailableException { in removeNetwork() argument
298 if (!asBool(runWifiUtil("removeNetwork", "id", Integer.toString(networkId)))) { in removeNetwork()