/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/ |
D | UsbDescriptorsTree.java | 16 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 …]
|
D | UsbDescriptorsTreeNode.java | 16 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;
|
D | UsbDescriptorsEndpointNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbEndpointDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsACInterfaceNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbACInterface; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsDeviceNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbDeviceDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsConfigNode.java | 16 package com.android.server.usb.descriptors.tree; 18 import com.android.server.usb.descriptors.UsbConfigDescriptor; 19 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbDescriptorsInterfaceNode.java | 16 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/av/media/libaudioclient/tests/ |
D | audioeffect_tests.cpp | 81 effect_descriptor_t descriptors[AudioEffect::kMaxPreProcessing]; in isEffectDefaultOnRecord() local 83 status_t ret = AudioEffect::queryDefaultPreProcessing(audioRecord->getSessionId(), descriptors, in isEffectDefaultOnRecord() 89 if ((memcmp(&descriptors[i].type, type, sizeof(effect_uuid_t)) == 0) && in isEffectDefaultOnRecord() 90 (memcmp(&descriptors[i].uuid, uuid, sizeof(effect_uuid_t)) == 0)) { in isEffectDefaultOnRecord() 97 void listEffectsAvailable(std::vector<effect_descriptor_t>& descriptors) { in listEffectsAvailable() argument 103 descriptors.push_back(des); in listEffectsAvailable() 156 std::vector<effect_descriptor_t> descriptors; in TEST() local 157 ASSERT_NO_FATAL_FAILURE(listEffectsAvailable(descriptors)); in TEST() 159 for (auto i = 0; i < descriptors.size(); i++) { in TEST() 161 AudioEffect::getEffectDescriptor(&descriptors[i].uuid, &descriptors[i].type, in TEST() [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectsFactoryHalHidl.cpp | 66 hidl_vec<EffectDescriptor> descriptors; in queryAllDescriptors() local 71 descriptors = result; in queryAllDescriptors() 76 mLastDescriptors = descriptors; in queryAllDescriptors() 78 return {std::move(ret), retval, std::move(descriptors)}; in queryAllDescriptors() 91 auto [ret, retval, descriptors] = mCache->queryAllDescriptors(mEffectsFactory.get()); in queryNumberEffects() 93 *pNumEffects = descriptors.size(); in queryNumberEffects() 107 auto [ret, retval, descriptors] = mCache->queryAllDescriptors(mEffectsFactory.get()); in getDescriptor() 109 if (index >= descriptors.size()) return NAME_NOT_FOUND; in getDescriptor() 110 EffectUtils::effectDescriptorToHal(descriptors[index], pDescriptor); in getDescriptor() 142 std::vector<effect_descriptor_t> *descriptors) { in getDescriptors() argument [all …]
|
/frameworks/base/tests/UsbTests/res/raw/ |
D | readme.txt | 1 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/ |
D | UsbBinaryParser.java | 16 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()
|
D | UsbDescriptorParser.java | 16 package com.android.server.usb.descriptors; 59 public UsbDescriptorParser(String deviceAddr, ArrayList<UsbDescriptor> descriptors) { in UsbDescriptorParser() argument 61 mDescriptors = descriptors; in UsbDescriptorParser() 63 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser() 298 public void parseDescriptors(byte[] descriptors) { in parseDescriptors() argument 299 ByteStream stream = new ByteStream(descriptors); in parseDescriptors() 581 ArrayList<UsbDescriptor> descriptors = in hasAudioInterface() local 583 return !descriptors.isEmpty(); in hasAudioInterface() 671 ArrayList<UsbDescriptor> descriptors = in hasHIDInterface() local 673 return !descriptors.isEmpty(); in hasHIDInterface() [all …]
|
D | Usb10ASGeneral.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbACTerminal.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbASFormat.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas; 19 import com.android.server.usb.descriptors.report.UsbStrings;
|
D | UsbVCInputTerminal.java | 16 package com.android.server.usb.descriptors; 20 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbVCSelectorUnit.java | 16 package com.android.server.usb.descriptors; 20 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbVCProcessingUnit.java | 16 package com.android.server.usb.descriptors; 20 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbVCOutputTerminal.java | 16 package com.android.server.usb.descriptors; 20 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbVCHeader.java | 16 package com.android.server.usb.descriptors; 20 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbVCHeaderInterface.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbMSMidiInputJack.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
D | UsbMSMidiOutputJack.java | 16 package com.android.server.usb.descriptors; 18 import com.android.server.usb.descriptors.report.ReportCanvas;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiEarcLocalDeviceTxTest.java | 155 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad() local 171 assertThat(descriptors).isEqualTo(expectedDescriptors); in earcGetsConnected_capsReportedInTime_sad() 187 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad_sadb() local 205 assertThat(descriptors).isEqualTo(expectedDescriptors); in earcGetsConnected_capsReportedInTime_sad_sadb() 246 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() local 266 assertThat(descriptors).isEqualTo(expectedDescriptors); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() 277 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_capsReportedTooLate() local 278 assertThat(descriptors).hasSize(0); in earcGetsConnected_capsReportedTooLate() 296 List<AudioDescriptor> descriptors = attributes.getAudioDescriptors(); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported() local 297 assertThat(descriptors).hasSize(0); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 94 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()
|