Home
last modified time | relevance | path

Searched refs:plmn (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DCellularNetwork.java151 byte[] plmn = new byte[PLMN_DATA_BYTES]; in parsePlmn()
152 payload.get(plmn); in parsePlmn()
155 int mcc = ((plmn[0] << 8) & 0xF00) | (plmn[0] & 0x0F0) | (plmn[1] & 0x00F); in parsePlmn()
158 int mnc = ((plmn[2] << 4) & 0xF0) | ((plmn[2] >> 4) & 0x0F); in parsePlmn()
162 int mncDigit3 = (plmn[1] >> 4) & 0x0F; in parsePlmn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPlmnActRecord.java42 public final String plmn; field in PlmnActRecord
66 this.plmn = IccUtils.bcdPlmnToString(bytes, offset); in PlmnActRecord()
71 private PlmnActRecord(String plmn, int accessTechs) { in PlmnActRecord() argument
72 this.plmn = plmn; in PlmnActRecord()
109 return String.format("{PLMN=%s,AccessTechs=%s}", plmn, accessTechString()); in toString()
141 dest.writeString(plmn); in writeToParcel()
DSIMRecords.java1805 private boolean isOnMatchingPlmn(String plmn) { in isOnMatchingPlmn() argument
1806 if (plmn == null) return false; in isOnMatchingPlmn()
1808 if (plmn.equals(getOperatorNumeric())) { in isOnMatchingPlmn()
1814 if (plmn.equals(spdiNet)) { in isOnMatchingPlmn()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbLocation.java52 public SmsCbLocation(String plmn) { in SmsCbLocation() argument
53 mPlmn = plmn; in SmsCbLocation()
62 public SmsCbLocation(String plmn, int lac, int cid) { in SmsCbLocation() argument
63 mPlmn = plmn; in SmsCbLocation()
150 public boolean isInLocationArea(String plmn, int lac, int cid) { in isInLocationArea() argument
151 if (!mPlmn.equals(plmn)) { in isInLocationArea()
DITelephony.aidl1517 String gid2, String plmn, String spn); in setCarrierTestOverride() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java111 String plmn = TelephonyManager.from(mContext).getNetworkOperatorForPhone( in handleGsmBroadcastSms() local
128 location = new SmsCbLocation(plmn, lac, -1); in handleGsmBroadcastSms()
133 location = new SmsCbLocation(plmn, lac, cid); in handleGsmBroadcastSms()
138 location = new SmsCbLocation(plmn); in handleGsmBroadcastSms()
187 if (!info.matchesLocation(plmn, lac, cid)) { in handleGsmBroadcastSms()
243 public boolean matchesLocation(String plmn, int lac, int cid) { in matchesLocation() argument
244 return mLocation.isInLocationArea(plmn, lac, cid); in matchesLocation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java224 String plmn = ""; in updateCarrierText() local
229 plmn = i.getStringExtra(TelephonyIntents.EXTRA_PLMN); in updateCarrierText()
231 if (DEBUG) Log.d(TAG, "Getting plmn/spn sticky brdcst " + plmn + "/" + spn); in updateCarrierText()
232 if (Objects.equals(plmn, spn)) { in updateCarrierText()
233 text = plmn; in updateCarrierText()
235 text = concatenate(plmn, spn); in updateCarrierText()
418 private static CharSequence concatenate(CharSequence plmn, CharSequence spn) { in concatenate() argument
419 final boolean plmnValid = !TextUtils.isEmpty(plmn); in concatenate()
422 return new StringBuilder().append(plmn).append(mSeparator).append(spn).toString(); in concatenate()
424 return plmn; in concatenate()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DCellularNetworkTestUtil.java74 for (byte[] plmn : plmnList) { in formatPLMNListIEI()
75 stream.write(plmn); in formatPLMNListIEI()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java393 String plmn = "Test2"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
398 plmn /* plmn */); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
402 assertNetworkNameEquals(plmn in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
409 boolean showPlmn, String plmn) { in createStringsUpdatedIntent() argument
418 intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); in createStringsUpdatedIntent()
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java145 String plmn; in createFromCursor() local
148 plmn = cursor.getString(plmnColumn); in createFromCursor()
150 plmn = null; in createFromCursor()
169 SmsCbLocation location = new SmsCbLocation(plmn, lac, cid); in createFromCursor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2292 String plmn = null; in updateSpnDisplay() local
2306 plmn = Resources.getSystem(). in updateSpnDisplay()
2310 plmn = Resources.getSystem(). in updateSpnDisplay()
2315 "of service, set plmn='" + plmn + "'"); in updateSpnDisplay()
2318 plmn = mSS.getOperatorAlpha(); in updateSpnDisplay()
2319 showPlmn = !TextUtils.isEmpty(plmn) && in updateSpnDisplay()
2325 plmn = Resources.getSystem(). in updateSpnDisplay()
2328 + showPlmn + " plmn=" + plmn); in updateSpnDisplay()
2351 } else if (!TextUtils.isEmpty(plmn) && !TextUtils.isEmpty(wfcVoiceSpnFormat)) { in updateSpnDisplay()
2354 String originalPlmn = plmn.trim(); in updateSpnDisplay()
[all …]
DCarrierIdentifier.java393 String gid1, String gid2, String plmn, String spn, String apn, int cid, in CarrierMatchingRule() argument
400 mPlmn = plmn; in CarrierMatchingRule()
528 final String plmn = mPhone.getPlmn(); in matchCarrier() local
539 + " plmn: " + plmn in matchCarrier()
545 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, in matchCarrier()
DSubscriptionController.java1117 public boolean setPlmnSpn(int slotIndex, boolean showPlmn, String plmn, boolean showSpn,
1134 carrierText = plmn;
1137 if(!Objects.equals(spn, plmn)) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java225 for (String plmn : network.getPlmns()) { in matchCellularNetwork()
226 if (matchMccMnc(plmn, imsiParam, simImsiList)) { in matchCellularNetwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java406 boolean showPlmn, String plmn) { in updateNetworkName() argument
410 + " showPlmn=" + showPlmn + " plmn=" + plmn); in updateNetworkName()
414 if (showPlmn && plmn != null) { in updateNetworkName()
415 str.append(plmn); in updateNetworkName()
416 strData.append(plmn); in updateNetworkName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java213 String plmn = matcher.group(1); in query() local
215 logd("Query '" + plmn + "' APN settings"); in query()
239 plmn, // numeric in query()
270 plmn, // numeric in query()
301 plmn, // numeric in query()
332 plmn, // numeric in query()
363 plmn, // numeric in query()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto64 repeated string plmn = 4; field
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java147 public boolean setPlmnSpn(int slotIndex, boolean showPlmn, String plmn, boolean showSpn, in setPlmnSpn() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java997 public void setPlmn(String plmn) { in setPlmn() argument
998 setFieldValue(PLMN_KEY, plmn); in setPlmn()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java761 String plmn = TelephonyManager.getDefault().getNetworkOperator(); in parseBroadcastSms() local
762 SmsCbLocation location = new SmsCbLocation(plmn); in parseBroadcastSms()