Home
last modified time | relevance | path

Searched refs:carrierName (Results 1 – 17 of 17) 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/
DTelephonyProviderTest.java1548 final String carrierName = "name"; in testSIMAPNLIST_MatchTheMVNOAPN() local
1556 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_MatchTheMVNOAPN()
1565 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_MatchTheMVNOAPN()
1592 assertEquals(carrierName, cursor.getString(1)); in testSIMAPNLIST_MatchTheMVNOAPN()
1604 final String carrierName = "name"; in testSIMAPNLIST_MatchTheMNOAPN() local
1610 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_MatchTheMNOAPN()
1627 assertEquals(carrierName, cursor.getString(1)); in testSIMAPNLIST_MatchTheMNOAPN()
1638 final String carrierName = "name"; in testSIMAPNLIST_MatchTheCarrierIDANDMNOAPN() local
1644 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_MatchTheCarrierIDANDMNOAPN()
1651 contentValues.put(Carriers.NAME, carrierName); in testSIMAPNLIST_MatchTheCarrierIDANDMNOAPN()
[all …]
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()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java171 final String carrierName = PhoneUtils.get(subId).getCarrierName(); in getSendErrorToastMessage() local
172 if (TextUtils.isEmpty(carrierName)) { in getSendErrorToastMessage()
175 return context.getString(R.string.carrier_send_error, carrierName, errorCode); in getSendErrorToastMessage()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java354 CharSequence carrierName = ""; in maybeShowContactDiscoveryDialog() local
356 carrierName = info.getDisplayName(); in maybeShowContactDiscoveryDialog()
368 fragment = ContactDiscoveryDialogFragment.newInstance(subId, carrierName); in maybeShowContactDiscoveryDialog()
DContactDiscoveryDialogFragment.java56 public static ContactDiscoveryDialogFragment newInstance(int subId, CharSequence carrierName) { in newInstance() argument
60 args.putCharSequence(CARRIER_NAME_KEY, carrierName); in newInstance()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java656 public void showLimitedSimFunctionWarningNotification(int subId, @Nullable String carrierName) { in showLimitedSimFunctionWarningNotification() argument
657 if (DBG) log("showLimitedSimFunctionWarningNotification carrier: " + carrierName in showLimitedSimFunctionWarningNotification()
681 R.string.limited_sim_function_notification_message).toString(), carrierName) : in showLimitedSimFunctionWarningNotification()
684 carrierName, line1Num); in showLimitedSimFunctionWarningNotification()
/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/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java238 String carrierName = "Test Carrier"; in showForCarrierAp() local
240 when(mAccessPoint.getCarrierName()).thenReturn(carrierName); in showForCarrierAp()
246 String.format(mContext.getString(R.string.wifi_carrier_content), carrierName)); in showForCarrierAp() local
/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/datausage/
DDataUsageSummaryPreferenceController.java185 void setCarrierValues(String carrierName, long snapshotTime, long cycleEnd, Intent intent) { in setCarrierValues() argument
186 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/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java200 final CharSequence carrierName = "foobar"; in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar() local
201 doReturn(carrierName).when(mSubscriptionInfo).getCarrierName(); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
205 verify(mDialog).setText(NETWORK_PROVIDER_VALUE_ID, carrierName); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java301 final CharSequence carrierName = in updateNetworkProvider() local
303 mDialog.setText(NETWORK_PROVIDER_VALUE_ID, carrierName); in updateNetworkProvider()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java393 cv.put(CarrierId.CARRIER_NAME, id.carrierName); in updateDatabaseFromPb()