Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/usb/
DUsbSettingsManager.java781 SparseBooleanArray uidList = mDevicePermissionMap.get(device.getDeviceName()); in hasPermission() local
782 if (uidList == null) { in hasPermission()
785 return uidList.get(Binder.getCallingUid()); in hasPermission()
791 SparseBooleanArray uidList = mAccessoryPermissionMap.get(accessory); in hasPermission() local
792 if (uidList == null) { in hasPermission()
795 return uidList.get(Binder.getCallingUid()); in hasPermission()
919 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission() local
920 if (uidList == null) { in grantDevicePermission()
921 uidList = new SparseBooleanArray(1); in grantDevicePermission()
922 mDevicePermissionMap.put(deviceName, uidList); in grantDevicePermission()
[all …]
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java1998 int uidList[] = null;
2000 uidList = intent.getIntArrayExtra(Intent.EXTRA_CHANGED_UID_LIST);
2002 uidList = new int[]{intent.getIntExtra(Intent.EXTRA_UID, -1)};
2004 if (uidList == null || uidList.length == 0) {
2007 for (int uid : uidList) {
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java8869 int uidList[] = new int[list.length]; in updateExternalMediaStatusInner() local
8906 uidList[num++] = uid; in updateExternalMediaStatusInner()
8917 Arrays.sort(uidList, 0, num); in updateExternalMediaStatusInner()
8920 uidArr[0] = uidList[0]; in updateExternalMediaStatusInner()
8923 if (uidList[i - 1] != uidList[i]) { in updateExternalMediaStatusInner()
8924 uidArr[di++] = uidList[i]; in updateExternalMediaStatusInner()