Home
last modified time | relevance | path

Searched refs:plmn (Results 1 – 17 of 17) 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/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.java346 String plmn = "Test2"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
351 plmn /* plmn */); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
355 assertNetworkNameEquals(plmn in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
362 boolean showPlmn, String plmn) { in createStringsUpdatedIntent() argument
371 intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); in createStringsUpdatedIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java332 boolean showPlmn, String plmn) { in updateNetworkName() argument
336 + " showPlmn=" + showPlmn + " plmn=" + plmn); in updateNetworkName()
340 if (showPlmn && plmn != null) { in updateNetworkName()
341 str.append(plmn); in updateNetworkName()
342 strData.append(plmn); in updateNetworkName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java151 String plmn = matcher.group(1); in query() local
153 logd("Query '" + plmn + "' APN settings"); in query()
175 plmn, // numeric in query()
204 plmn, // numeric in query()
233 plmn, // numeric in query()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2098 String plmn = null; in updateSpnDisplay() local
2106 plmn = Resources.getSystem(). in updateSpnDisplay()
2110 plmn = Resources.getSystem(). in updateSpnDisplay()
2114 "of service, set plmn='" + plmn + "'"); in updateSpnDisplay()
2117 plmn = mSS.getOperatorAlphaLong(); in updateSpnDisplay()
2118 showPlmn = !TextUtils.isEmpty(plmn) && in updateSpnDisplay()
2124 plmn = Resources.getSystem(). in updateSpnDisplay()
2127 + showPlmn + " plmn=" + plmn); in updateSpnDisplay()
2173 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplay()
2191 || !TextUtils.equals(plmn, mCurPlmn)) { in updateSpnDisplay()
[all …]
DSubscriptionController.java843 public boolean setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, in setPlmnSpn() argument
861 carrierText = plmn; in setPlmnSpn()
864 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java1667 public int getDisplayRule(String plmn) { in getDisplayRule() argument
1677 } else if (isOnMatchingPlmn(plmn)) { in getDisplayRule()
1696 private boolean isOnMatchingPlmn(String plmn) { in isOnMatchingPlmn() argument
1697 if (plmn == null) return false; in isOnMatchingPlmn()
1699 if (plmn.equals(getOperatorNumeric())) { in isOnMatchingPlmn()
1705 if (plmn.equals(spdiNet)) { in isOnMatchingPlmn()
DIsimUiccRecords.java461 public int getDisplayRule(String plmn) { in getDisplayRule() argument
DIccRecords.java574 public abstract int getDisplayRule(String plmn); in getDisplayRule() argument
DRuimRecords.java872 public int getDisplayRule(String plmn) { in getDisplayRule() argument
/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.java935 public void setPlmn(String plmn) { in setPlmn() argument
936 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()