Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java616 public void grantPermission(UsbDevice device) { in grantPermission() method in UsbManager
617 grantPermission(device, Process.myUid()); in grantPermission()
628 public void grantPermission(UsbDevice device, int uid) { in grantPermission() method in UsbManager
646 public void grantPermission(UsbDevice device, String packageName) { in grantPermission() method in UsbManager
650 grantPermission(device, uid); in grantPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java197 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission()
226 return grantPermission(permission, userId); in grantRuntimePermission()
608 private int grantPermission(BasePermission permission, int userId) { in grantPermission() method in PermissionsState
/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/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java88 mManager.grantPermission(rawDevice); in openDevice()
/frameworks/base/api/
Dsystem-current.txt3031 …method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public void grantPermission(and…
/frameworks/base/services/
Dart-profile12156 HSPLcom/android/server/pm/permission/PermissionsState;->grantPermission(Lcom/android/server/pm/perm…