Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DCellularNetwork.java23 byte[] plmn = new byte[3]; in CellularNetwork()
24 payload.get(plmn); in CellularNetwork()
26 int mcc = ((plmn[0] << 8) & 0xf00) | in CellularNetwork()
27 (plmn[0] & 0x0f0) | in CellularNetwork()
28 (plmn[1] & 0x00f); in CellularNetwork()
30 int mnc = ((plmn[2] << 4) & 0xf0) | in CellularNetwork()
31 ((plmn[2] >> 4) & 0x0f); in CellularNetwork()
33 int n2 = (plmn[1] >> 4) & 0x0f; in CellularNetwork()
/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.java1764 public int getDisplayRule(String plmn) { in getDisplayRule() argument
1774 } else if (isOnMatchingPlmn(plmn)) { in getDisplayRule()
1793 private boolean isOnMatchingPlmn(String plmn) { in isOnMatchingPlmn() argument
1794 if (plmn == null) return false; in isOnMatchingPlmn()
1796 if (plmn.equals(getOperatorNumeric())) { in isOnMatchingPlmn()
1802 if (plmn.equals(spdiNet)) { in isOnMatchingPlmn()
DIsimUiccRecords.java461 public int getDisplayRule(String plmn) { in getDisplayRule() argument
DIccRecords.java561 public abstract int getDisplayRule(String plmn); in getDisplayRule() argument
DRuimRecords.java872 public int getDisplayRule(String plmn) { in getDisplayRule() argument
/frameworks/opt/telephony/src/java/android/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()
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/base/packages/Keyguard/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java345 String plmn = "Test2"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
350 plmn /* plmn */); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
354 assertNetworkNameEquals(plmn in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
361 boolean showPlmn, String plmn) { in createStringsUpdatedIntent() argument
370 intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); in createStringsUpdatedIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java342 boolean showPlmn, String plmn) { in updateNetworkName() argument
346 + " showPlmn=" + showPlmn + " plmn=" + plmn); in updateNetworkName()
350 if (showPlmn && plmn != null) { in updateNetworkName()
351 str.append(plmn); in updateNetworkName()
352 strData.append(plmn); in updateNetworkName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2173 String plmn = null; in updateSpnDisplay() local
2181 plmn = Resources.getSystem(). in updateSpnDisplay()
2185 plmn = Resources.getSystem(). in updateSpnDisplay()
2189 "of service, set plmn='" + plmn + "'"); in updateSpnDisplay()
2192 plmn = mSS.getOperatorAlphaLong(); in updateSpnDisplay()
2193 showPlmn = !TextUtils.isEmpty(plmn) && in updateSpnDisplay()
2199 plmn = Resources.getSystem(). in updateSpnDisplay()
2202 + showPlmn + " plmn=" + plmn); in updateSpnDisplay()
2225 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplay()
2243 || !TextUtils.equals(plmn, mCurPlmn)) { in updateSpnDisplay()
[all …]
DSubscriptionController.java838 public boolean setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, in setPlmnSpn() argument
856 carrierText = plmn; in setPlmnSpn()
859 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java162 String plmn = matcher.group(1); in query() local
164 logd("Query '" + plmn + "' APN settings"); in query()
186 plmn, // numeric in query()
215 plmn, // numeric in query()
244 plmn, // numeric in query()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java148 public boolean setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, in setPlmnSpn() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java943 public void setPlmn(String plmn) { in setPlmn() argument
944 setFieldValue(PLMN_KEY, plmn, ""); in setPlmn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java804 String plmn = TelephonyManager.getDefault().getNetworkOperator(); in parseBroadcastSms() local
805 SmsCbLocation location = new SmsCbLocation(plmn); in parseBroadcastSms()