/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | CarrierIdMatchStats.java | 35 int cid, String mccMnc, String gid1, String spn, String pnn) { in onCarrierIdMismatch() argument 41 carrierIdMismatch.spn = nullToEmpty(spn); in onCarrierIdMismatch() 42 carrierIdMismatch.pnn = carrierIdMismatch.spn.isEmpty() ? nullToEmpty(pnn) : ""; in onCarrierIdMismatch() 48 TelephonyStatsLog.write(CARRIER_ID_MISMATCH_REPORTED, cid, mccMnc, gid1, spn, pnn); in onCarrierIdMismatch()
|
D | PersistAtomsStorage.java | 1442 && mismatch.spn.equals(key.spn) in find()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | UsimEfData.java | 39 String spn = mUsim.getServiceProviderName(); in getServiceProviderName() local 40 if (TextUtils.isEmpty(spn)) spn = null; in getServiceProviderName() 41 return spn; in getServiceProviderName()
|
D | RuimEfData.java | 36 String spn = mRuim.getServiceProviderName(); in getServiceProviderName() local 37 return TextUtils.isEmpty(spn) ? null : spn; in getServiceProviderName()
|
D | CarrierDisplayNameData.java | 43 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()
|
D | CarrierDisplayNameResolver.java | 309 String spn = getEfSpn(); in getCarrierDisplayNameFromEf() local 338 boolean showSpn = displayRule.shouldShowSpn(spn); in getCarrierDisplayNameFromEf() 339 boolean showPlmn = TextUtils.isEmpty(spn) || displayRule.shouldShowPlmn(plmn); in getCarrierDisplayNameFromEf() 342 .setSpn(spn) in getCarrierDisplayNameFromEf() 540 boolean shouldShowSpn(String spn) { in shouldShowSpn() argument 546 return !TextUtils.isEmpty(spn) && showSpn; in shouldShowSpn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | CarrierTestOverride.java | 85 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()
|
D | SIMRecords.java | 1523 private void setVoiceMailByCountry (String spn) { in setVoiceMailByCountry() argument 1527 if (mVmConfig.containsCarrier(spn)) { in setVoiceMailByCountry() 1529 mVoiceMailNum = mVmConfig.getVoiceMailNumber(spn); in setVoiceMailByCountry() 1530 mVoiceMailTag = mVmConfig.getVoiceMailTag(spn); in setVoiceMailByCountry() 1787 final String spn = getServiceProviderName(); in getSpnFsm() local 1789 if (spn == null || spn.length() == 0) { in getSpnFsm() 1792 if (DBG) log("Load EF_SPN: " + spn in getSpnFsm() 1795 mParentApp.getPhoneId(), spn); in getSpnFsm() local 1819 final String spn = getServiceProviderName(); in getSpnFsm() local 1821 if (spn == null || spn.length() == 0) { in getSpnFsm() [all …]
|
D | IccRecords.java | 313 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()
|
D | RuimRecords.java | 314 String spn = new String(spnData, 0, numBytes, "US-ASCII"); in onRecordLoaded() local 320 if (isPrintableAsciiOnly(spn)) { in onRecordLoaded() 321 setServiceProviderName(spn); in onRecordLoaded() 323 if (DBG) log("Some corruption in SPN decoding = " + spn); in onRecordLoaded()
|
D | UiccController.java | 1407 String spn = iccRecords.getServiceProviderNameWithBrandOverride(); in mvnoMatches() local 1408 if ((spn != null) && spn.equalsIgnoreCase(mvnoMatchData)) { in mvnoMatches()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | NetworkNameModel.kt | 86 val spn = getStringExtra(EXTRA_DATA_SPN) in toNetworkNameModel() constant 96 if (showSpn && spn != null) { in toNetworkNameModel() 100 str.append(spn) in toNetworkNameModel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 606 public final String spn; field in CarrierResolver.CarrierMatchingRule 622 String gid1, String gid2, String plmn, String spn, String apn, in CarrierMatchingRule() argument 630 this.spn = spn; in CarrierMatchingRule() 645 spn = rule.spn; in CarrierMatchingRule() 702 if (spn != null) { in match() 703 if (!CarrierResolver.equals(subscriptionRule.spn, spn, true)) { in match() 781 + " spn: " + spn in toString() 797 final String spn = mSpn; in getSubscriptionMatchingRule() local 816 + " spn: " + spn in getSubscriptionMatchingRule() 821 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule() [all …]
|
D | ServiceStateTracker.java | 2837 String spn = null; in updateSpnDisplayLegacy() local 2989 spn = getServiceProviderName(); in updateSpnDisplayLegacy() 2990 dataSpn = spn; in updateSpnDisplayLegacy() 2991 showSpn = !noService && !TextUtils.isEmpty(spn) in updateSpnDisplayLegacy() 2994 if (DBG) log("updateSpnDisplay: rawSpn = " + spn); in updateSpnDisplayLegacy() 2996 if (!TextUtils.isEmpty(spn)) { in updateSpnDisplayLegacy() 2999 String originalSpn = spn.trim(); in updateSpnDisplayLegacy() 3000 spn = String.format(crossSimSpnFormat, originalSpn); in updateSpnDisplayLegacy() 3001 dataSpn = spn; in updateSpnDisplayLegacy() 3014 } else if (!TextUtils.isEmpty(spn) && !TextUtils.isEmpty(wfcVoiceSpnFormat) in updateSpnDisplayLegacy() [all …]
|
D | SubscriptionController.java | 1801 String spn) { in setPlmnSpn() argument 1820 if(!Objects.equals(spn, plmn)) { in setPlmnSpn() 1824 .append(spn).toString(); in setPlmnSpn() 1828 carrierText = spn; in setPlmnSpn() 1941 String spn; in isExistingNameSourceStillValid() local 1948 spn = getServiceProviderName(phoneId); in isExistingNameSourceStillValid() 1949 return !TextUtils.isEmpty(spn); in isExistingNameSourceStillValid() 1967 spn = getServiceProviderName(phoneId); in isExistingNameSourceStillValid() 1969 || (TextUtils.isEmpty(spn) && !TextUtils.isEmpty(carrierName)); in isExistingNameSourceStillValid()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextManager.java | 370 String spn = ""; in updateCarrierText() local 373 spn = i.getStringExtra(TelephonyManager.EXTRA_SPN); in updateCarrierText() 378 if (DEBUG) Log.d(TAG, "Getting plmn/spn sticky brdcst " + plmn + "/" + spn); in updateCarrierText() 379 if (Objects.equals(plmn, spn)) { in updateCarrierText() 382 text = concatenate(plmn, spn, mSeparator); in updateCarrierText() 561 private static CharSequence concatenate(CharSequence plmn, CharSequence spn, in concatenate() argument 564 final boolean spnValid = !TextUtils.isEmpty(spn); in concatenate() 566 return new StringBuilder().append(plmn).append(separator).append(spn).toString(); in concatenate() 570 return spn; in concatenate() 603 String plmn, String spn) { in getCarrierHelpTextForSimState() argument
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierIdentifier.java | 61 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/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 214 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/connectivity/ |
D | NetworkControllerSignalTest.java | 564 String spn = "Test1"; in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() local 568 spn /* spn */, in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() 577 + spn); in testOnReceive_stringsUpdatedAction_bothTrueAndNonNull() 580 private Intent createStringsUpdatedIntent(boolean showSpn, String spn, in createStringsUpdatedIntent() argument 587 intent.putExtra(TelephonyManager.EXTRA_SPN, spn); in createStringsUpdatedIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | MobileSignalController.java | 405 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/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTrackerTest.java | 2437 String spn = "spn from sim record"; in testGetServiceProviderNameWithSimRecord() local 2438 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithSimRecord() 2440 assertThat(sst.getServiceProviderName()).isEqualTo(spn); in testGetServiceProviderNameWithSimRecord() 2452 String spn = "spn from sim record"; in testGetServiceProviderNameWithAllSource() local 2453 doReturn(spn).when(mSimRecords).getServiceProviderName(); in testGetServiceProviderNameWithAllSource() 2468 assertThat(sst.getServiceProviderName()).isEqualTo(spn); in testGetServiceProviderNameWithAllSource() 2771 String spn = mBundle.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn() local 2775 assertThat(b.getString(TelephonyManager.EXTRA_SPN)).isEqualTo(spn); in testUpdateSpnDisplay_flightModeNoWifiCalling_showSpnAndPlmn() 2805 String spn = mBundle.getString(CarrierConfigManager.KEY_CARRIER_NAME_STRING); in testUpdateSpnDisplay_spnNotEmptyAndCrossSimCallingEnabled_showSpnOnly() local 2808 .isEqualTo(String.format(CROSS_SIM_CALLING_VOICE_FORMAT, spn)); in testUpdateSpnDisplay_spnNotEmptyAndCrossSimCallingEnabled_showSpnOnly() [all …]
|
/frameworks/opt/telephony/proto/src/ |
D | carrierId.proto | 65 repeated string spn = 3; field
|
D | persist_atoms.proto | 282 optional string spn = 3; field
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryTest.kt | 802 spn: String = SPN, in <lambda>() 809 putExtra(EXTRA_SPN, spn) in <lambda>()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 235 assertEquals("spnTest", log.events[0].carrierIdMatching.result.spn); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() 274 assertEquals("spnTest", log.events[0].carrierIdMatching.result.spn); in testWriteCarrierIdMatchingEvent()
|