/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 420 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getSimCountry() local 421 if (subInfo != null) { in getSimCountry() 422 final String country = subInfo.getCountryIso(); in getSimCountry() 438 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getCarrierName() local 439 if (subInfo != null) { in getCarrierName() 440 final CharSequence displayName = subInfo.getDisplayName(); in getCarrierName() 444 final CharSequence carrierName = subInfo.getCarrierName(); in getCarrierName() 466 final SubscriptionInfo subInfo = getActiveSubscriptionInfo(); in getMccMnc() local 467 if (subInfo != null) { in getMccMnc() 468 mcc = subInfo.getMcc(); in getMccMnc() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceControllerTest.java | 241 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_fourthPriority_subscriptionNetworkIds() local 248 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_fourthPriority_subscriptionNetworkIds() 254 assertThat(title).contains(String.valueOf(subInfo.getMcc())); in refreshUi_title_fourthPriority_subscriptionNetworkIds() 255 assertThat(title).contains(String.valueOf(subInfo.getMnc())); in refreshUi_title_fourthPriority_subscriptionNetworkIds() 256 assertThat(title).contains(String.valueOf(subInfo.getSimSlotIndex())); in refreshUi_title_fourthPriority_subscriptionNetworkIds() 257 assertThat(title).contains(String.valueOf(subInfo.getSubscriptionId())); in refreshUi_title_fourthPriority_subscriptionNetworkIds() 262 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_thirdPriority_subscriptionCarrierName() local 269 Arrays.asList(subInfo, createSubInfo(SUBID_2, "sub2"))); in refreshUi_title_thirdPriority_subscriptionCarrierName() 274 assertThat(mListPreference.getTitle()).isEqualTo(subInfo.getCarrierName()); in refreshUi_title_thirdPriority_subscriptionCarrierName() 279 SubscriptionInfo subInfo = createSubInfo( in refreshUi_title_secondPriority_subscriptionNumber() local [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 73 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled() 75 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled() 77 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | SimLockPreferenceController.java | 82 for (SubscriptionInfo subInfo : subInfoList) { in isSimReady() 83 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady() 101 for (SubscriptionInfo subInfo : subInfoList) { in isSimIccReady() 102 if (mTelephonyManager.hasIccCard(subInfo.getSimSlotIndex())) { in isSimIccReady()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | SimLockPreferenceController.java | 82 for (SubscriptionInfo subInfo : subInfoList) { in isSimReady() 83 final int simState = mTelephonyManager.getSimState(subInfo.getSimSlotIndex()); in isSimReady() 101 for (SubscriptionInfo subInfo : subInfoList) { in isSimIccReady() 102 if (mTelephonyManager.hasIccCard(subInfo.getSimSlotIndex())) { in isSimIccReady()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkSwitchController.java | 99 SubscriptionInfo subInfo = null; in update() local 102 subInfo = info; in update() 109 if (subInfo == null || !subInfo.isEmbedded()) { in update()
|
D | MobileNetworkUtils.java | 249 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled() 251 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled() 253 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 106 final SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo(subId); in getMccMnc() local 107 if (subInfo != null) { in getMccMnc() 108 mccMnc[0] = subInfo.getMcc(); in getMccMnc() 109 mccMnc[1] = subInfo.getMnc(); in getMccMnc()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 275 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateMwi() local 276 if (subInfo == null) { in updateMwi() 340 notificationText = subInfo.getDisplayName().toString(); in updateMwi() 362 .setColor(subInfo.getIconTint()) in updateMwi() 510 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId); in updateCfi() local 511 if (subInfo == null) { in updateCfi() 522 notificationTitle = subInfo.getDisplayName().toString(); in updateCfi() 529 .setColor(subInfo.getIconTint()) in updateCfi()
|
D | MobileDataPreference.java | 227 for (SubscriptionInfo subInfo : subInfoList) { in disableDataForOtherSubscriptions() 228 if (subInfo.getSubscriptionId() != subId) { in disableDataForOtherSubscriptions() 229 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 270 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo() local 271 if (subInfo == null) { in refreshDataplanInfo() 272 subInfo = mSubscriptionManager.getAllSubscriptionInfoList().stream().filter( in refreshDataplanInfo() 275 if (subInfo != null && mHasMobileData) { in refreshDataplanInfo() 276 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
|
D | DataUsageSummary.java | 151 private void addMobileSection(int subId, SubscriptionInfo subInfo) { in addMobileSection() argument 157 if (subInfo != null && !TextUtils.isEmpty(subInfo.getDisplayName())) { in addMobileSection() 159 title.setTitle(subInfo.getDisplayName()); in addMobileSection()
|
D | DataUsageUtils.java | 121 for (SubscriptionInfo subInfo : subInfoList) { in hasReadyMobileRadio() 122 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio() 124 Log.d(TAG, "hasReadyMobileRadio: subInfo=" + subInfo); in hasReadyMobileRadio()
|
D | CellDataPreference.java | 238 for (SubscriptionInfo subInfo : subInfoList) { in disableDataForOtherSubscriptions() 239 if (subInfo.getSubscriptionId() != subId) { in disableDataForOtherSubscriptions() 240 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreferenceController.java | 271 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo() local 272 if (subInfo == null) { in refreshDataplanInfo() 273 subInfo = mSubscriptionManager.getAllSubscriptionInfoList().stream().filter( in refreshDataplanInfo() 276 if (subInfo != null && mHasMobileData) { in refreshDataplanInfo() 277 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
|
D | DataUsageUtils.java | 120 for (SubscriptionInfo subInfo : subInfoList) { in hasReadyMobileRadio() 121 isReady = isReady & tele.getSimState(subInfo.getSimSlotIndex()) == SIM_STATE_READY; in hasReadyMobileRadio() 123 Log.d(TAG, "hasReadyMobileRadio: subInfo=" + subInfo); in hasReadyMobileRadio()
|
D | DataUsageSummary.java | 156 private void addMobileSection(int subId, SubscriptionInfo subInfo) { in addMobileSection() argument 161 if (subInfo != null && !TextUtils.isEmpty(subInfo.getDisplayName())) { in addMobileSection() 163 title.setTitle(subInfo.getDisplayName()); in addMobileSection()
|
D | CellDataPreference.java | 238 for (SubscriptionInfo subInfo : subInfoList) { in disableDataForOtherSubscriptions() 239 if (subInfo.getSubscriptionId() != subId) { in disableDataForOtherSubscriptions() 240 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ConferenceParticipantConnection.java | 183 SubscriptionInfo subInfo = TelecomAccountRegistry.getInstance(null). in getCountryIso() local 186 if (subInfo == null) { in getCountryIso() 192 return subInfo.getCountryIso().toUpperCase(); in getCountryIso()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 163 SubscriptionInfo subInfo = SubscriptionManager.from(mContext) in getPhoneType() local 165 return mTelephonyManager.getCurrentPhoneType(subInfo != null ? subInfo.getSubscriptionId() in getPhoneType()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 367 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo( in initAccountList() local 370 if (subInfo != null) { in initAccountList() 373 SubscriptionInfoHelper.addExtrasToIntent(intent, subInfo); in initAccountList() 567 .map(subInfo -> configManager.getConfigForSubId(subInfo.getSubscriptionId())) in getLaunchSmartForwardingMenuIntent()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettings.java | 110 for (SubscriptionInfo subInfo : mSil) { in maybeSetViewForSubId() 111 if (subId == subInfo.getSubscriptionId()) { in maybeSetViewForSubId() 112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSettings.java | 110 for (SubscriptionInfo subInfo : mSil) { in maybeSetViewForSubId() 111 if (subId == subInfo.getSubscriptionId()) { in maybeSetViewForSubId() 112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileNetworkUtils.java | 232 for (SubscriptionInfo subInfo : subInfoList) { in setMobileDataEnabled() 234 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) { in setMobileDataEnabled() 236 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 234 SubscriptionInfo subInfo = mSubscriptionManager.getDefaultDataSubscriptionInfo(); in refreshDataplanInfo() local 235 if (subInfo != null) { in refreshDataplanInfo() 236 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
|