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.java127 List<String> carrierPackages = null; in getCarrierAppPackageForFiltering() local
130 carrierPackages = card.getCarrierPackageNamesForIntent( in getCarrierAppPackageForFiltering()
136 if (carrierPackages != null && carrierPackages.size() == 1) { in getCarrierAppPackageForFiltering()
138 return Optional.of(carrierPackages.get(0)); in getCarrierAppPackageForFiltering()
150 logv("Unable to find carrier package: " + carrierPackages in getCarrierAppPackageForFiltering()
DSMSDispatcher.java2061 List<String> carrierPackages = card.getCarrierPackageNamesForIntent( in getCarrierAppPackageName() local
2063 if (carrierPackages != null && carrierPackages.size() == 1) { in getCarrierAppPackageName()
2064 return carrierPackages.get(0); in getCarrierAppPackageName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServicesSmsFilterTest.java183 List<String> carrierPackages = new ArrayList<>(); in mockUiccWithCarrierApp() local
184 carrierPackages.add(CARRIER_APP_PACKAGE_NAME); in mockUiccWithCarrierApp()
186 any(PackageManager.class), any(Intent.class))).thenReturn(carrierPackages); in mockUiccWithCarrierApp()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java520 List<String> carrierPackages = telephonyManager in adjustUriForUserAndGrantPermission() local
523 if (carrierPackages != null && carrierPackages.size() == 1) { in adjustUriForUserAndGrantPermission()
525 .grantUriPermissionFromIntent(callingUid, carrierPackages.get(0), in adjustUriForUserAndGrantPermission()