Home
last modified time | relevance | path

Searched refs:changedUids (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DDistractingPackageHelper.java82 final IntArray changedUids = new IntArray(packageNames.length); in setDistractingPackageRestrictionsAsUser() local
109 changedUids.add(UserHandle.getUid(userId, packageState.getAppId())); in setDistractingPackageRestrictionsAsUser()
127 changedPackages, changedUids.toArray(), userId, restrictionFlags); in setDistractingPackageRestrictionsAsUser()
180 final IntArray changedUids = new IntArray(packagesToChange.length); in removeDistractingPackageRestrictions() local
187 changedUids.add(UserHandle.getUid(userId, ps.getAppId())); in removeDistractingPackageRestrictions()
202 packageArray, changedUids.toArray(), userId, RESTRICTION_NONE); in removeDistractingPackageRestrictions()
DSuspendPackageHelper.java119 final IntArray changedUids = new IntArray(packageNames.length); in setPackagesSuspended() local
174 changedUids.add(UserHandle.getUid(targetUserId, packageState.getAppId())); in setPackagesSuspended()
211 changedPackagesList.toArray(new String[0]), changedUids.toArray(), quarantined, in setPackagesSuspended()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java483 private void generateServicesMap(int[] changedUids, int userId) { in generateServicesMap() argument
486 + Arrays.toString(changedUids)); in generateServicesMap()
568 && containsUid(changedUids, user.persistentServices.get(v1))) { in generateServicesMap()
615 private boolean containsUid(int[] changedUids, int uid) { in containsUid() argument
616 return changedUids == null || ArrayUtils.contains(changedUids, uid); in containsUid()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDistractingPackageHelperTest.kt208 var changedUids = uidsCaptor.value in sendDistractingPackagesChanged() variable
210 assertThat(changedUids).asList().containsExactly( in sendDistractingPackagesChanged()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java6661 final SparseBooleanArray changedUids = new SparseBooleanArray();
6665 changedUids.put(oldUid, true);
6669 for (int i = 0; i < changedUids.size(); i++) {
6670 final int deletedUid = changedUids.keyAt(i);
6676 changedUids.append(newUid, true);
6689 for (int i = 0; i < changedUids.size(); i++) {
6690 final int changedUid = changedUids.keyAt(i);
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1099 final int[] changedUids = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST); in systemReady()
1111 for (int i = 0; i < changedUids.length; i++) { in systemReady()
1112 final int changedUid = changedUids[i]; in systemReady()