Home
last modified time | relevance | path

Searched refs:accessories (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java104 UsbAccessory[] accessories = mUsbManager.getAccessoryList(); in onResume() local
105 UsbAccessory accessory = (accessories == null ? null : accessories[0]); in onResume()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DSourceActivity.java88 UsbAccessory[] accessories = mUsbManager.getAccessoryList(); in onCreate() local
89 if (accessories != null) { in onCreate()
90 for (UsbAccessory accessory : accessories) { in onCreate()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java416 AccessoryFilter[] accessories; in scheduleWritePermissionsLocked() local
442 accessories = new AccessoryFilter[numAccessories]; in scheduleWritePermissionsLocked()
446 accessories[accessoryIdx] = new AccessoryFilter( in scheduleWritePermissionsLocked()
492 accessories[i].write(serializer); in scheduleWritePermissionsLocked()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java1296 final UsbAccessory[] accessories = usbManager.getAccessoryList(); in checkPermission() local
1297 if (!ArrayUtils.isEmpty(accessories)) { in checkPermission()
1298 for (UsbAccessory accessory: accessories) { in checkPermission()
/frameworks/base/core/proto/android/service/
Dusb.proto84 // For "classical" USB-accessories the manufacturer bakes this into the
420 // All accessories of the same model have the same description