Home
last modified time | relevance | path

Searched refs:getCarrierId (Results 1 – 7 of 7) sorted by relevance

/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java103 if (id.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in onLoadConfig()
116 } else if (file.startsWith(CARRIER_ID_PREFIX + id.getCarrierId() + "_")) { in onLoadConfig()
299 result = result && ((Integer.parseInt(value) == id.getCarrierId()) in checkFilters()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java656 result.setCarrierId(getCarrierId(context)); in dumpToEncodedProto()
667 private static int getCarrierId(Context context) { in getCarrierId() method in Analytics
676 .map(SubscriptionInfo::getCarrierId).orElse(-1); in getCarrierId()
685 return ((subInfo.getCarrierId() >= 0) ? scoreCarrierId : 0) in scoreSubscriptionInfo()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java157 int carrierId = getCarrierId(getInstrumentation().getTargetContext(), in testCarrierConfigFileNaming()
306 private int getCarrierId(@NonNull Context context, in getCarrierId() method in CarrierConfigTest
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java329 assertEquals(1, analyticsProto.getCarrierId()); in testAnalyticsDumpToProto()
464 when(subInfo1.getCarrierId()).thenReturn(1);
465 when(subInfo2.getCarrierId()).thenReturn(2);
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java118 + ", CarrierId " + sub.getCarrierId()); in load()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java697 carrierId = phone.getCarrierId(); in getCarrierIdentifierForPhoneId()
751 return phone.getCarrierId(); in getCarrierIdForPhoneId()
DPhoneInterfaceManager.java2632 return phone == null ? TelephonyManager.UNKNOWN_CARRIER_ID : phone.getCarrierId(); in getSubscriptionCarrierId()