Searched defs:networkId (Results 1 - 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateChangeResult.java29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, argument
34 this.networkId = networkId;
37 int networkId; field in class:StateChangeResult
48 sb.append(" nid: ").append(networkId);
H A DWifiMonitor.java1334 data.networkId = Integer.parseInt(matchGsm.group(1));
1340 data.networkId = Integer.parseInt(matchUmts.group(1));
1371 int networkId = -1;
1392 networkId = value;
1410 notifySupplicantStateChange(networkId, wifiSsid, BSSID, newSupplicantState);
1415 int networkId = -1;
1427 networkId = Integer.parseInt(match.group(2));
1429 networkId = -1;
1432 notifyNetworkStateChange(newState, BSSID, networkId, reason);
1483 * @param networkId th
1488 notifySupplicantStateChange(int networkId, WifiSsid wifiSsid, String BSSID, SupplicantState newState) argument
[all...]
H A DWifiConfigStore.java745 // directly by the key or networkId
828 // directly by the key or networkId
926 if(mWifiNative.enableNetwork(config.networkId, false)) {
938 loge("Enable network failed on " + config.networkId);
985 if (VDBG) localLog("selectNetwork", config.networkId);
986 if (config.networkId == INVALID_NETWORK_ID) return false;
992 if (config2.networkId != INVALID_NETWORK_ID) {
994 setNetworkPriorityNative(config2.networkId, config.priority);
1004 setNetworkPriorityNative(config.networkId, config.priority);
1015 log("Setting SSID for " + config.networkId
4019 canModifyNetwork(int uid, int networkId, boolean onlyAnnotate) argument
[all...]
H A DWifiStateMachine.java1034 int networkId; field in class:WifiStateMachine.SimAuthRequestData
2311 * @param networkId id of the network to be removed
2313 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
2314 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
2803 sb.append(" nid=").append(lastSavedConfigurationAttempt.networkId);
2828 sb.append(" nid=").append(lastForgetConfigurationAttempt.networkId);
4906 mWifiInfo.setNetworkId(stateChangeResult.networkId);
7256 mCurrentAssociateNetworkId = stateChangeResult.networkId;
7276 + " cnid=" + config.networkId
7381 if (config.networkId
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkState.java34 public final String networkId; field in class:NetworkState
38 String networkId) {
44 this.networkId = networkId;
53 networkId = in.readString();
68 out.writeString(networkId);
36 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
H A DNetworkIdentity.java60 int type, int subType, String subscriberId, String networkId, boolean roaming) {
64 mNetworkId = networkId;
100 builder.append(", networkId=").append(mNetworkId);
163 String networkId = null;
175 if (state.networkId != null) {
176 networkId = state.networkId;
181 networkId = info != null ? info.getSSID() : null;
185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
59 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
H A DNetworkTemplate.java130 public static NetworkTemplate buildTemplateWifi(String networkId) { argument
131 return new NetworkTemplate(MATCH_WIFI, null, networkId);
165 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { argument
166 this(matchRule, subscriberId, new String[] { subscriberId }, networkId);
170 String networkId) {
174 mNetworkId = networkId;
210 builder.append(", networkId=").append(mNetworkId);
169 NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, String networkId) argument
/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/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java112 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; field in class:AccessPoint
180 if (networkId != WifiConfiguration.INVALID_NETWORK_ID
181 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1;
182 if (networkId == WifiConfiguration.INVALID_NETWORK_ID
183 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1;
205 result += 23 * networkId;
249 networkId = WifiConfiguration.INVALID_NETWORK_ID;
610 * For ephemeral connections (networkId is invalid), this returns false if the network is
615 (networkId != WifiConfiguration.INVALID_NETWORK_ID ||
638 if (isPasspoint() == false && networkId !
[all...]
H A DWifiTracker.java284 private WifiConfiguration getWifiConfigurationForNetworkId(int networkId) { argument
288 if (mLastInfo != null && networkId == config.networkId &&
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java964 mNetworkId = m.getInt("networkId");
993 m.putInt("networkId", mNetworkId);
1018 public void setSystemAndNetworkId(int systemId, int networkId) { argument
1020 this.mNetworkId = networkId;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java205 public int networkId; field in class:WifiConfiguration
906 networkId = INVALID_NETWORK_ID;
989 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID).
1190 networkId = -1;
1434 networkId = source.networkId;
1536 dest.writeInt(networkId);
1611 config.networkId = in.readInt();
H A DWifiManager.java654 * <li>networkId</li>
713 * The {@code networkId} field of the supplied configuration object
729 config.networkId = -1;
739 * are non-<code>null</code>. The {@code networkId} field
741 * @return Returns the {@code networkId} of the supplied
744 * Returns {@code -1} on failure, including when the {@code networkId}
749 if (config == null || config.networkId < 0) {
2154 * Connect to a network with the given networkId.
2159 * @param networkId the network id identifiying the network in the
2166 public void connect(int networkId, ActionListene argument
[all...]

Completed in 986 milliseconds