Home
last modified time | relevance | path

Searched refs:getCarrierName (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusPreferenceController.java146 preference.setSummary(getCarrierName(simSlot)); in updateStateBySlot()
173 private CharSequence getCarrierName(int simSlot) { in getCarrierName() method in SimStatusPreferenceController
175 return (subInfo != null) ? subInfo.getCarrierName() : in getCarrierName()
DSimStatusDialogController.java324 mSubscriptionInfo != null ? mSubscriptionInfo.getCarrierName() : null; in updateNetworkProvider()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java109 public abstract String getCarrierName(); in getCarrierName() method in PhoneUtils
287 public String getCarrierName() { in getCarrierName() method in PhoneUtils.PhoneUtilsPreLMR1
443 public String getCarrierName() { in getCarrierName() method in PhoneUtils.PhoneUtilsLMR1
450 final CharSequence carrierName = subInfo.getCarrierName(); in getCarrierName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java157 doReturn(CARRIER_NAME).when(mSubscriptionInfo).getCarrierName(); in setUp()
229 doReturn(null).when(mSubscriptionInfo).getCarrierName(); in testSummaryUpdate_noCarrier_basic()
257 doReturn(null).when(mSubscriptionInfo).getCarrierName(); in testSummaryUpdate_noPlanData_basic()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceControllerTest.java84 when(mSubscriptionInfo.getCarrierName()).thenReturn(OPERATOR_NAME); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java130 when(mSubscriptionInfo1.getCarrierName()).thenReturn(PLMN_FROM_SUB_ID_1); in setUp()
132 when(mSubscriptionInfo2.getCarrierName()).thenReturn(PLMN_FROM_SUB_ID_2); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java376 assertThat(mPreference.getTitle()).isEqualTo(subInfo.getCarrierName()); in refreshUi_title_thirdPriority_subscriptionCarrierName()
456 when(subscriptionInfo.getCarrierName()).thenReturn(carrierName); in createSubInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceController.java135 name = subscription.getCarrierName().toString(); in getSubscriptionName()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java238 info.getCarrierName(), info.getDisplayName(), info.getNumber(), in create()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java611 if (phone != null && phone.getCarrierName() != null) { in createUssdDialog()
613 phone.getCarrierName())); in createUssdDialog()
DPhoneInterfaceManager.java3675 return phone == null ? null : phone.getCarrierName(); in getSubscriptionCarrierName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragmentTest.java98 when(mSubscriptionInfo.getCarrierName()).thenReturn("fake carrier name"); in setUp()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkRepository.java540 subInfo.getCarrierName() != null ? subInfo.getCarrierName().toString() : "", in convertToSubscriptionInfoEntity()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java213 CharSequence carrierName = record.getCarrierName(); in establishInitialState()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java207 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java171 final String carrierName = PhoneUtils.get(subId).getCarrierName(); in getSendErrorToastMessage()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java180 operatorName.setText(info.getCarrierName()); in populateView()
DMobileNetworkUtils.java673 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
685 return subInfo.getCarrierName(); in getCurrentCarrierNameForDisplay()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java310 mCarrierName = subInfo.getCarrierName(); in refreshDataplanInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java190 doReturn(carrierName).when(mSubscriptionInfo).getCarrierName(); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java612 when(subscriptionInfo.getCarrierName()).thenReturn("FAKE-CARRIER"); in loadSims_oneSim_simSpinnerDefaultSubscription()
DWifiConfigController2Test.java844 when(subscriptionInfo.getCarrierName()).thenReturn("FAKE-CARRIER"); in loadSims_oneSim_simSpinnerDefaultSubscription()