Home
last modified time | relevance | path

Searched refs:grantPermission (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java658 public void grantPermission(UsbDevice device) { in grantPermission() method in UsbManager
659 grantPermission(device, Process.myUid()); in grantPermission()
670 public void grantPermission(UsbDevice device, int uid) { in grantPermission() method in UsbManager
688 public void grantPermission(UsbDevice device, String packageName) { in grantPermission() method in UsbManager
692 grantPermission(device, uid); in grantPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java257 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission()
286 return grantPermission(permission, userId); in grantRuntimePermission()
670 private int grantPermission(BasePermission permission, int userId) { in grantPermission() method in PermissionsState
DDefaultPermissionGrantPolicy.java243 public void grantPermission(@NonNull String permission, @NonNull PackageInfo pkg,
1288 pm.grantPermission(permission, pkg, user); in grantRuntimePermissions()
1530 abstract void grantPermission(@NonNull String permission, @NonNull PackageInfo pkg, in grantPermission() method in DefaultPermissionGrantPolicy.PackageManagerWrapper
1716 public void grantPermission(@NonNull String permission, @NonNull PackageInfo pkg, in grantPermission() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache
1825 NO_PM_CACHE.grantPermission(mPermission, mPkgRequestingPerm, mUser); in apply()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java155 usbManager.grantPermission(device, uid); in startAoapActivity()
DUsbDeviceStateController.java247 mUsbManager.grantPermission(device); in openConnection()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1023 boolean grantPermission) { in setBindAppWidgetPermission() argument
1041 if (grantPermission) { in setBindAppWidgetPermission()
/frameworks/base/services/
Dart-profile-boot28 Lcom/android/server/pm/permission/PermissionsState;->grantPermission(Lcom/android/server/pm/permiss…
Dart-profile27285 PLcom/android/server/pm/permission/DefaultPermissionGrantPolicy$1;->grantPermission(Ljava/lang/Stri…
27306 …ermission/DefaultPermissionGrantPolicy$DelayingPackageManagerCache;->grantPermission(Ljava/lang/St…
27701 HSPLcom/android/server/pm/permission/PermissionsState;->grantPermission(Lcom/android/server/pm/perm…
/frameworks/base/non-updatable-api/
Dsystem-current.txt3613 …method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(and…
/frameworks/base/api/
Dsystem-current.txt3665 …method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(and…