Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DUsimEfData.java38 String spn = mUsim.getServiceProviderName(); in getServiceProviderName() local
39 if (TextUtils.isEmpty(spn)) spn = null; in getServiceProviderName()
40 return spn; in getServiceProviderName()
DRuimEfData.java36 String spn = mRuim.getServiceProviderName(); in getServiceProviderName() local
37 return TextUtils.isEmpty(spn) ? null : spn; in getServiceProviderName()
DCarrierDisplayNameData.java43 private CarrierDisplayNameData(String spn, String dataSpn, boolean showSpn, String plmn, in CarrierDisplayNameData() argument
45 this.mSpn = spn; in CarrierDisplayNameData()
172 public Builder setSpn(String spn) { in setSpn() argument
173 mSpn = spn; in setSpn()
DCarrierConfigEfData.java44 String spn = mConfig.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in getServiceProviderName() local
45 if (TextUtils.isEmpty(spn)) return null; in getServiceProviderName()
46 return spn; in getServiceProviderName()
DCarrierDisplayNameResolver.java301 String spn = getEfSpn(); in getCarrierDisplayNameFromEf() local
328 boolean showSpn = displayRule.shouldShowSpn(isRoaming, spn); in getCarrierDisplayNameFromEf()
329 boolean showPlmn = TextUtils.isEmpty(spn) || displayRule.shouldShowPlmn(isRoaming, plmn); in getCarrierDisplayNameFromEf()
332 .setSpn(spn) in getCarrierDisplayNameFromEf()
466 boolean shouldShowSpn(boolean isRoaming, String spn) { in shouldShowSpn() argument
472 return !TextUtils.isEmpty(spn) && (!isRoaming || showSpnInRoaming); in shouldShowSpn()
/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.java1511 private void setVoiceMailByCountry (String spn) { in setVoiceMailByCountry() argument
1512 if (mVmConfig.containsCarrier(spn)) { in setVoiceMailByCountry()
1514 mVoiceMailNum = mVmConfig.getVoiceMailNumber(spn); in setVoiceMailByCountry()
1515 mVoiceMailTag = mVmConfig.getVoiceMailTag(spn); in setVoiceMailByCountry()
1772 final String spn = getServiceProviderName(); in getSpnFsm() local
1774 if (spn == null || spn.length() == 0) { in getSpnFsm()
1777 if (DBG) log("Load EF_SPN: " + spn in getSpnFsm()
1780 mParentApp.getPhoneId(), spn); in getSpnFsm() local
1804 final String spn = getServiceProviderName(); in getSpnFsm() local
1806 if (spn == null || spn.length() == 0) { in getSpnFsm()
[all …]
DIccRecords.java313 String gid2, String pnn, String spn) { in setCarrierTestOverride() argument
314 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
315 mTelephonyManager.setSimOperatorNameForPhone(mParentApp.getPhoneId(), spn); in setCarrierTestOverride() local
774 protected void setServiceProviderName(String spn) { in setServiceProviderName() argument
775 if (!TextUtils.equals(mSpn, spn)) { in setServiceProviderName()
776 mSpn = spn != null ? spn.trim() : null; in setServiceProviderName()
DRuimRecords.java321 String spn = new String(spnData, 0, numBytes, "US-ASCII"); in onRecordLoaded() local
327 if (isPrintableAsciiOnly(spn)) { in onRecordLoaded()
328 setServiceProviderName(spn); in onRecordLoaded()
330 if (DBG) log("Some corruption in SPN decoding = " + spn); in onRecordLoaded()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java322 String spn = ""; in updateCarrierText() local
325 spn = i.getStringExtra(TelephonyIntents.EXTRA_SPN); in updateCarrierText()
330 if (DEBUG) Log.d(TAG, "Getting plmn/spn sticky brdcst " + plmn + "/" + spn); in updateCarrierText()
331 if (Objects.equals(plmn, spn)) { in updateCarrierText()
334 text = concatenate(plmn, spn, mSeparator); in updateCarrierText()
520 private static CharSequence concatenate(CharSequence plmn, CharSequence spn, in concatenate() argument
523 final boolean spnValid = !TextUtils.isEmpty(spn); in concatenate()
525 return new StringBuilder().append(plmn).append(separator).append(spn).toString(); in concatenate()
529 return spn; in concatenate()
562 String plmn, String spn) { in getCarrierHelpTextForSimState() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java526 public final String spn; field in CarrierResolver.CarrierMatchingRule
542 String gid1, String gid2, String plmn, String spn, String apn, in CarrierMatchingRule() argument
550 this.spn = spn; in CarrierMatchingRule()
565 spn = rule.spn; in CarrierMatchingRule()
622 if (spn != null) { in match()
623 if (!CarrierResolver.equals(subscriptionRule.spn, spn, true)) { in match()
701 + " spn: " + spn in toString()
717 final String spn = mSpn; in getSubscriptionMatchingRule() local
736 + " spn: " + spn in getSubscriptionMatchingRule()
741 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule()
[all …]
DServiceStateTracker.java2653 String spn = null; in updateSpnDisplayLegacy() local
2771 spn = getServiceProviderName(); in updateSpnDisplayLegacy()
2772 dataSpn = spn; in updateSpnDisplayLegacy()
2773 showSpn = !noService && !TextUtils.isEmpty(spn) in updateSpnDisplayLegacy()
2776 if (DBG) log("updateSpnDisplay: rawSpn = " + spn); in updateSpnDisplayLegacy()
2778 if (!TextUtils.isEmpty(spn) && !TextUtils.isEmpty(wfcVoiceSpnFormat) && in updateSpnDisplayLegacy()
2788 String originalSpn = spn.trim(); in updateSpnDisplayLegacy()
2789 spn = String.format(wfcVoiceSpnFormat, originalSpn); in updateSpnDisplayLegacy()
2805 || (showPlmn && TextUtils.equals(spn, plmn))) { in updateSpnDisplayLegacy()
2807 spn = null; in updateSpnDisplayLegacy()
[all …]
DRadioResponse.java2530 String spn = null, imsi = null, gid1 = null, gid2 = null; in convertCarrierList() local
2534 spn = matchData; in convertCarrierList()
2542 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertCarrierList()
DSubscriptionController.java1519 String spn) { in setPlmnSpn() argument
1538 if(!Objects.equals(spn, plmn)) { in setPlmnSpn()
1542 .append(spn).toString(); in setPlmnSpn()
1546 carrierText = spn; in setPlmnSpn()
/frameworks/base/telephony/java/android/service/carrier/
DCarrierIdentifier.java61 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() argument
63 this(mcc, mnc, spn, imsi, gid1, gid2, TelephonyManager.UNKNOWN_CARRIER_ID, in CarrierIdentifier()
79 public CarrierIdentifier(@NonNull String mcc, @NonNull String mnc, @Nullable String spn, in CarrierIdentifier() argument
84 mSpn = spn; in CarrierIdentifier()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java86 String spn = r.getServiceProviderNameWithBrandOverride(); in mvnoMatches() local
87 if ((spn != null) && spn.equalsIgnoreCase(mvnoMatchData)) { in mvnoMatches()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java214 String spn = telephonyMgr.getSimOperatorName(); in getNotification() local
215 if (TextUtils.isEmpty(spn)) { in getNotification()
219 spn = telephonyMgr.getNetworkOperatorName(); in getNotification()
226 .setContentText(String.format(resources.getString(textId), spn)) in getNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java394 String spn = "Test1"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local
398 spn /* spn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
407 + spn); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull()
410 private Intent createStringsUpdatedIntent(boolean showSpn, String spn, in createStringsUpdatedIntent() argument
417 intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); in createStringsUpdatedIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java471 void updateNetworkName(boolean showSpn, String spn, String dataSpn, in updateNetworkName() argument
475 + " spn=" + spn + " dataSpn=" + dataSpn in updateNetworkName()
484 if (showSpn && spn != null) { in updateNetworkName()
488 str.append(spn); in updateNetworkName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java2208 String spn = "spn from sim record"; in testGetServiceProviderNameWithSimRecord() local
2209 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord()
2211 assertThat(sst.getServiceProviderName()).isEqualTo(spn); in testGetServiceProviderNameWithSimRecord()
2223 String spn = "spn from sim record"; in testGetServiceProviderNameWithAllSource() local
2224 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithAllSource()
2239 assertThat(sst.getServiceProviderName()).isEqualTo(spn); in testGetServiceProviderNameWithAllSource()
2470 String spn = mBundle.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly() local
2473 .isEqualTo(String.format(WIFI_CALLING_VOICE_FORMAT, spn)); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly()
2476 .isEqualTo(String.format(WIFI_CALLING_DATA_FORMAT, spn)); in testUpdateSpnDisplay_spnNotEmptyAndWifiCallingEnabled_showSpnOnly()
2531 String spn = mBundle.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in testUpdateSpnDisplay_inServiceNoWifiCalling_showSpnAndPlmn() local
[all …]
/frameworks/opt/telephony/proto/src/
DcarrierId.proto65 repeated string spn = 3; field
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java228 assertEquals("spnTest", log.events[0].carrierIdMatching.result.spn); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
267 assertEquals("spnTest", log.events[0].carrierIdMatching.result.spn); in testWriteCarrierIdMatchingEvent()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1893 String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn); in setCarrierTestOverride() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2542 carrierIdMatchingResult.spn = TelephonyUtils.emptyIfNull(simInfo.spn); in writeCarrierIdMatchingEvent()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java11159 String gid2, String plmn, String spn) { in setCarrierTestOverride() argument
11164 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
11185 String gid2, String plmn, String spn, in setCarrierTestOverride() argument
11191 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local

12