Home
last modified time | relevance | path

Searched refs:privilegedPackages (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java228 final Map<ParcelUuid, Set<String>> privilegedPackages = new HashMap<>(); in handleSubscriptionsChanged() local
260 privilegedPackages.getOrDefault(subGroup, new ArraySet<>()); in handleSubscriptionsChanged()
263 privilegedPackages.put(subGroup, pkgs); in handleSubscriptionsChanged()
272 privilegedPackages); in handleSubscriptionsChanged()
392 @NonNull Map<ParcelUuid, Set<String>> privilegedPackages) { in TelephonySubscriptionSnapshot() argument
395 Objects.requireNonNull(privilegedPackages, "privilegedPackages was null"); in TelephonySubscriptionSnapshot()
407 for (Entry<ParcelUuid, Set<String>> entry : privilegedPackages.entrySet()) { in TelephonySubscriptionSnapshot()
439 final Set<String> privilegedPackages = mPrivilegedPackages.get(subGrp); in packageHasPermissionsForSubscriptionGroup() local
441 return privilegedPackages != null && privilegedPackages.contains(packageName); in packageHasPermissionsForSubscriptionGroup()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DTelephonySubscriptionTrackerTest.java264 Map<ParcelUuid, Set<String>> privilegedPackages) { in buildExpectedSnapshot() argument
265 return buildExpectedSnapshot(TEST_SUBID_TO_INFO_MAP, privilegedPackages); in buildExpectedSnapshot()
270 Map<ParcelUuid, Set<String>> privilegedPackages) { in buildExpectedSnapshot() argument
271 return buildExpectedSnapshot(0, subIdToInfoMap, privilegedPackages); in buildExpectedSnapshot()
277 Map<ParcelUuid, Set<String>> privilegedPackages) { in buildExpectedSnapshot() argument
279 activeSubId, subIdToInfoMap, TEST_SUBID_TO_CARRIER_CONFIG_MAP, privilegedPackages); in buildExpectedSnapshot()
286 Map<ParcelUuid, Set<String>> privilegedPackages) { in buildExpectedSnapshot() argument
288 activeSubId, subIdToInfoMap, subIdToCarrierConfigMap, privilegedPackages); in buildExpectedSnapshot()
303 private void setPrivilegedPackagesForMock(@NonNull List<String> privilegedPackages) { in setPrivilegedPackagesForMock() argument
304 doReturn(privilegedPackages).when(mTelephonyManager).getPackagesWithCarrierPrivileges(); in setPrivilegedPackagesForMock()
[all …]
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java420 final Set<String> privilegedPackages = in buildSubscriptionSnapshot() local