/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 | 208 * @param netId network to select for connection 211 boolean selectNetwork(int netId) { argument 212 if (netId == INVALID_NETWORK_ID) return false; 227 config.networkId = netId; 234 enableNetworkWithoutBroadcast(netId, true); 256 int netId = result.getNetworkId(); 258 if (newNetwork && netId != INVALID_NETWORK_ID) { 259 mWifiNative.enableNetwork(netId, false); 260 mConfiguredNetworks.get(netId).status = Status.ENABLED; 268 void updateStatus(int netId, DetailedStat argument 295 forgetNetwork(int netId) argument 343 removeNetwork(int netId) argument 368 enableNetwork(int netId, boolean disableOthers) argument 386 enableNetworkWithoutBroadcast(int netId, boolean disableOthers) argument 403 disableNetwork(int netId) argument 413 disableNetwork(int netId, int reason) argument 498 getLinkProperties(int netId) argument 512 getIpConfiguration(int netId) argument 538 setIpConfiguration(int netId, DhcpInfoInternal dhcpInfo) argument 555 clearIpConfiguration(int netId) argument 571 getProxyProperties(int netId) argument 584 isUsingStaticIp(int netId) argument 662 markAllNetworksDisabledExcept(int netId) argument 1472 migrateOldEapTlsIfNecessary(WifiConfiguration config, int netId) argument [all...] |
H A D | WifiNative.java | 149 public boolean setNetworkVariable(int netId, String name, String value) { argument 151 return doBooleanCommand("SET_NETWORK " + netId + " " + name + " " + value); 154 public String getNetworkVariable(int netId, String name) { argument 156 return doStringCommand("GET_NETWORK " + netId + " " + name); 159 public boolean removeNetwork(int netId) { argument 160 return doBooleanCommand("REMOVE_NETWORK " + netId); 163 public boolean enableNetwork(int netId, boolean disableOthers) { argument 165 return doBooleanCommand("SELECT_NETWORK " + netId); 167 return doBooleanCommand("ENABLE_NETWORK " + netId); 171 public boolean disableNetwork(int netId) { argument 634 p2pGroupAdd(int netId) argument 660 p2pReinvoke(int netId, String deviceAddress) argument [all...] |
H A D | IWifiManager.aidl | 38 boolean removeNetwork(int netId); 40 boolean enableNetwork(int netId, boolean disableOthers); 42 boolean disableNetwork(int netId);
|
H A D | WifiManager.java | 618 * @param netId the integer that identifies the network configuration 622 public boolean removeNetwork(int netId) { argument 624 return mService.removeNetwork(netId); 636 * @param netId the ID of the network in the list of configured networks 642 public boolean enableNetwork(int netId, boolean disableOthers) { argument 644 return mService.enableNetwork(netId, disableOthers); 654 * @param netId the ID of the network as returned by {@link #addNetwork}. 657 public boolean disableNetwork(int netId) { argument 659 return mService.disableNetwork(netId); 1465 public void forget(int netId, ActionListene argument 1480 disable(int netId, ActionListener listener) argument [all...] |
H A D | SupplicantStateTracker.java | 88 private void handleNetworkConnectionFailure(int netId) { argument 95 mWifiConfigStore.disableNetwork(netId, WifiConfiguration.DISABLED_AUTH_FAILURE);
|
H A D | WifiMonitor.java | 745 void notifyNetworkStateChange(NetworkInfo.DetailedState newState, String BSSID, int netId) { argument 748 netId, 0, BSSID); 752 netId, 0, BSSID);
|
H A D | WifiStateMachine.java | 972 * @param netId network id of the network 976 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { argument 977 Message resultMsg = channel.sendMessageSynchronously(CMD_ENABLE_NETWORK, netId, 987 * @param netId network id of the network 990 public boolean syncDisableNetwork(AsyncChannel channel, int netId) { argument 991 Message resultMsg = channel.sendMessageSynchronously(WifiManager.DISABLE_NETWORK, netId); 1617 log("netId=" + mLastNetworkId + " Link configured: " + 1822 log("Link configuration changed for netId: " + mLastNetworkId 3141 int netId = message.arg1; 3147 netId [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 128 int netId = mWifiManager.addNetwork(config); 129 assertTrue(netId != -1); 135 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 142 boolean ret = mWifiManager.removeNetwork(netId); 149 if (c.networkId == netId) { 165 int netId = mWifiManager.addNetwork(config); 166 assertTrue(netId != -1); 169 boolean ret = mWifiManager.enableNetwork(netId, true); 175 if (c.networkId == netId) { 183 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 108 sbuf.append("\n persist: ").append(netId); 123 netId = source.netId; 132 dest.writeInt(netId); 143 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 | 397 public void onDeleteGroup(int netId) { 398 if (DBG) logd("called onDeleteGroup() netId=" + netId); 399 mWifiNative.removeNetwork(netId); 1059 int netId = message.arg1; 1061 if (netId == WifiP2pGroup.PERSISTENT_NET_ID) { 1063 netId = mGroups.getNetworkId(mThisDevice.deviceAddress); 1064 if (netId != -1) { 1065 ret = mWifiNative.p2pGroupAdd(netId); 1359 int netId 2151 getClientList(int netId) argument 2166 removeClientFromList(int netId, String addr, boolean isRemovable) argument [all...] |
H A D | WifiP2pGroup.java | 259 public void setNetworkId(int netId) { argument 260 this.mNetId = netId;
|
H A D | WifiP2pManager.java | 1366 * @param netId he network id of the p2p group. 1370 public void deletePersistentGroup(Channel c, int netId, ActionListener listener) { argument 1372 c.mAsyncChannel.sendMessage(DELETE_PERSISTENT_GROUP, netId, c.putListener(listener));
|
/frameworks/base/services/java/com/android/server/ |
H A D | WifiService.java | 775 * @param netId the integer that identifies the network configuration 779 public boolean removeNetwork(int netId) { argument 782 return mWifiStateMachine.syncRemoveNetwork(mWifiStateMachineChannel, netId); 791 * @param netId the integer that identifies the network configuration 796 public boolean enableNetwork(int netId, boolean disableOthers) { argument 799 return mWifiStateMachine.syncEnableNetwork(mWifiStateMachineChannel, netId, 809 * @param netId the integer that identifies the network configuration 813 public boolean disableNetwork(int netId) { argument 816 return mWifiStateMachine.syncDisableNetwork(mWifiStateMachineChannel, netId);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 656 int netId = wifiConfig.networkId; 657 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() {
|