Home
last modified time | relevance | path

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

/frameworks/base/packages/Keyguard/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.java1531 private void setVoiceMailByCountry (String spn) { in setVoiceMailByCountry() argument
1532 if (mVmConfig.containsCarrier(spn)) { in setVoiceMailByCountry()
1534 mVoiceMailNum = mVmConfig.getVoiceMailNumber(spn); in setVoiceMailByCountry()
1535 mVoiceMailTag = mVmConfig.getVoiceMailTag(spn); in setVoiceMailByCountry()
1779 final String spn = getServiceProviderName(); in getSpnFsm() local
1781 if (spn == null || spn.length() == 0) { in getSpnFsm()
1784 if (DBG) log("Load EF_SPN: " + spn in getSpnFsm()
1787 mParentApp.getPhoneId(), spn); in getSpnFsm() local
1813 final String spn = getServiceProviderName(); in getSpnFsm() local
1815 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.java390 protected void setServiceProviderName(String spn) { in setServiceProviderName() argument
391 mSpn = spn; in setServiceProviderName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java345 String spn = "Test1"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
349 spn /* spn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
358 + spn); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
361 private Intent createStringsUpdatedIntent(boolean showSpn, String spn, in createStringsUpdatedIntent() argument
368 intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); in createStringsUpdatedIntent()
/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/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java331 void updateNetworkName(boolean showSpn, String spn, String dataSpn, in updateNetworkName() argument
335 + " spn=" + spn + " dataSpn=" + dataSpn in updateNetworkName()
344 if (showSpn && spn != null) { in updateNetworkName()
348 str.append(spn); in updateNetworkName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2134 String spn = (iccRecords != null) ? iccRecords.getServiceProviderName() : ""; in updateSpnDisplay() local
2135 String dataSpn = spn; in updateSpnDisplay()
2136 boolean showSpn = !TextUtils.isEmpty(spn) in updateSpnDisplay()
2140 if (!TextUtils.isEmpty(spn) in updateSpnDisplay()
2167 String originalSpn = spn.trim(); in updateSpnDisplay()
2168 spn = String.format(formatVoice, originalSpn); in updateSpnDisplay()
2173 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplay()
2175 spn = null; in updateSpnDisplay()
2189 || !TextUtils.equals(spn, mCurSpn) in updateSpnDisplay()
2196 showPlmn, plmn, showSpn, spn, dataSpn, subId)); in updateSpnDisplay()
[all …]
DSubscriptionController.java844 String spn) { in setPlmnSpn() argument
864 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
868 .append(spn).toString(); in setPlmnSpn()
872 carrierText = spn; in setPlmnSpn()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java149 String spn) { in setPlmnSpn() argument