HomeSort by relevance Sort by last modified time
    Searched refs:AoapInterface (Results 1 - 16 of 16) sorted by null

  /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();
UsbDeviceSettings.java 97 if (AoapInterface.isDeviceInAoapMode(device)) {
UsbSettingsStorage.java 55 if (AoapInterface.isDeviceInAoapMode(device)) {
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 132 if (!AoapInterface.isDeviceInAoapMode(device)) {
145 if (!AoapInterface.isDeviceInAoapMode(device)) {
200 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER,
202 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL,
204 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION,
206 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, "2")
    [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, "2");
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 111 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device);
136 boolean isInAoap = AoapInterface.isDeviceInAoapMode(device);
145 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER,
147 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL,
149 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION,
151 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...]

Completed in 266 milliseconds