/frameworks/base/wifi/java/android/net/wifi/ |
NetworkUpdateResult.java | 22 int netId; 28 netId = id; 34 netId = INVALID_NETWORK_ID; 40 netId = id; 44 return netId;
|
WifiConfigStore.java | 210 * @param netId network to select for connection 213 boolean selectNetwork(int netId) { 214 if (netId == INVALID_NETWORK_ID) return false; 229 config.networkId = netId; 236 enableNetworkWithoutBroadcast(netId, true); 258 int netId = result.getNetworkId(); 260 if (newNetwork && netId != INVALID_NETWORK_ID) { 261 mWifiNative.enableNetwork(netId, false); 262 mConfiguredNetworks.get(netId).status = Status.ENABLED; 270 void updateStatus(int netId, DetailedState state) [all...] |
IWifiManager.aidl | 38 boolean removeNetwork(int netId); 40 boolean enableNetwork(int netId, boolean disableOthers); 42 boolean disableNetwork(int netId);
|
WifiNative.java | 146 public boolean setNetworkVariable(int netId, String name, String value) { 148 return doBooleanCommand("SET_NETWORK " + netId + " " + name + " " + value); 151 public String getNetworkVariable(int netId, String name) { 153 return doStringCommand("GET_NETWORK " + netId + " " + name); 156 public boolean removeNetwork(int netId) { 157 return doBooleanCommand("REMOVE_NETWORK " + netId); 160 public boolean enableNetwork(int netId, boolean disableOthers) { 162 return doBooleanCommand("SELECT_NETWORK " + netId); 164 return doBooleanCommand("ENABLE_NETWORK " + netId); 168 public boolean disableNetwork(int netId) { [all...] |
WifiManager.java | 647 * @param netId the integer that identifies the network configuration 651 public boolean removeNetwork(int netId) { 653 return mService.removeNetwork(netId); 665 * @param netId the ID of the network in the list of configured networks 671 public boolean enableNetwork(int netId, boolean disableOthers) { 673 return mService.enableNetwork(netId, disableOthers); 683 * @param netId the ID of the network as returned by {@link #addNetwork}. 686 public boolean disableNetwork(int netId) { 688 return mService.disableNetwork(netId); [all...] |
SupplicantStateTracker.java | 92 private void handleNetworkConnectionFailure(int netId) { 99 mWifiConfigStore.disableNetwork(netId, WifiConfiguration.DISABLED_AUTH_FAILURE);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pGroupList.java | 42 public void onDeleteGroup(int netId); 53 protected void entryRemoved(boolean evicted, Integer netId, 89 * @param netId 91 void remove(int netId) { 92 mGroups.remove(netId); 167 * @param netId network id. 170 String getOwnerAddr(int netId) { 171 WifiP2pGroup grp = mGroups.get(netId); 183 * @param netId network id. 186 boolean contains(int netId) { [all...] |
WifiP2pConfig.java | 55 public int netId = WifiP2pGroup.PERSISTENT_NET_ID; 112 sbuf.append("\n persist: ").append(netId); 127 netId = source.netId; 136 dest.writeInt(netId); 147 config.netId = in.readInt();
|
WifiP2pService.java | 426 public void onDeleteGroup(int netId) { 427 if (DBG) logd("called onDeleteGroup() netId=" + netId); 428 mWifiNative.removeNetwork(netId); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
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...] |
/external/dnsmasq/src/ |
rfc2131.c | 97 static size_t dhcp_packet_size(struct dhcp_packet *mess, struct dhcp_netid *netid, 106 struct dhcp_netid *netid, 116 static int prune_vendor_opts(struct dhcp_netid *netid); 117 static struct dhcp_opt *pxe_opts(int pxe_arch, struct dhcp_netid *netid); 118 struct dhcp_boot *find_boot(struct dhcp_netid *netid); 139 struct dhcp_netid *netid; local 156 netid = &iface_id; 240 vendor->netid.next = netid; 241 netid = &vendor->netid [all...] |
option.c | 316 { LOPT_MATCH, ARG_DUP, "<netid>,<optspec>", gettext_noop("Set tag if client includes matching option in request."), NULL }, 677 new->netid = NULL; 721 new->netid = opt_malloc(sizeof (struct dhcp_netid)); 724 new->netid->net = opt_string_alloc(arg+4); 726 new->netid->net = opt_string_alloc(arg); 727 new->netid->next = np; 728 np = new->netid; 957 !new->netid || 958 new->netid->next) [all...] |
dnsmasq.h | 448 struct dhcp_netid netid; member in struct:dhcp_config 476 struct dhcp_netid *netid; member in struct:dhcp_opt 495 struct dhcp_netid *netid; member in struct:dhcp_boot 503 struct dhcp_netid *netid; member in struct:pxe_service 517 struct dhcp_netid netid; member in struct:dhcp_vendor 525 struct dhcp_netid netid; member in struct:dhcp_mac 546 struct dhcp_netid netid, *filter; member in struct:dhcp_context
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 41 private int netid; field in class:WifiAPITest 113 netid = Integer.parseInt(value.toString()); 114 mWifiManager.disableNetwork(netid); 133 netid = Integer.parseInt(value.toString()); 134 mWifiManager.enableNetwork(netid, false);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 54 for (int netid = 0; netid < 32; netid++) { 55 methods[i].invoke(mP2pMgr, mChannel, netid, null);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiEnterpriseConfigTest.java | 89 int netId = mWifiManager.addNetwork(config); 91 mWifiManager.removeNetwork(netId);
|
WifiManagerTest.java | 296 int netId = mWifiManager.addNetwork(wifiConfiguration); 306 assertTrue(mWifiManager.enableNetwork(netId, disableOthers)); 312 assertTrue(mWifiManager.enableNetwork(netId, disableOthers)); 316 assertTrue(mWifiManager.disableNetwork(netId)); 323 netId = mWifiManager.updateNetwork(wifiConfiguration); 328 assertTrue(mWifiManager.removeNetwork(netId));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiManager.java | 98 public boolean enableNetwork(int netId, boolean disableOthers) { 99 lastEnabledNetwork = new Pair<Integer, Boolean>(netId, disableOthers);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/lib/ |
libnss_nis-2.7.so | |
libnss_nis.so | |
libnss_nis.so.2 | |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/lib/ |
libnss_nis-2.7.so | |
libnss_nis.so | |
libnss_nis.so.2 | |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 483 * @param netId the integer that identifies the network configuration 487 public boolean removeNetwork(int netId) { 490 return mWifiStateMachine.syncRemoveNetwork(mWifiStateMachineChannel, netId); 499 * @param netId the integer that identifies the network configuration 504 public boolean enableNetwork(int netId, boolean disableOthers) { 507 return mWifiStateMachine.syncEnableNetwork(mWifiStateMachineChannel, netId, 517 * @param netId the integer that identifies the network configuration 521 public boolean disableNetwork(int netId) { 524 return mWifiStateMachine.syncDisableNetwork(mWifiStateMachineChannel, netId); [all...] |