/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 152 private boolean hasPermission(PackageInfo app, String permission) { in hasPermission() method in PermissionMonitor 164 return hasPermission(app, CHANGE_NETWORK_STATE); in hasNetworkPermission() 172 return hasPermission(app, CONNECTIVITY_INTERNAL); in hasSystemPermission()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 378 private boolean hasPermission(String callingPackage) { in hasPermission() method in UsageStatsService.BinderService 397 if (!hasPermission(callingPackage)) { in queryUsageStats() 418 if (!hasPermission(callingPackage)) { in queryConfigurationStats() 439 if (!hasPermission(callingPackage)) { in queryEvents()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 324 public boolean hasPermission(UsbDevice device) { in hasPermission() method in UsbManager 342 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbManager
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 201 return getSettingsForUser(userId).hasPermission(device); in hasDevicePermission() 207 return getSettingsForUser(userId).hasPermission(accessory); in hasAccessoryPermission()
|
D | UsbSettingsManager.java | 983 public boolean hasPermission(UsbDevice device) { in hasPermission() method in UsbSettingsManager 997 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbSettingsManager 1012 if (!hasPermission(device)) { in checkPermission() 1018 if (!hasPermission(accessory)) { in checkPermission() 1057 if (hasPermission(device)) { in requestPermission() 1077 if (hasPermission(accessory)) { in requestPermission()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 215 boolean hasPermission = false; in hasProjectionPermission() 217 hasPermission |= checkPermission(packageName, in hasProjectionPermission() 225 return hasPermission; in hasProjectionPermission()
|
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbManager.java | 150 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in UsbManager
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
D | AccessoryChat.java | 105 if (mUsbManager.hasPermission(accessory)) { in onResume()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 142 if (!mUsbManager.hasPermission(accessory)) { in connect()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 173 if (!mUsbManager.hasPermission(usbDevice)) { in openDeviceLocked()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | SinkActivity.java | 165 if (!mUsbManager.hasPermission(device)) { in connect()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 3607 if (!hasPermission(Manifest.permission.INTERACT_ACROSS_USERS) in resolveCallingUserIdEnforcingPermissionsLocked() 3608 && !hasPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL)) { in resolveCallingUserIdEnforcingPermissionsLocked() 3657 if (!hasPermission(permission)) { in enforceCallingPermission() 3664 private boolean hasPermission(String permission) { in hasPermission() method in AccessibilityManagerService.SecurityPolicy
|
/frameworks/base/docs/html/tools/adk/ |
D | adk2.jd | 564 if (!mUSBManager.hasPermission(acc)) return;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 6940 private static boolean hasPermission(PackageParser.Package pkgInfo, String perm) { in hasPermission() method in PackageManagerService 6969 if (pkgInfo == null || !hasPermission(pkgInfo, bp.name)) { in updatePermissionsLPw() 7009 if (pkgInfo == null || !hasPermission(pkgInfo, bp.name)) { in updatePermissionsLPw()
|
/frameworks/base/api/ |
D | system-current.txt | 14089 method public boolean hasPermission(android.hardware.usb.UsbDevice); 14090 method public boolean hasPermission(android.hardware.usb.UsbAccessory);
|
D | current.txt | 13369 method public boolean hasPermission(android.hardware.usb.UsbDevice); 13370 method public boolean hasPermission(android.hardware.usb.UsbAccessory);
|