Home
last modified time | relevance | path

Searched refs:AoapInterface (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java36 if (AoapInterface.isSupported(connection)) { in findAllPossibleAndroidDevices()
52 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, in sendAoapAccessoryStart()
54 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, in sendAoapAccessoryStart()
56 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, in sendAoapAccessoryStart()
58 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, in sendAoapAccessoryStart()
60 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, uri); in sendAoapAccessoryStart()
61 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL,serial); in sendAoapAccessoryStart()
62 AoapInterface.sendAoapStart(connection); in sendAoapAccessoryStart()
DBootUsbScanner.java17 if (AoapInterface.isDeviceInAoapMode(device)) { in onReceive()
23 if (AoapInterface.isSupported(connection)) { in onReceive()
DAoapInterface.java22 final class AoapInterface { class
97 private static final String TAG = AoapInterface.class.getSimpleName();
DUsbDeviceHandlerResolver.java440 if (AoapInterface.isDeviceInAoapMode(device)) { in dispatch()
487 if (AoapInterface.isSupported(deviceContext.connection)) { in doHandleResolveHandlers()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbDeviceStateController.java139 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); in doHandleDeviceReset()
167 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); in doHandleAoapStart()
181 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, in doHandleAoapStart()
183 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, in doHandleAoapStart()
185 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, in doHandleAoapStart()
187 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, in doHandleAoapStart()
189 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, request.uri); in doHandleAoapStart()
190 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL, in doHandleAoapStart()
192 AoapInterface.sendAoapStart(connection); in doHandleAoapStart()
202 if (AoapInterface.isDeviceInAoapMode(device)) { in doHandleAoapStart()
DAoapInterface.java25 final class AoapInterface { class
100 private static final String TAG = AoapInterface.class.getSimpleName();
DUsbDeviceHandlerResolver.java258 return (mVendorId == AoapInterface.USB_ACCESSORY_VENDOR_ID in isAoap()
259 && mProductId == AoapInterface.USB_ACCESSORY_PRODUCT_ID); in isAoap()
493 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); in doHandleResolveHandlers()
508 if (!AoapInterface.isDeviceInAoapMode(device) && maySupportAoap) { in doHandleResolveHandlers()