Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java162 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission() local
163 if (uidList == null) { in grantDevicePermission()
164 uidList = new SparseBooleanArray(1); in grantDevicePermission()
165 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission()
167 uidList.put(uid, true); in grantDevicePermission()
179 SparseBooleanArray uidList = mAccessoryPermissionMap.get(accessory); in grantAccessoryPermission() local
180 if (uidList == null) { in grantAccessoryPermission()
181 uidList = new SparseBooleanArray(1); in grantAccessoryPermission()
182 mAccessoryPermissionMap.put(accessory, uidList); in grantAccessoryPermission()
184 uidList.put(uid, true); in grantAccessoryPermission()
[all …]
/frameworks/base/apex/media/framework/java/android/media/
DMediaTranscodingManager.java1574 List<Integer> uidList = new ArrayList<Integer>(); in getClientUids() local
1580 return uidList; in getClientUids()
1586 uidList.add(i); in getClientUids()
1592 return uidList; in getClientUids()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java907 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument
915 if (removingPackage && uidList != null) { in onPackagesChanged()
916 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
919 final int userId = UserHandle.getUserId(uidList[i]); in onPackagesChanged()
927 if (uidList != null && uidList.length > 0) { in onPackagesChanged()
928 for (int uid : uidList) { in onPackagesChanged()
DNotificationManagerService.java1694 int uidList[] = null;
1700 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1703 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1708 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1718 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1723 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1730 uidList = new int[] {intent.getIntExtra(Intent.EXTRA_UID, -1)};
1762 uidList = new int[] {intent.getIntExtra(Intent.EXTRA_UID, -1)};
1770 } else if (hideNotifications && uidList != null && (uidList.length > 0)) {
1771 hideNotificationsForPackages(pkgList, uidList);
[all …]
DPreferencesHelper.java2279 int[] uidList) { in onPackagesChanged() argument
2286 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
2289 final int uid = uidList[i]; in onPackagesChanged()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java16035 private void sendDistractingPackagesChanged(String[] pkgList, int[] uidList, int userId, in sendDistractingPackagesChanged() argument
16039 extras.putIntArray(Intent.EXTRA_CHANGED_UID_LIST, uidList); in sendDistractingPackagesChanged()
16047 void sendPackagesSuspendedForUser(String[] pkgList, int[] uidList, int userId, in sendPackagesSuspendedForUser() argument
16058 final int uid = uidList[i]; in sendPackagesSuspendedForUser()