Searched refs:networkId (Results 1 – 2 of 2) sorted by relevance
135 int networkId = getNetworkId(ssid); in addNetwork() local136 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 …]
297 boolean removeNetwork(int networkId) throws DeviceNotAvailableException { in removeNetwork() argument298 if (!asBool(runWifiUtil("removeNetwork", "id", Integer.toString(networkId)))) { in removeNetwork()