Home
last modified time | relevance | path

Searched refs:carrierName (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java71 public SimCard(String simId, int subscriptionId, CharSequence carrierName, in SimCard() argument
75 mCarrierName = carrierName; in SimCard()
81 public SimCard(String simId, CharSequence carrierName, in SimCard() argument
83 this(simId, NO_SUBSCRIPTION_ID, carrierName, displayName, phoneNumber, countryCode); in SimCard()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierIdProviderTest.java353 String carrierName = null; in testUpdateCurrentSubscription() local
362 carrierName = c.getString(1); in testUpdateCurrentSubscription()
367 assertEquals(dummy_name, carrierName); in testUpdateCurrentSubscription()
387 carrierName = c.getString(1); in testUpdateCurrentSubscription()
392 assertEquals(dummy_name, carrierName); in testUpdateCurrentSubscription()
DTelephonyProviderTest.java1485 final String carrierName = "name"; in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO() local
1493 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO()
1512 assertEquals(carrierName, cursor.getString(1)); in testSIMAPNLIST_APNMatchTheMCCMNCAndMVNO()
1522 final String carrierName = "name"; in testSIMAPNLIST_APNMatchTheParentMCCMNC() local
1528 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_APNMatchTheParentMCCMNC()
1544 assertEquals(carrierName, cursor.getString(1)); in testSIMAPNLIST_APNMatchTheParentMCCMNC()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java174 final String carrierName = PhoneUtils.get(subId).getCarrierName(); in getSendErrorToastMessage() local
175 if (TextUtils.isEmpty(carrierName)) { in getSendErrorToastMessage()
178 return context.getString(R.string.carrier_send_error, carrierName, errorCode); in getSendErrorToastMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java152 final CharSequence carrierName = "foobar"; in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar() local
153 doReturn(carrierName).when(mSubscriptionInfo).getCarrierName(); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
157 verify(mDialog).setText(NETWORK_PROVIDER_VALUE_ID, carrierName); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java235 String carrierName = "Test Carrier"; in showForCarrierAp() local
237 when(mAccessPoint.getCarrierName()).thenReturn(carrierName); in showForCarrierAp()
243 String.format(mContext.getString(R.string.wifi_carrier_content), carrierName)); in showForCarrierAp() local
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java444 final CharSequence carrierName = subInfo.getCarrierName(); in getCarrierName() local
445 if (carrierName != null) { in getCarrierName()
446 return carrierName.toString(); in getCarrierName()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java181 void setCarrierValues(String carrierName, long snapshotTime, long cycleEnd, Intent intent) { in setCarrierValues() argument
182 mCarrierName = carrierName; in setCarrierValues()
DDataUsageSummaryPreference.java118 public void setUsageInfo(long cycleEnd, long snapshotTime, CharSequence carrierName, in setUsageInfo() argument
122 mCarrierName = carrierName; in setUsageInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java182 void setCarrierValues(String carrierName, long snapshotTime, long cycleEnd, Intent intent) { in setCarrierValues() argument
183 mCarrierName = carrierName; in setCarrierValues()
DDataUsageSummaryPreference.java118 public void setUsageInfo(long cycleEnd, long snapshotTime, CharSequence carrierName, in setUsageInfo() argument
122 mCarrierName = carrierName; in setUsageInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java340 private SubscriptionInfo createSubInfo(int subId, String displayName, String carrierName, in createSubInfo() argument
346 when(subscriptionInfo.getCarrierName()).thenReturn(carrierName); in createSubInfo()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java223 final CharSequence carrierName = in updateNetworkProvider() local
225 mDialog.setText(NETWORK_PROVIDER_VALUE_ID, carrierName); in updateNetworkProvider()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java390 cv.put(CarrierId.CARRIER_NAME, id.carrierName); in updateDatabaseFromPb()