/frameworks/base/wifi/java/android/net/wifi/ |
NetworkUpdateResult.java | 22 int netId; 27 netId = id; 33 netId = INVALID_NETWORK_ID; 39 netId = id; 43 return netId;
|
WifiConfigStore.java | 204 int netId = result.getNetworkId(); 205 if (netId != INVALID_NETWORK_ID) { 206 selectNetwork(netId); 210 return netId; 224 * @param netId network to select for connection 226 static void selectNetwork(int netId) { 242 config.networkId = netId; 249 enableNetworkWithoutBroadcast(netId, true); 263 int netId = result.getNetworkId(); 265 if (newNetwork && netId != INVALID_NETWORK_ID) [all...] |
IWifiManager.aidl | 38 boolean removeNetwork(int netId); 40 boolean enableNetwork(int netId, boolean disableOthers); 42 boolean disableNetwork(int netId);
|
WifiNative.java | 91 public native static boolean setNetworkVariableCommand(int netId, String name, String value); 93 public native static String getNetworkVariableCommand(int netId, String name); 95 public native static boolean removeNetworkCommand(int netId); 97 public native static boolean enableNetworkCommand(int netId, boolean disableOthers); 99 public native static boolean disableNetworkCommand(int netId); 340 public static boolean p2pReinvoke(int netId, String deviceAddress) { 341 if (deviceAddress == null || netId < 0) return false; 343 return doBooleanCommand("P2P_INVITE persistent=" + netId + " peer=" + deviceAddress);
|
WifiManager.java | 570 * @param netId the integer that identifies the network configuration 574 public boolean removeNetwork(int netId) { 576 return mService.removeNetwork(netId); 588 * @param netId the ID of the network in the list of configured networks 594 public boolean enableNetwork(int netId, boolean disableOthers) { 596 return mService.enableNetwork(netId, disableOthers); 606 * @param netId the ID of the network as returned by {@link #addNetwork}. 609 public boolean disableNetwork(int netId) { 611 return mService.disableNetwork(netId); 621 * @param netId the ID of the network as returned by {@link #addNetwork} [all...] |
SupplicantStateTracker.java | 85 private void handleNetworkConnectionFailure(int netId) { 92 WifiConfigStore.disableNetwork(netId, WifiConfiguration.DISABLED_AUTH_FAILURE);
|
WifiStateMachine.java | 823 * @param netId network id of the network 827 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { 828 Message resultMsg = channel.sendMessageSynchronously(CMD_ENABLE_NETWORK, netId, 838 * @param netId network id of the networ [all...] |
WifiMonitor.java | 584 void notifyNetworkStateChange(NetworkInfo.DetailedState newState, String BSSID, int netId) { 587 netId, 0, BSSID); 591 netId, 0, BSSID);
|
/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...] |
/frameworks/base/core/jni/ |
android_net_wifi_Wifi.cpp | 217 jint netId, 229 return doBooleanCommand("OK", "SET_NETWORK %d %s %s", netId, name.c_str(), value.c_str()); 234 jint netId, 241 return doStringCommand(env, "GET_NETWORK %d %s", netId, name.c_str()); 244 static jboolean android_net_wifi_removeNetworkCommand(JNIEnv* env, jobject, jint netId) 246 return doBooleanCommand("OK", "REMOVE_NETWORK %d", netId); 251 jint netId, 254 return doBooleanCommand("OK", "%s_NETWORK %d", disableOthers ? "SELECT" : "ENABLE", netId); 257 static jboolean android_net_wifi_disableNetworkCommand(JNIEnv* env, jobject, jint netId) 259 return doBooleanCommand("OK", "DISABLE_NETWORK %d", netId); [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 366 int netId = mWifiManager.addNetwork(wifiConfiguration); 376 assertTrue(mWifiManager.enableNetwork(netId, disableOthers)); 382 assertTrue(mWifiManager.enableNetwork(netId, disableOthers)); 386 assertTrue(mWifiManager.disableNetwork(netId)); 393 netId = mWifiManager.updateNetwork(wifiConfiguration); 398 assertTrue(mWifiManager.removeNetwork(netId));
|
/frameworks/base/services/java/com/android/server/ |
WifiService.java | 691 * @param netId the integer that identifies the network configuration 695 public boolean removeNetwork(int netId) { 698 return mWifiStateMachine.syncRemoveNetwork(mWifiStateMachineChannel, netId); 707 * @param netId the integer that identifies the network configuration 712 public boolean enableNetwork(int netId, boolean disableOthers) { 715 return mWifiStateMachine.syncEnableNetwork(mWifiStateMachineChannel, netId, 725 * @param netId the integer that identifies the network configuration 729 public boolean disableNetwork(int netId) { 732 return mWifiStateMachine.syncDisableNetwork(mWifiStateMachineChannel, netId); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 600 int netId = wifiConfig.networkId; 601 mWifiManager.forgetNetwork(netId);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 641 int netId = wifiConfig.networkId; 642 mWifiManager.forgetNetwork(netId);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pService.java | 678 int netId = configuredNetworkId(mSavedConnectConfig.deviceAddress); 679 if (netId >= 0) { 681 WifiNative.p2pReinvoke(netId, mSavedConnectConfig.deviceAddress); [all...] |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |