Home | History | Annotate | only in /frameworks/base/tests/UsbTests/res/raw
Up to higher level directory
NameDateSize
readme.txt21-Aug-20181.2K
usbdescriptors_headphones.bin21-Aug-2018180
usbdescriptors_headset.bin21-Aug-2018305
usbdescriptors_lineout.bin21-Aug-2018180
usbdescriptors_massstorage.bin21-Aug-201850
usbdescriptors_nothing.bin21-Aug-201852

readme.txt

      1 The usbdescriptors_ files contain raw USB descriptors from the Google
      2 USB-C to 3.5mm adapter, with different loads connected to the 3.5mm
      3 jack.
      4 
      5 usbdescriptors_nothing.bin:
      6  - The descriptors when the jack is disconnected.
      7 
      8 usbdescriptors_headphones.bin:
      9  - The descriptors when the jack is connected to 32-ohm headphones,
     10    no microphone.
     11    The relevant output terminal is:
     12         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
     13         bTerminalID            15
     14         wTerminalType      0x0302 Headphones
     15    
     16 usbdescriptors_lineout.bin:
     17  - The descriptors when the jack is connected to a PC line-in jack.
     18    The relevant output terminal is:
     19         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
     20         bTerminalID            15
     21         wTerminalType      0x0603 Line Connector
     22 
     23 usbdescriptors_headset.bin:
     24  - The descriptors when a headset with microphone and low-impedance
     25    headphones are connected.
     26    The relevant input terminal is:
     27         bDescriptorSubtype      2 (INPUT_TERMINAL)
     28         bTerminalID             1
     29         wTerminalType      0x0201 Microphone
     30    The relevant output terminal is:
     31         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
     32         bTerminalID            15
     33         wTerminalType      0x0302 Headphones
     34 
     35 
     36