Home
last modified time | relevance | path

Searched refs:requestPermission (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/content/
DIRestrictionsManager.aidl30 void requestPermission(in String packageName, in String requestType, in String requestId, in requestPermission() method
DRestrictionsManager.java456 public void requestPermission(String requestType, String requestId, PersistableBundle request) { in requestPermission() method in RestrictionsManager
468 mService.requestPermission(mContext.getPackageName(), requestType, requestId, in requestPermission()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java369 public void requestPermission(UsbDevice device, PendingIntent pi) { in requestPermission() method in UsbManager
395 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission() method in UsbManager
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java213 getSettingsForUser(userId).requestPermission(device, packageName, pi); in requestDevicePermission()
220 getSettingsForUser(userId).requestPermission(accessory, packageName, pi); in requestAccessoryPermission()
DUsbSettingsManager.java1053 public void requestPermission(UsbDevice device, String packageName, PendingIntent pi) { in requestPermission() method in UsbSettingsManager
1073 public void requestPermission(UsbAccessory accessory, String packageName, PendingIntent pi) { in requestPermission() method in UsbSettingsManager
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbManager.java175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission() method in UsbManager
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd301 android.hardware.usb.UsbManager#requestPermission requestPermission()}. The call to {@link
302 android.hardware.usb.UsbManager#requestPermission requestPermission()} displays a dialog to the
343 android.hardware.usb.UsbManager#requestPermission requestPermission()} method:</p>
347 mUsbManager.requestPermission(device, mPermissionIntent);
Daccessory.jd342 android.hardware.usb.UsbManager#requestPermission requestPermission()}. The call to {@link
343 android.hardware.usb.UsbManager#requestPermission requestPermission()} displays a dialog to the
384 {@link android.hardware.usb.UsbManager#requestPermission requestPermission()} method:</p>
388 mUsbManager.requestPermission(accessory, mPermissionIntent);
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java110 mUsbManager.requestPermission(accessory, mPermissionIntent); in onResume()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java148 mUsbManager.requestPermission(accessory, pendingIntent); in connect()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java106 public void requestPermission(final String packageName, final String requestType, in requestPermission() method in RestrictionsManagerService.RestrictionsManagerImpl
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java174 mUsbManager.requestPermission(usbDevice, mPermissionIntent); in openDeviceLocked()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DSinkActivity.java171 mUsbManager.requestPermission(device, pendingIntent); in connect()
/frameworks/base/api/
Dsystem-current.txt8324 …method public void requestPermission(java.lang.String, java.lang.String, android.os.PersistableBun…
14093 method public void requestPermission(android.hardware.usb.UsbDevice, android.app.PendingIntent);
14094 …method public void requestPermission(android.hardware.usb.UsbAccessory, android.app.PendingIntent);
Dcurrent.txt8078 …method public void requestPermission(java.lang.String, java.lang.String, android.os.PersistableBun…
13373 method public void requestPermission(android.hardware.usb.UsbDevice, android.app.PendingIntent);
13374 …method public void requestPermission(android.hardware.usb.UsbAccessory, android.app.PendingIntent);