/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbManager.java | 94 android.hardware.usb.UsbAccessory accessory = in getAccessory() local 111 android.hardware.usb.UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList() local 129 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 150 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() 175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission()
|
D | UsbAccessory.java | 31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) { in UsbAccessory() 106 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 82 UsbAccessory accessory = in onCreate() local 116 private void onAccessoryAttached(UsbAccessory accessory) { in onAccessoryAttached() 123 private void onAccessoryDetached(UsbAccessory accessory) { in onAccessoryDetached() 130 private void connect(UsbAccessory accessory) { in connect() 193 private static boolean isSink(UsbAccessory accessory) { in isSink() 216 UsbAccessory accessory = intent.<UsbAccessory>getParcelableExtra( in onReceive() local
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
D | UsbAoapDeviceTestActivity.java | 65 UsbAccessory accessory = in onCreate() local 94 private void onAccessoryAttached(UsbAccessory accessory) { in onAccessoryAttached() 117 private void onAccessoryDetached(UsbAccessory accessory) { in onAccessoryDetached() 162 UsbAccessory accessory = intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onReceive() local
|
/frameworks/base/core/java/android/hardware/usb/ |
D | IUsbManager.aidl | 45 ParcelFileDescriptor openAccessory(in UsbAccessory accessory); in openAccessory() 55 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); in setAccessoryPackage() 61 boolean hasAccessoryPermission(in UsbAccessory accessory); in hasAccessoryPermission() 73 void requestAccessoryPermission(in UsbAccessory accessory, String packageName, in requestAccessoryPermission() 80 void grantAccessoryPermission(in UsbAccessory accessory, int uid); in grantAccessoryPermission()
|
D | AccessoryFilter.java | 53 public AccessoryFilter(UsbAccessory accessory) { in AccessoryFilter() 108 public boolean contains(AccessoryFilter accessory) { in contains() 129 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
|
D | UsbManager.java | 499 UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList() local 521 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 582 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() 643 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission()
|
D | UsbAccessory.java | 189 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPermissionManager.java | 75 void removeAccessoryPermissions(@NonNull UsbAccessory accessory) { in removeAccessoryPermissions() 116 void grantAccessoryPermission(@NonNull UsbAccessory accessory, int uid) { in grantAccessoryPermission() 154 boolean hasPermission(@NonNull UsbAccessory accessory, int uid) { in hasPermission() 181 @Nullable UsbAccessory accessory, in requestPermissionDialog()
|
D | UsbUserSettingsManager.java | 99 void removeAccessoryPermissions(@NonNull UsbAccessory accessory) { in removeAccessoryPermissions() 172 public boolean hasPermission(UsbAccessory accessory, int uid) { in hasPermission() 183 public void checkPermission(UsbAccessory accessory, int uid) { in checkPermission() 191 @Nullable UsbAccessory accessory, in requestPermissionDialog() 243 public void requestPermission(UsbAccessory accessory, String packageName, PendingIntent pi, in requestPermission() 266 public void grantAccessoryPermission(UsbAccessory accessory, int uid) { in grantAccessoryPermission() 333 private boolean canBeDefault(@NonNull UsbAccessory accessory, String packageName) { in canBeDefault()
|
D | UsbHandlerManager.java | 56 void showUsbAccessoryUriActivity(@NonNull UsbAccessory accessory, in showUsbAccessoryUriActivity() 84 @Nullable UsbAccessory accessory) { in confirmUsbHandler()
|
D | UsbService.java | 287 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 335 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage() 366 public boolean hasAccessoryPermission(UsbAccessory accessory) { in hasAccessoryPermission() 394 UsbAccessory accessory, String packageName, PendingIntent pi) { in requestAccessoryPermission() 420 public void grantAccessoryPermission(UsbAccessory accessory, int uid) { in grantAccessoryPermission()
|
D | UsbProfileGroupSettingsManager.java | 543 UsbAccessory accessory) { in packageMatchesLocked() 726 UsbAccessory accessory, Intent intent) { in getAccessoryMatchesLocked() 807 public void accessoryAttached(UsbAccessory accessory) { in accessoryAttached() 836 @Nullable UsbAccessory accessory) { in resolveActivity() 1084 void setAccessoryPackage(@NonNull UsbAccessory accessory, @Nullable String packageName, in setAccessoryPackage()
|
D | UsbSettingsManager.java | 196 void usbAccessoryRemoved(@NonNull UsbAccessory accessory) { in usbAccessoryRemoved()
|
D | UsbDeviceManager.java | 220 String accessory = event.get("ACCESSORY"); in onUEvent() local 1969 public ParcelFileDescriptor openAccessory(UsbAccessory accessory, in openAccessory()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDisconnectedReceiver.java | 43 public UsbDisconnectedReceiver(Activity activity, UsbAccessory accessory) { in UsbDisconnectedReceiver() 60 UsbAccessory accessory = in onReceive() local
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
D | AccessoryChat.java | 103 UsbAccessory accessory = (accessories == null ? null : accessories[0]); in onResume() local 139 private void openAccessory(UsbAccessory accessory) { in openAccessory()
|
/frameworks/base/core/java/com/android/internal/usb/ |
D | DumpUtils.java | 51 long id, @NonNull UsbAccessory accessory) { in writeAccessory()
|