Searched refs:requestPermission (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 369 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/ |
D | UsbService.java | 189 getSettingsForUser(userId).requestPermission(device, packageName, pi); in requestDevicePermission() 196 getSettingsForUser(userId).requestPermission(accessory, packageName, pi); in requestAccessoryPermission()
|
D | UsbSettingsManager.java | 925 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/ |
D | UsbManager.java | 175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission() method in UsbManager
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | host.jd | 301 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);
|
D | accessory.jd | 342 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/ |
D | AccessoryChat.java | 110 mUsbManager.requestPermission(accessory, mPermissionIntent); in onResume()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 148 mUsbManager.requestPermission(accessory, pendingIntent); in connect()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 174 mUsbManager.requestPermission(usbDevice, mPermissionIntent); in openDeviceLocked()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | SinkActivity.java | 171 mUsbManager.requestPermission(device, pendingIntent); in connect()
|
/frameworks/base/api/ |
D | current.txt | 11082 method public void requestPermission(android.hardware.usb.UsbDevice, android.app.PendingIntent); 11083 …method public void requestPermission(android.hardware.usb.UsbAccessory, android.app.PendingIntent);
|