Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java162 String spn = ""; in updateCarrierText() local
165 spn = i.getStringExtra(TelephonyIntents.EXTRA_SPN); 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()
174 text = concatenate(plmn, spn); in updateCarrierText()
326 private static CharSequence concatenate(CharSequence plmn, CharSequence spn) { in concatenate() argument
328 final boolean spnValid = !TextUtils.isEmpty(spn); in concatenate()
330 return new StringBuilder().append(plmn).append(mSeparator).append(spn).toString(); in concatenate()
334 return spn; in concatenate()
341 String plmn, String spn) { in getCarrierHelpTextForSimState() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java1641 private void setVoiceMailByCountry (String spn) { in setVoiceMailByCountry() argument
1642 if (mVmConfig.containsCarrier(spn)) { in setVoiceMailByCountry()
1644 mVoiceMailNum = mVmConfig.getVoiceMailNumber(spn); in setVoiceMailByCountry()
1645 mVoiceMailTag = mVmConfig.getVoiceMailTag(spn); in setVoiceMailByCountry()
1915 final String spn = getServiceProviderName(); in getSpnFsm() local
1917 if (spn == null || spn.length() == 0) { in getSpnFsm()
1920 if (DBG) log("Load EF_SPN: " + spn in getSpnFsm()
1923 mParentApp.getPhoneId(), spn); in getSpnFsm() local
1949 final String spn = getServiceProviderName(); in getSpnFsm() local
1951 if (spn == null || spn.length() == 0) { in getSpnFsm()
[all …]
DRuimRecords.java320 String spn = new String(spnData, 0, numBytes, "US-ASCII"); in onRecordLoaded() local
326 if (TextUtils.isPrintableAsciiOnly(spn)) { in onRecordLoaded()
327 setServiceProviderName(spn); in onRecordLoaded()
329 if (DBG) log("Some corruption in SPN decoding = " + spn); in onRecordLoaded()
DIccRecords.java417 protected void setServiceProviderName(String spn) { in setServiceProviderName() argument
418 mSpn = spn; in setServiceProviderName()
/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, in CarrierIdentifier() argument
52 mSpn = spn; in CarrierIdentifier()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java383 String spn = "Test1"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
387 spn /* spn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
396 + spn); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
399 private Intent createStringsUpdatedIntent(boolean showSpn, String spn, in createStringsUpdatedIntent() argument
406 intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); in createStringsUpdatedIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java389 void updateNetworkName(boolean showSpn, String spn, String dataSpn, in updateNetworkName() argument
393 + " spn=" + spn + " dataSpn=" + dataSpn in updateNetworkName()
402 if (showSpn && spn != null) { in updateNetworkName()
406 str.append(spn); in updateNetworkName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2206 String spn = (iccRecords != null) ? iccRecords.getServiceProviderName() : ""; in updateSpnDisplay() local
2207 String dataSpn = spn; in updateSpnDisplay()
2208 boolean showSpn = !TextUtils.isEmpty(spn) in updateSpnDisplay()
2212 if (!TextUtils.isEmpty(spn) && !TextUtils.isEmpty(wfcVoiceSpnFormat) && in updateSpnDisplay()
2216 String originalSpn = spn.trim(); in updateSpnDisplay()
2217 spn = String.format(wfcVoiceSpnFormat, originalSpn); in updateSpnDisplay()
2222 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplay()
2224 spn = null; in updateSpnDisplay()
2238 || !TextUtils.equals(spn, mCurSpn) in updateSpnDisplay()
2244 "subId='%d'", showPlmn, plmn, showSpn, spn, dataSpn, subId)); in updateSpnDisplay()
[all …]
DSubscriptionController.java840 String spn) { in setPlmnSpn() argument
859 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
863 .append(spn).toString(); in setPlmnSpn()
867 carrierText = spn; in setPlmnSpn()
DRadioResponse.java1731 String spn = null, imsi = null, gid1 = null, gid2 = null; in responseCarrierIdentifiers() local
1735 spn = matchData; in responseCarrierIdentifiers()
1743 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in responseCarrierIdentifiers()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java149 String spn) { in setPlmnSpn() argument