Searched defs:hasPermission (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/usb/src/com/android/future/usb/
H A DUsbManager.java150 public boolean hasPermission(UsbAccessory accessory) { method in class:UsbManager
157 Log.e(TAG, "RemoteException in hasPermission", e);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java324 public boolean hasPermission(UsbDevice device) { method in class:UsbManager
328 Log.e(TAG, "RemoteException in hasPermission", e);
342 public boolean hasPermission(UsbAccessory accessory) { method in class:UsbManager
346 Log.e(TAG, "RemoteException in hasPermission", e);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java855 public boolean hasPermission(UsbDevice device) { method in class:UsbSettingsManager
869 public boolean hasPermission(UsbAccessory accessory) { method in class:UsbSettingsManager
884 if (!hasPermission(device)) {
890 if (!hasPermission(accessory)) {
929 if (hasPermission(device)) {
949 if (hasPermission(accessory)) {
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java2837 if (!hasPermission(Manifest.permission.INTERACT_ACROSS_USERS)
2838 && !hasPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL)) {
2871 if (!hasPermission(permission)) {
2878 private boolean hasPermission(String permission) { method in class:AccessibilityManagerService.SecurityPolicy
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java5365 private static boolean hasPermission(PackageParser.Package pkgInfo, String perm) { method in class:PackageManagerService
5394 if (pkgInfo == null || !hasPermission(pkgInfo, bp.name)) {
5434 if (pkgInfo == null || !hasPermission(pkgInfo, bp.name)) {

Completed in 134 milliseconds