Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java223 String spn = ""; in updateCarrierText() local
226 spn = i.getStringExtra(TelephonyIntents.EXTRA_SPN); 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()
235 text = concatenate(plmn, spn); in updateCarrierText()
418 private static CharSequence concatenate(CharSequence plmn, CharSequence spn) { in concatenate() argument
420 final boolean spnValid = !TextUtils.isEmpty(spn); in concatenate()
422 return new StringBuilder().append(plmn).append(mSeparator).append(spn).toString(); in concatenate()
426 return spn; in concatenate()
433 String plmn, String spn) { in getCarrierHelpTextForSimState() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DCarrierTestOverride.java85 String spn = mCarrierTestParamMap.get(CARRIER_TEST_XML_ITEM_KEY_STRING_SPN); in getFakeSpn() local
86 Rlog.d(LOG_TAG, "reading spn from CarrierTestConfig file: " + spn); in getFakeSpn()
87 return spn; in getFakeSpn()
161 String spn) { in override() argument
169 mCarrierTestParamMap.put(CARRIER_TEST_XML_ITEM_KEY_STRING_SPN, spn); in override()
DSIMRecords.java1587 private void setVoiceMailByCountry (String spn) { in setVoiceMailByCountry() argument
1588 if (mVmConfig.containsCarrier(spn)) { in setVoiceMailByCountry()
1590 mVoiceMailNum = mVmConfig.getVoiceMailNumber(spn); in setVoiceMailByCountry()
1591 mVoiceMailTag = mVmConfig.getVoiceMailTag(spn); in setVoiceMailByCountry()
1888 final String spn = getServiceProviderName(); in getSpnFsm() local
1890 if (spn == null || spn.length() == 0) { in getSpnFsm()
1893 if (DBG) log("Load EF_SPN: " + spn in getSpnFsm()
1896 mParentApp.getPhoneId(), spn); in getSpnFsm() local
1922 final String spn = getServiceProviderName(); in getSpnFsm() local
1924 if (spn == null || spn.length() == 0) { in getSpnFsm()
[all …]
DIccRecords.java218 String gid2, String pnn, String spn) { in setCarrierTestOverride() argument
219 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
220 mTelephonyManager.setSimOperatorNameForPhone(mParentApp.getPhoneId(), spn); in setCarrierTestOverride() local
567 protected void setServiceProviderName(String spn) { in setServiceProviderName() argument
568 if (!TextUtils.equals(mSpn, spn)) { in setServiceProviderName()
570 mSpn = spn; in setServiceProviderName()
DRuimRecords.java324 String spn = new String(spnData, 0, numBytes, "US-ASCII"); in onRecordLoaded() local
330 if (TextUtils.isPrintableAsciiOnly(spn)) { in onRecordLoaded()
331 setServiceProviderName(spn); in onRecordLoaded()
333 if (DBG) log("Some corruption in SPN decoding = " + spn); in onRecordLoaded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierIdentifier.java199 String spn = mTelephonyMgr.getSimOperatorNameForPhone(mPhone.getPhoneId()); in handleMessage() local
200 if (!equals(mSpn, spn, true)) { in handleMessage()
201 logd("[updateSpn] from:" + mSpn + " to:" + spn); in handleMessage()
202 mSpn = spn; in handleMessage()
393 String gid1, String gid2, String plmn, String spn, String apn, int cid, in CarrierMatchingRule() argument
401 mSpn = spn; in CarrierMatchingRule()
529 final String spn = mSpn; in matchCarrier() local
540 + " spn: " + spn in matchCarrier()
545 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, in matchCarrier()
DServiceStateTracker.java2335 String spn = (iccRecords != null) ? iccRecords.getServiceProviderName() : ""; in updateSpnDisplay() local
2336 String dataSpn = spn; in updateSpnDisplay()
2337 boolean showSpn = !noService && !TextUtils.isEmpty(spn) in updateSpnDisplay()
2341 if (!TextUtils.isEmpty(spn) && !TextUtils.isEmpty(wfcVoiceSpnFormat) && in updateSpnDisplay()
2346 String originalSpn = spn.trim(); in updateSpnDisplay()
2347 spn = String.format(wfcVoiceSpnFormat, originalSpn); in updateSpnDisplay()
2357 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplay()
2359 spn = null; in updateSpnDisplay()
2373 || !TextUtils.equals(spn, mCurSpn) in updateSpnDisplay()
2379 "subId='%d'", showPlmn, plmn, showSpn, spn, dataSpn, subId)); in updateSpnDisplay()
[all …]
DSubscriptionController.java1118 String spn) {
1137 if(!Objects.equals(spn, plmn)) {
1141 .append(spn).toString();
1145 carrierText = spn;
DRadioResponse.java2066 String spn = null, imsi = null, gid1 = null, gid2 = null; in responseCarrierIdentifiers() local
2070 spn = matchData; in responseCarrierIdentifiers()
2078 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in responseCarrierIdentifiers()
DGsmCdmaPhone.java1562 String gid2, String pnn, String spn) { in setCarrierTestOverride() argument
1572 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
DPhone.java3654 String gid2, String pnn, String spn) { in setCarrierTestOverride() argument
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java203 String spn = telephonyMgr.getSimOperatorName(); in getNotification() local
204 if (TextUtils.isEmpty(spn)) { in getNotification()
208 spn = telephonyMgr.getNetworkOperatorName(); in getNotification()
215 .setContentText(String.format(resources.getString(textId), spn)) in getNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java392 String spn = "Test1"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
396 spn /* spn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
405 + spn); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
408 private Intent createStringsUpdatedIntent(boolean showSpn, String spn, in createStringsUpdatedIntent() argument
415 intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); in createStringsUpdatedIntent()
/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java53 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() argument
57 mSpn = spn; in CarrierIdentifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java405 void updateNetworkName(boolean showSpn, String spn, String dataSpn, in updateNetworkName() argument
409 + " spn=" + spn + " dataSpn=" + dataSpn in updateNetworkName()
418 if (showSpn && spn != null) { in updateNetworkName()
422 str.append(spn); in updateNetworkName()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto60 repeated string spn = 3; field
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java148 String spn) { in setPlmnSpn() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1517 String gid2, String plmn, String spn); in setCarrierTestOverride() argument