Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPermissionManager.java101 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission() local
102 if (uidList == null) { in grantDevicePermission()
103 uidList = new SparseBooleanArray(1); in grantDevicePermission()
104 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission()
106 uidList.put(uid, true); in grantDevicePermission()
118 SparseBooleanArray uidList = mAccessoryPermissionMap.get(accessory); in grantAccessoryPermission() local
119 if (uidList == null) { in grantAccessoryPermission()
120 uidList = new SparseBooleanArray(1); in grantAccessoryPermission()
121 mAccessoryPermissionMap.put(accessory, uidList); in grantAccessoryPermission()
123 uidList.put(uid, true); in grantAccessoryPermission()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java602 public void onPackagesChanged(boolean removingPackage, String[] pkgList, int[] uidList) { in onPackagesChanged() argument
610 if (removingPackage && uidList != null) { in onPackagesChanged()
611 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
614 final int userId = UserHandle.getUserId(uidList[i]); in onPackagesChanged()
622 if (uidList != null && uidList.length > 0) { in onPackagesChanged()
623 for (int uid : uidList) { in onPackagesChanged()
DNotificationManagerService.java1220 int uidList[] = null;
1226 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1229 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1234 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1244 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1249 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
1256 uidList = new int[] {intent.getIntExtra(Intent.EXTRA_UID, -1)};
1288 uidList = new int[] {intent.getIntExtra(Intent.EXTRA_UID, -1)};
1303 mHandler.scheduleOnPackageChanged(removingPackage, changeUserId, pkgList, uidList);
6525 String[] pkgList, int[] uidList) {
[all …]
DPreferencesHelper.java1737 int[] uidList) { in onPackagesChanged() argument
1744 int size = Math.min(pkgList.length, uidList.length); in onPackagesChanged()
1747 final int uid = uidList[i]; in onPackagesChanged()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java12961 private void sendDistractingPackagesChanged(String[] pkgList, int[] uidList, int userId,
12965 extras.putIntArray(Intent.EXTRA_CHANGED_UID_LIST, uidList);
12971 private void sendPackagesSuspendedForUser(String[] pkgList, int[] uidList, int userId,
12975 extras.putIntArray(Intent.EXTRA_CHANGED_UID_LIST, uidList);