Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java594 public void grantPermission(UsbDevice device) { in grantPermission() method in UsbManager
595 grantPermission(device, Process.myUid()); in grantPermission()
606 public void grantPermission(UsbDevice device, int uid) { in grantPermission() method in UsbManager
624 public void grantPermission(UsbDevice device, String packageName) { in grantPermission() method in UsbManager
628 grantPermission(device, uid); in grantPermission()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java186 return grantPermission(permission, UserHandle.USER_ALL); in grantInstallPermission()
215 return grantPermission(permission, userId); in grantRuntimePermission()
559 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/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1008 boolean grantPermission) { in setBindAppWidgetPermission() argument
1026 if (grantPermission) { in setBindAppWidgetPermission()
/frameworks/base/api/
Dsystem-current.txt2278 method public void grantPermission(android.hardware.usb.UsbDevice, java.lang.String);
/frameworks/base/config/
Dhiddenapi-public-dex.txt15013 Landroid/hardware/usb/UsbManager;->grantPermission(Landroid/hardware/usb/UsbDevice;Ljava/lang/Strin…