Home
last modified time | relevance | path

Searched refs:acInterfaceSpec (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbACInterface.java106 int acInterfaceSpec = stream.unpackUsbShort(); in allocAudioControlDescriptor() local
107 parser.setACInterfaceSpec(acInterfaceSpec); in allocAudioControlDescriptor()
109 Log.d(TAG, " acInterfaceSpec:0x" + Integer.toHexString(acInterfaceSpec)); in allocAudioControlDescriptor()
111 if (acInterfaceSpec == UsbDeviceDescriptor.USBSPEC_2_0) { in allocAudioControlDescriptor()
112 return new Usb20ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
114 return new Usb10ACHeader(length, type, subtype, subClass, acInterfaceSpec); in allocAudioControlDescriptor()
123 int acInterfaceSpec = parser.getACInterfaceSpec(); in allocAudioControlDescriptor() local
125 Log.d(TAG, " acInterfaceSpec:0x" + Integer.toHexString(acInterfaceSpec)); in allocAudioControlDescriptor()
127 if (acInterfaceSpec == UsbDeviceDescriptor.USBSPEC_2_0) { in allocAudioControlDescriptor()
139 int acInterfaceSpec = parser.getACInterfaceSpec(); in allocAudioControlDescriptor() local
[all …]
DUsbASFormat.java73 int acInterfaceSpec = parser.getACInterfaceSpec(); in allocDescriptor() local
77 if (acInterfaceSpec == UsbDeviceDescriptor.USBSPEC_2_0) { in allocDescriptor()
84 if (acInterfaceSpec == UsbDeviceDescriptor.USBSPEC_2_0) { in allocDescriptor()