Home
last modified time | relevance | path

Searched refs:descriptors (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsTree.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.UsbConfigDescriptor;
20 import com.android.server.usb.descriptors.UsbDescriptor;
21 import com.android.server.usb.descriptors.UsbDescriptorParser;
22 import com.android.server.usb.descriptors.UsbDeviceDescriptor;
23 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
24 import com.android.server.usb.descriptors.UsbInterfaceDescriptor;
25 import com.android.server.usb.descriptors.report.ReportCanvas;
102 ArrayList<UsbDescriptor> descriptors = parser.getDescriptors(); in parse() local
[all …]
DUsbDescriptorsTreeNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.Reporting;
DUsbDescriptorsEndpointNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbEndpointDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsACInterfaceNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbACInterface;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsDeviceNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbDeviceDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsConfigNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbConfigDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbDescriptorsInterfaceNode.java16 package com.android.server.usb.descriptors.tree;
18 import com.android.server.usb.descriptors.UsbInterfaceDescriptor;
19 import com.android.server.usb.descriptors.report.ReportCanvas;
/frameworks/base/tests/UsbTests/res/raw/
Dreadme.txt1 The usbdescriptors_ files contain raw USB descriptors from the Google
6 - The descriptors when the jack is disconnected.
9 - The descriptors when the jack is connected to 32-ohm headphones,
17 - The descriptors when the jack is connected to a PC line-in jack.
24 - The descriptors when a headset with microphone and low-impedance
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbBinaryParser.java16 package com.android.server.usb.descriptors;
21 import com.android.server.usb.descriptors.report.UsbStrings;
60 public void parseDescriptors(UsbDeviceConnection connection, byte[] descriptors, in parseDescriptors() argument
64 ByteStream stream = new ByteStream(descriptors); in parseDescriptors()
DUsbDescriptorParser.java16 package com.android.server.usb.descriptors;
55 public UsbDescriptorParser(String deviceAddr, ArrayList<UsbDescriptor> descriptors) { in UsbDescriptorParser() argument
57 mDescriptors = descriptors; in UsbDescriptorParser()
59 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser()
277 public void parseDescriptors(byte[] descriptors) { in parseDescriptors() argument
278 ByteStream stream = new ByteStream(descriptors); in parseDescriptors()
560 ArrayList<UsbDescriptor> descriptors = in hasAudioInterface() local
562 return !descriptors.isEmpty(); in hasAudioInterface()
624 ArrayList<UsbDescriptor> descriptors = in hasHIDInterface() local
626 return !descriptors.isEmpty(); in hasHIDInterface()
[all …]
DUsb10ASGeneral.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbACTerminal.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbASFormat.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
19 import com.android.server.usb.descriptors.report.UsbStrings;
DUsbVCOutputTerminal.java16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbVCInputTerminal.java16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbVCProcessingUnit.java16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbVCSelectorUnit.java16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbVCHeader.java16 package com.android.server.usb.descriptors;
20 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbMSMidiInputJack.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbMSMidiHeader.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
DUsbMSMidiOutputJack.java16 package com.android.server.usb.descriptors;
18 import com.android.server.usb.descriptors.report.ReportCanvas;
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java56 String name, String description, String provider, byte subclass, byte[] descriptors) { in BluetoothHidDeviceAppSdpSettings() argument
62 if (descriptors == null || descriptors.length > MAX_DESCRIPTOR_SIZE) { in BluetoothHidDeviceAppSdpSettings()
67 mDescriptors = descriptors.clone(); in BluetoothHidDeviceAppSdpSettings()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java94 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); in onCreate() local
97 list.setAdapter(new EffectListAdapter(this, descriptors)); in onCreate()
107 public EffectListAdapter(Context context, AudioEffect.Descriptor[] descriptors) { in EffectListAdapter() argument
110 mDescriptors = descriptors; in EffectListAdapter()
150 public EffectView(Context context, AudioEffect.Descriptor[] descriptors) { in EffectView() argument
154 mDescriptors = descriptors; in EffectView()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp241 const std::vector<RegionSamplingThread::Descriptor>& descriptors, uint32_t orientation) { in sampleBuffer() argument
251 std::vector<float> lumas(descriptors.size()); in sampleBuffer()
252 std::transform(descriptors.begin(), descriptors.end(), lumas.begin(), in sampleBuffer()
283 std::vector<RegionSamplingThread::Descriptor> descriptors; in captureSample() local
287 descriptors.emplace_back(descriptor); in captureSample()
307 for (const auto& [area, stopLayer, listener] : descriptors) { in captureSample()
326 for (const auto& [area, stopLayer, listener] : descriptors) { in captureSample()
365 for (const auto& descriptor : descriptors) { in captureSample()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java32 import com.android.server.usb.descriptors.UsbDescriptorParser;
58 byte[] descriptors = null; in loadParser()
60 descriptors = ByteStreams.toByteArray(is); in loadParser()
66 UsbDescriptorParser parser = new UsbDescriptorParser("test-usb-addr", descriptors); in loadParser()

1234