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()
70 private PlmnActRecord(String plmn, int accessTechs) { in PlmnActRecord() argument
71 this.plmn = plmn; in PlmnActRecord()
108 return String.format("{PLMN=%s,AccessTechs=%s}", plmn, accessTechString()); in toString()
140 dest.writeString(plmn); in writeToParcel()
DSIMRecords.java1819 public int getDisplayRule(String plmn) { in getDisplayRule() argument
1829 } else if (isOnMatchingPlmn(plmn)) { in getDisplayRule()
1848 private boolean isOnMatchingPlmn(String plmn) { in isOnMatchingPlmn() argument
1849 if (plmn == null) return false; in isOnMatchingPlmn()
1851 if (plmn.equals(getOperatorNumeric())) { in isOnMatchingPlmn()
1857 if (plmn.equals(spdiNet)) { in isOnMatchingPlmn()
DIsimUiccRecords.java460 public int getDisplayRule(String plmn) { in getDisplayRule() argument
DIccRecords.java644 public abstract int getDisplayRule(String plmn); in getDisplayRule() argument
DRuimRecords.java871 public int getDisplayRule(String plmn) { in getDisplayRule() argument
/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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java163 String plmn = ""; in updateCarrierText() local
168 plmn = i.getStringExtra(TelephonyIntents.EXTRA_PLMN); in updateCarrierText()
170 if (DEBUG) Log.d(TAG, "Getting plmn/spn sticky brdcst " + plmn + "/" + spn); in updateCarrierText()
171 if (Objects.equals(plmn, spn)) { in updateCarrierText()
172 text = plmn; in updateCarrierText()
174 text = concatenate(plmn, spn); in updateCarrierText()
326 private static CharSequence concatenate(CharSequence plmn, CharSequence spn) { in concatenate() argument
327 final boolean plmnValid = !TextUtils.isEmpty(plmn); in concatenate()
330 return new StringBuilder().append(plmn).append(mSeparator).append(spn).toString(); in concatenate()
332 return plmn; in concatenate()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java109 String plmn = TelephonyManager.from(mContext).getNetworkOperatorForPhone( in handleGsmBroadcastSms() local
126 location = new SmsCbLocation(plmn, lac, -1); in handleGsmBroadcastSms()
131 location = new SmsCbLocation(plmn, lac, cid); in handleGsmBroadcastSms()
136 location = new SmsCbLocation(plmn); in handleGsmBroadcastSms()
183 if (!info.matchesLocation(plmn, lac, cid)) { in handleGsmBroadcastSms()
239 public boolean matchesLocation(String plmn, int lac, int cid) { in matchesLocation() argument
240 return mLocation.isInLocationArea(plmn, lac, cid); in matchesLocation()
/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.java413 String plmn = "Test2"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
418 plmn /* plmn */); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
422 assertNetworkNameEquals(plmn in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
429 boolean showPlmn, String plmn) { in createStringsUpdatedIntent() argument
438 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/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java221 for (String plmn : network.getPlmns()) { in matchCellularNetwork()
222 if (matchMccMnc(plmn, imsiParam, simImsiList)) { in matchCellularNetwork()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2235 String plmn = null; in updateSpnDisplay() local
2243 plmn = Resources.getSystem(). in updateSpnDisplay()
2247 plmn = Resources.getSystem(). in updateSpnDisplay()
2251 "of service, set plmn='" + plmn + "'"); in updateSpnDisplay()
2254 plmn = mSS.getOperatorAlpha(); in updateSpnDisplay()
2255 showPlmn = !TextUtils.isEmpty(plmn) && in updateSpnDisplay()
2261 plmn = Resources.getSystem(). in updateSpnDisplay()
2264 + showPlmn + " plmn=" + plmn); in updateSpnDisplay()
2287 } else if (!TextUtils.isEmpty(plmn) && !TextUtils.isEmpty(wfcVoiceSpnFormat)) { in updateSpnDisplay()
2290 String originalPlmn = plmn.trim(); in updateSpnDisplay()
[all …]
DSubscriptionController.java1083 public boolean setPlmnSpn(int slotIndex, boolean showPlmn, String plmn, boolean showSpn, in setPlmnSpn() argument
1100 carrierText = plmn; in setPlmnSpn()
1103 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java397 boolean showPlmn, String plmn) { in updateNetworkName() argument
401 + " showPlmn=" + showPlmn + " plmn=" + plmn); in updateNetworkName()
405 if (showPlmn && plmn != null) { in updateNetworkName()
406 str.append(plmn); in updateNetworkName()
407 strData.append(plmn); in updateNetworkName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java174 String plmn = matcher.group(1); in query() local
176 logd("Query '" + plmn + "' APN settings"); in query()
198 plmn, // numeric in query()
227 plmn, // numeric in query()
256 plmn, // numeric in query()
285 plmn, // numeric in query()
314 plmn, // numeric in query()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java148 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.java712 String plmn = TelephonyManager.getDefault().getNetworkOperator(); in parseBroadcastSms() local
713 SmsCbLocation location = new SmsCbLocation(plmn); in parseBroadcastSms()