Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbUtil.java40 if (AoapInterface.isSupported(context, device, connection)) { in findAllPossibleAndroidDevices()
57 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, in sendAoapAccessoryStart()
59 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, in sendAoapAccessoryStart()
61 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, in sendAoapAccessoryStart()
63 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, in sendAoapAccessoryStart()
65 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, uri); in sendAoapAccessoryStart()
66 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL,serial); in sendAoapAccessoryStart()
67 AoapInterface.sendAoapStart(connection); in sendAoapAccessoryStart()
H A DAoapInterface.java32 final class AoapInterface { class
112 private static final String TAG = AoapInterface.class.getSimpleName();
H A DUsbHostController.java204 if (AoapInterface.isDeviceInAoapMode(device)) { in isDeviceAoapPossible()
210 boolean aoapSupported = AoapInterface.isSupported(mContext, device, connection); in isDeviceAoapPossible()
H A DUsbDeviceSettings.java97 if (AoapInterface.isDeviceInAoapMode(device)) { in matchesDevice()
H A DUsbDeviceHandlerResolver.java135 if (AoapInterface.isDeviceInAoapMode(device)) { in dispatch()
204 if (devConnection != null && AoapInterface.isSupported(mContext, device, devConnection)) { in doHandleResolveHandlers()
H A DUsbSettingsStorage.java56 if (AoapInterface.isDeviceInAoapMode(device)) { in queryFor()
/aosp12/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
H A DUsbDeviceStateController.java111 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); in doHandleDeviceReset()
136 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); in doHandleAoapStart()
145 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, in doHandleAoapStart()
147 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, in doHandleAoapStart()
149 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, in doHandleAoapStart()
151 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, in doHandleAoapStart()
153 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, request.uri); in doHandleAoapStart()
154 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL, request.serial); in doHandleAoapStart()
155 AoapInterface.sendAoapStart(connection); in doHandleAoapStart()
160 if (!AoapInterface.isDeviceInAoapMode(device)) { in doHandleAoapStart()
H A DAoapInterface.java23 public class AoapInterface { class
93 private static final String TAG = AoapInterface.class.getSimpleName();
99 AoapInterface.ACCESSORY_GET_PROTOCOL, 0, 0, buffer, 2, 10000); in getProtocol()
110 AoapInterface.ACCESSORY_SEND_STRING, 0, index, in sendString()
122 AoapInterface.ACCESSORY_START, 0, 0, null, 0, 10000); in sendAoapStart()
H A DUsbHostManagementActivity.java142 if (!AoapInterface.isDeviceInAoapMode(device)) { in startAoapActivity()