Home
last modified time | relevance | path

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

/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/java/com/android/server/usb/
DUsbService.java189 getSettingsForUser(userId).requestPermission(device, packageName, pi); in requestDevicePermission()
196 getSettingsForUser(userId).requestPermission(accessory, packageName, pi); in requestAccessoryPermission()
DUsbSettingsManager.java925 public void requestPermission(UsbDevice device, String packageName, PendingIntent pi) { in requestPermission() method in UsbSettingsManager
945 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/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/
Dcurrent.txt11082 method public void requestPermission(android.hardware.usb.UsbDevice, android.app.PendingIntent);
11083 …method public void requestPermission(android.hardware.usb.UsbAccessory, android.app.PendingIntent);