Home
last modified time | relevance | path

Searched refs:carrierPackages (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServicesSmsFilter.java131 List<String> carrierPackages = null; in getCarrierAppPackageForFiltering() local
134 carrierPackages = card.getCarrierPackageNamesForIntent( in getCarrierAppPackageForFiltering()
140 if (carrierPackages != null && carrierPackages.size() == 1) { in getCarrierAppPackageForFiltering()
142 + carrierPackages.get(0)); in getCarrierAppPackageForFiltering()
143 return Optional.of(carrierPackages.get(0)); in getCarrierAppPackageForFiltering()
155 logv("getCarrierAppPackageForFiltering: Unable to find carrierPackages: " + carrierPackages in getCarrierAppPackageForFiltering()
DSMSDispatcher.java2081 List<String> carrierPackages = card.getCarrierPackageNamesForIntent( in getCarrierAppPackageName() local
2083 if (carrierPackages != null && carrierPackages.size() == 1) { in getCarrierAppPackageName()
2084 return carrierPackages.get(0); in getCarrierAppPackageName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java182 List<String> carrierPackages = new ArrayList<>(); in mockUiccWithCarrierApp() local
183 carrierPackages.add(CARRIER_APP_PACKAGE_NAME); in mockUiccWithCarrierApp()
185 any(PackageManager.class), any(Intent.class))).thenReturn(carrierPackages); in mockUiccWithCarrierApp()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java526 List<String> carrierPackages = telephonyManager in adjustUriForUserAndGrantPermission() local
529 if (carrierPackages != null && carrierPackages.size() == 1) { in adjustUriForUserAndGrantPermission()
531 grantIntent, callingUid, carrierPackages.get(0), in adjustUriForUserAndGrantPermission()