/frameworks/base/wifi/java/android/net/wifi/ |
H A D | NetworkUpdateResult.java | 22 int netId; field in class:NetworkUpdateResult 28 netId = id; 34 netId = INVALID_NETWORK_ID; 40 netId = id; 44 return netId;
|
H A D | WifiConfigStore.java | 249 * @param netId network to select for connection 252 boolean selectNetwork(int netId) { argument 253 if (VDBG) localLog("selectNetwork", netId); 254 if (netId == INVALID_NETWORK_ID) return false; 269 config.networkId = netId; 276 enableNetworkWithoutBroadcast(netId, true); 299 int netId = result.getNetworkId(); 301 if (newNetwork && netId != INVALID_NETWORK_ID) { 302 mWifiNative.enableNetwork(netId, false); 303 mConfiguredNetworks.get(netId) 311 updateStatus(int netId, DetailedState state) argument 338 forgetNetwork(int netId) argument 379 removeNetwork(int netId) argument 388 removeConfigAndSendBroadcastIfNeeded(int netId) argument 412 enableNetwork(int netId, boolean disableOthers) argument 432 enableNetworkWithoutBroadcast(int netId, boolean disableOthers) argument 467 disableNetwork(int netId) argument 477 disableNetwork(int netId, int reason) argument 563 getLinkProperties(int netId) argument 572 setLinkProperties(int netId, LinkProperties linkProperties) argument 587 clearLinkProperties(int netId) argument 603 getProxyProperties(int netId) argument 616 isUsingStaticIp(int netId) argument 731 markAllNetworksDisabledExcept(int netId) argument 1711 localLog(String s, int netId) argument [all...] |
H A D | IWifiManager.aidl | 40 boolean removeNetwork(int netId); 42 boolean enableNetwork(int netId, boolean disableOthers); 44 boolean disableNetwork(int netId);
|
H A D | WifiNative.java | 211 public boolean setNetworkVariable(int netId, String name, String value) { argument 213 return doBooleanCommand("SET_NETWORK " + netId + " " + name + " " + value); 216 public String getNetworkVariable(int netId, String name) { argument 220 return doStringCommandWithoutLogging("GET_NETWORK " + netId + " " + name); 223 public boolean removeNetwork(int netId) { argument 224 return doBooleanCommand("REMOVE_NETWORK " + netId); 227 public boolean enableNetwork(int netId, boolean disableOthers) { argument 229 return doBooleanCommand("SELECT_NETWORK " + netId); 231 return doBooleanCommand("ENABLE_NETWORK " + netId); 235 public boolean disableNetwork(int netId) { argument 790 p2pGroupAdd(int netId) argument 818 p2pReinvoke(int netId, String deviceAddress) argument [all...] |
H A D | WifiManager.java | 657 * @param netId the integer that identifies the network configuration 661 public boolean removeNetwork(int netId) { argument 663 return mService.removeNetwork(netId); 675 * @param netId the ID of the network in the list of configured networks 681 public boolean enableNetwork(int netId, boolean disableOthers) { argument 683 return mService.enableNetwork(netId, disableOthers); 693 * @param netId the ID of the network as returned by {@link #addNetwork}. 696 public boolean disableNetwork(int netId) { argument 698 return mService.disableNetwork(netId); 1645 public void forget(int netId, ActionListene argument 1660 disable(int netId, ActionListener listener) argument [all...] |
H A D | WifiEnterpriseConfig.java | 660 boolean migrateOldEapTlsNative(WifiNative wifiNative, int netId) { argument 661 String oldPrivateKey = wifiNative.getNetworkVariable(netId, OLD_PRIVATE_KEY_NAME); 691 wifiNative.setNetworkVariable(netId, ENGINE_KEY, mFields.get(ENGINE_KEY)); 692 wifiNative.setNetworkVariable(netId, ENGINE_ID_KEY, mFields.get(ENGINE_ID_KEY)); 693 wifiNative.setNetworkVariable(netId, PRIVATE_KEY_ID_KEY, mFields.get(PRIVATE_KEY_ID_KEY)); 695 wifiNative.setNetworkVariable(netId, OLD_PRIVATE_KEY_NAME, EMPTY_VALUE);
|
H A D | SupplicantStateTracker.java | 96 private void handleNetworkConnectionFailure(int netId, int disableReason) { argument 103 mWifiConfigStore.disableNetwork(netId, disableReason);
|
H A D | WifiMonitor.java | 925 void notifyNetworkStateChange(NetworkInfo.DetailedState newState, String BSSID, int netId) { argument 928 netId, 0, BSSID); 932 netId, 0, BSSID);
|
H A D | WifiStateMachine.java | 1373 * @param netId network id of the network 1377 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { argument 1378 Message resultMsg = channel.sendMessageSynchronously(CMD_ENABLE_NETWORK, netId, 1388 * @param netId network id of the network 1391 public boolean syncDisableNetwork(AsyncChannel channel, int netId) { argument 1392 Message resultMsg = channel.sendMessageSynchronously(WifiManager.DISABLE_NETWORK, netId); 2067 log("Link configuration changed for netId: " + mLastNetworkId 3453 int netId = message.arg1; 3459 netId = result.getNetworkId(); 3462 if (mWifiConfigStore.selectNetwork(netId) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 122 int netId = mWifiManager.addNetwork(config); 123 assertTrue(netId != -1); 129 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 136 boolean ret = mWifiManager.removeNetwork(netId); 143 if (c.networkId == netId) { 159 int netId = mWifiManager.addNetwork(config); 160 assertTrue(netId != -1); 163 boolean ret = mWifiManager.enableNetwork(netId, true); 169 if (c.networkId == netId) { 177 ret = mWifiManager.disableNetwork(netId); [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pConfig.java | 55 public int netId = WifiP2pGroup.PERSISTENT_NET_ID; field in class:WifiP2pConfig 112 sbuf.append("\n persist: ").append(netId); 127 netId = source.netId; 136 dest.writeInt(netId); 147 config.netId = in.readInt();
|
H A D | WifiP2pGroupList.java | 42 public void onDeleteGroup(int netId); argument 53 protected void entryRemoved(boolean evicted, Integer netId, 89 * @param netId 91 void remove(int netId) { argument 92 mGroups.remove(netId); 167 * @param netId network id. 170 String getOwnerAddr(int netId) { argument 171 WifiP2pGroup grp = mGroups.get(netId); 183 * @param netId network id. 186 boolean contains(int netId) { argument [all...] |
H A D | WifiP2pService.java | 436 public void onDeleteGroup(int netId) { 437 if (DBG) logd("called onDeleteGroup() netId=" + netId); 438 mWifiNative.removeNetwork(netId); 1201 int netId = message.arg1; 1203 if (netId == WifiP2pGroup.PERSISTENT_NET_ID) { 1205 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); 1206 if (netId != -1) { 1207 ret = mWifiNative.p2pGroupAdd(netId); 1574 int netId 2416 getClientList(int netId) argument 2431 removeClientFromList(int netId, String addr, boolean isRemovable) argument [all...] |
H A D | WifiP2pGroup.java | 261 public void setNetworkId(int netId) { argument 262 this.mNetId = netId;
|
H A D | WifiP2pManager.java | 1285 * @param netId he network id of the p2p group. 1289 public void deletePersistentGroup(Channel c, int netId, ActionListener listener) { argument 1291 c.mAsyncChannel.sendMessage(DELETE_PERSISTENT_GROUP, netId, c.putListener(listener));
|
/frameworks/base/services/java/com/android/server/wifi/ |
H A D | WifiService.java | 718 * @param netId the integer that identifies the network configuration 722 public boolean removeNetwork(int netId) { argument 725 return mWifiStateMachine.syncRemoveNetwork(mWifiStateMachineChannel, netId); 734 * @param netId the integer that identifies the network configuration 739 public boolean enableNetwork(int netId, boolean disableOthers) { argument 742 return mWifiStateMachine.syncEnableNetwork(mWifiStateMachineChannel, netId, 752 * @param netId the integer that identifies the network configuration 756 public boolean disableNetwork(int netId) { argument 759 return mWifiStateMachine.syncDisableNetwork(mWifiStateMachineChannel, netId);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestBase.java | 611 int netId = wifiConfig.networkId; 612 mWifiManager.forget(netId, new WifiManager.ActionListener() {
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 628 int netId = wifiConfig.networkId; 629 mWifiManager.forget(netId, new WifiManager.ActionListener() {
|