/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | UsimEfData.java | 38 String spn = mUsim.getServiceProviderName(); in getServiceProviderName() local 39 if (TextUtils.isEmpty(spn)) spn = null; in getServiceProviderName() 40 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 | CarrierConfigEfData.java | 44 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()
|
D | CarrierDisplayNameResolver.java | 301 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/ |
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 | 1511 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 …]
|
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 | 321 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/ |
D | CarrierTextController.java | 322 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/ |
D | CarrierResolver.java | 526 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 …]
|
D | ServiceStateTracker.java | 2653 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 …]
|
D | RadioResponse.java | 2530 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()
|
D | SubscriptionController.java | 1519 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/ |
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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSettingUtils.java | 86 String spn = r.getServiceProviderNameWithBrandOverride(); in mvnoMatches() local 87 if ((spn != null) && spn.equalsIgnoreCase(mvnoMatchData)) { in mvnoMatches()
|
/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/policy/ |
D | NetworkControllerSignalTest.java | 394 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/ |
D | MobileSignalController.java | 471 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/ |
D | ServiceStateTrackerTest.java | 2208 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/ |
D | carrierId.proto | 65 repeated string spn = 3; field
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 228 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/ |
D | ITelephony.aidl | 1893 String gid2, String plmn, String spn, String carrierPrivilegeRules, String apn); in setCarrierTestOverride() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 2542 carrierIdMatchingResult.spn = TelephonyUtils.emptyIfNull(simInfo.spn); in writeCarrierIdMatchingEvent()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 11159 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
|