/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
UsbUtil.java | 36 if (AoapInterface.isSupported(connection)) { 52 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 54 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 56 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 58 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, 60 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, uri) [all...] |
BootUsbScanner.java | 13 // TODO: move probing of devices to a service, since AoapInterface.isSupported() could take 17 if (AoapInterface.isDeviceInAoapMode(device)) { 23 if (AoapInterface.isSupported(connection)) {
|
AoapInterface.java | 22 final class AoapInterface { 97 private static final String TAG = AoapInterface.class.getSimpleName();
|
UsbDeviceHandlerResolver.java | 440 if (AoapInterface.isDeviceInAoapMode(device)) { 487 if (AoapInterface.isSupported(deviceContext.connection)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
AoapInterface.java | 23 class AoapInterface { 93 private static final String TAG = AoapInterface.class.getSimpleName(); 99 AoapInterface.ACCESSORY_GET_PROTOCOL, 0, 0, buffer, 2, 10000); 110 AoapInterface.ACCESSORY_SEND_STRING, 0, index, 122 AoapInterface.ACCESSORY_START, 0, 0, null, 0, 10000);
|
UsbDeviceTestActivity.java | 148 if (!AoapInterface.isDeviceInAoapMode(device)) { 161 if (!AoapInterface.isDeviceInAoapMode(device)) { 216 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 218 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 220 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 222 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, "1") [all...] |
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
AoapInterface.java | 23 class AoapInterface { 88 private static final String TAG = AoapInterface.class.getSimpleName(); 94 AoapInterface.ACCESSORY_GET_PROTOCOL, 0, 0, buffer, 2, 10000); 105 AoapInterface.ACCESSORY_SEND_STRING, 0, index, 117 AoapInterface.ACCESSORY_START, 0, 0, null, 0, 10000);
|
AccessoryTestCompanion.java | 269 if (!AoapInterface.isDeviceInAoapMode(device)) { 343 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 345 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 347 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 349 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, "1"); 350 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI [all...] |
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
AoapInterface.java | 23 public class AoapInterface { 93 private static final String TAG = AoapInterface.class.getSimpleName(); 99 AoapInterface.ACCESSORY_GET_PROTOCOL, 0, 0, buffer, 2, 10000); 110 AoapInterface.ACCESSORY_SEND_STRING, 0, index, 122 AoapInterface.ACCESSORY_START, 0, 0, null, 0, 10000);
|
UsbDeviceStateController.java | 108 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); 133 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); 142 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 144 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 146 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 148 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION [all...] |
UsbHostManagementActivity.java | 142 if (!AoapInterface.isDeviceInAoapMode(device)) {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
UsbDeviceStateController.java | 139 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); 167 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); 181 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 183 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 185 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 187 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION [all...] |
AoapInterface.java | 25 final class AoapInterface { 100 private static final String TAG = AoapInterface.class.getSimpleName();
|
UsbDeviceHandlerResolver.java | 258 return (mVendorId == AoapInterface.USB_ACCESSORY_VENDOR_ID 259 && mProductId == AoapInterface.USB_ACCESSORY_PRODUCT_ID); 493 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device); 508 if (!AoapInterface.isDeviceInAoapMode(device) && maySupportAoap) { [all...] |