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.java129 int networkId = getNetworkId(ssid); in addNetwork() local
130 if (networkId >= 0) { in addNetwork()
131 return networkId; in addNetwork()
149 networkId = mWifiManager.addNetwork(config); in addNetwork()
150 if (-1 == networkId) { in addNetwork()
154 return networkId; in addNetwork()
161 return config.networkId; in getNetworkId()
179 if (!mWifiManager.removeNetwork(config.networkId)) { in removeAllNetworks()
181 config.networkId, config.SSID)); in removeAllNetworks()
258 final int networkId = addNetwork(ssid, psk, scanSsid); in connectToNetwork() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java232 boolean removeNetwork(int networkId) throws DeviceNotAvailableException { in removeNetwork() argument
233 if (!asBool(runWifiUtil("removeNetwork", "id", Integer.toString(networkId)))) { in removeNetwork()