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.java495 public void grantPermission(UsbDevice device) { in grantPermission() method in UsbManager
496 grantPermission(device, Process.myUid()); in grantPermission()
507 public void grantPermission(UsbDevice device, int uid) { in grantPermission() method in UsbManager
523 public void grantPermission(UsbDevice device, String packageName) { in grantPermission() method in UsbManager
527 grantPermission(device, uid); in grantPermission()
/frameworks/base/services/core/java/com/android/server/pm/
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.java968 boolean grantPermission) { in setBindAppWidgetPermission() argument
986 if (grantPermission) { in setBindAppWidgetPermission()
/frameworks/base/services/
Dart-profile5563 HSPLcom/android/server/pm/PermissionsState;->grantPermission(Lcom/android/server/pm/BasePermission;…