Searched refs:networkId (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
H A DStateChangeResult.java26 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, argument
31 this.networkId = networkId;
34 int networkId; field in class:StateChangeResult
H A DSupplicantStateTracker.java224 stateChangeResult.networkId);
225 handleNetworkConnectionFailure(stateChangeResult.networkId);
266 stateChangeResult.networkId);
267 handleNetworkConnectionFailure(stateChangeResult.networkId);
H A DWifiConfiguration.java265 public int networkId; field in class:WifiConfiguration
403 networkId = INVALID_NETWORK_ID;
433 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID).
521 networkId = -1;
589 networkId = source.networkId;
620 dest.writeInt(networkId);
651 config.networkId = in.readInt();
H A DWifiMonitor.java673 int networkId = -1;
694 networkId = value;
712 notifySupplicantStateChange(networkId, wifiSsid, BSSID, newSupplicantState);
718 int networkId = -1;
726 networkId = Integer.parseInt(match.group(2));
728 networkId = -1;
732 notifyNetworkStateChange(newState, BSSID, networkId);
738 * @param networkId the configured network on which the state change occurred
760 * @param networkId the configured network on which the state change occurred
765 void notifySupplicantStateChange(int networkId, WifiSsi argument
[all...]
H A DWifiConfigStore.java183 if(mWifiNative.enableNetwork(config.networkId, false)) {
187 loge("Enable network failed on " + config.networkId);
217 if (config.networkId != INVALID_NETWORK_ID) {
227 config.networkId = netId;
249 if (config == null || (config.networkId == INVALID_NETWORK_ID &&
254 boolean newNetwork = (config.networkId == INVALID_NETWORK_ID);
635 config.networkId = Integer.parseInt(result[0]);
653 mConfiguredNetworks.put(config.networkId, config);
654 mNetworkIds.put(configKey(config), config.networkId);
664 if(config != null && config.networkId !
[all...]
H A DWifiManager.java532 * <li>networkId</li>
556 * The {@code networkId} field of the supplied configuration object
572 config.networkId = -1;
582 * are non-<code>null</code>. The {@code networkId} field
584 * @return Returns the {@code networkId} of the supplied
587 * Returns {@code -1} on failure, including when the {@code networkId}
592 if (config == null || config.networkId < 0) {
1410 * Connect to a network with the given networkId.
1415 * @param networkId the network id identifiying the network in the
1422 public void connect(int networkId, ActionListene argument
[all...]
H A DWifiStateMachine.java960 * @param networkId id of the network to be removed
962 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
963 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
1700 mWifiInfo.setNetworkId(stateChangeResult.networkId);
/frameworks/base/core/java/android/net/
H A DNetworkState.java34 public final String networkId; field in class:NetworkState
42 LinkCapabilities linkCapabilities, String subscriberId, String networkId) {
47 this.networkId = networkId;
55 networkId = in.readString();
69 out.writeString(networkId);
41 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, LinkCapabilities linkCapabilities, String subscriberId, String networkId) argument
H A DNetworkIdentity.java53 int type, int subType, String subscriberId, String networkId, boolean roaming) {
57 mNetworkId = networkId;
93 builder.append(", networkId=").append(mNetworkId);
147 String networkId = null;
161 if (state.networkId != null) {
162 networkId = state.networkId;
167 networkId = info != null ? info.getSSID() : null;
171 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
52 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
H A DNetworkTemplate.java122 public static NetworkTemplate buildTemplateWifi(String networkId) { argument
123 return new NetworkTemplate(MATCH_WIFI, null, networkId);
138 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { argument
141 mNetworkId = networkId;
170 builder.append(", networkId=").append(mNetworkId);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkIdentitySet.java50 final String networkId;
52 networkId = readOptionalString(in);
54 networkId = null;
63 add(new NetworkIdentity(type, subType, subscriberId, networkId, false));
H A DNetworkPolicyManagerService.java201 private static final String ATTR_NETWORK_ID = "networkId";
1173 final String networkId;
1175 networkId = in.getAttributeValue(null, ATTR_NETWORK_ID);
1177 networkId = null;
1224 networkTemplate, subscriberId, networkId);
1306 final String networkId = template.getNetworkId();
1307 if (networkId != null) {
1308 out.attribute(null, ATTR_NETWORK_ID, networkId);
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java73 this.mNetworkId = bundle.getInt("networkId", mNetworkId);
149 int baseStationLongitude, int systemId, int networkId) {
155 this.mNetworkId = networkId;
216 bundleToFill.putInt("networkId", this.mNetworkId);
148 setCellLocationData(int baseStationId, int baseStationLatitude, int baseStationLongitude, int systemId, int networkId) argument
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java135 if (c.networkId == netId && c.SSID.equals(config.SSID)) {
149 if (c.networkId == netId) {
175 if (c.networkId == netId) {
189 if (c.networkId == netId) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java346 int networkId = -1;
368 networkId = Integer.parseInt(states[9]);
376 baseStationLongitude, systemId, networkId);
585 int networkId = 0; //[9] networkId
620 networkId = Integer.parseInt(states[9]);
654 newSS.setSystemAndNetworkId(systemId, networkId);
662 baseStationLongitude, systemId, networkId);
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java603 mNetworkId = m.getInt("networkId");
625 m.putInt("networkId", mNetworkId);
644 public void setSystemAndNetworkId(int systemId, int networkId) { argument
646 this.mNetworkId = networkId;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java655 log("remove wifi configuration: " + wifiConfig.networkId);
656 int netId = wifiConfig.networkId;
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java627 Log.v(LOG_TAG, "Remove wifi configuration: " + wifiConfig.networkId);
628 int netId = wifiConfig.networkId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkController.java896 if (net.networkId == info.getNetworkId()) {

Completed in 167 milliseconds