Home
last modified time | relevance | path

Searched refs:interfaceDescriptor (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java694 UsbInterfaceDescriptor interfaceDescriptor = (UsbInterfaceDescriptor) descriptor; in hasMIDIInterface() local
695 if (interfaceDescriptor.getUsbSubclass() == UsbDescriptor.AUDIO_MIDISTREAMING) { in hasMIDIInterface()
733 UsbInterfaceDescriptor interfaceDescriptor = interfaceDescriptors.get(interfaceIndex); in doesInterfaceContainEndpoint() local
734 for (int endpointIndex = 0; endpointIndex < interfaceDescriptor.getNumEndpoints(); in doesInterfaceContainEndpoint()
737 interfaceDescriptor.getEndpointDescriptor(endpointIndex); in doesInterfaceContainEndpoint()
776 UsbInterfaceDescriptor interfaceDescriptor = (UsbInterfaceDescriptor) descriptor; in findMidiInterfaceDescriptors() local
777 if (interfaceDescriptor.getUsbSubclass() == UsbDescriptor.AUDIO_MIDISTREAMING) { in findMidiInterfaceDescriptors()
779 interfaceDescriptor.getMidiHeaderInterfaceDescriptor(); in findMidiInterfaceDescriptors()
785 midiInterfaces.add(interfaceDescriptor); in findMidiInterfaceDescriptors()
808 UsbInterfaceDescriptor interfaceDescriptor = (UsbInterfaceDescriptor) descriptor; in calculateMidiInterfaceDescriptorsCount() local
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDirectMidiDevice.java245 UsbInterfaceDescriptor interfaceDescriptor = mUsbInterfaces.get(interfaceIndex); in UsbDirectMidiDevice() local
246 for (int endpointIndex = 0; endpointIndex < interfaceDescriptor.getNumEndpoints(); in UsbDirectMidiDevice()
249 interfaceDescriptor.getEndpointDescriptor(endpointIndex); in UsbDirectMidiDevice()
279 UsbInterfaceDescriptor interfaceDescriptor = mUsbInterfaces.get(interfaceIndex); in calculateDefaultMidiProtocol() local
282 for (int endpointIndex = 0; (endpointIndex < interfaceDescriptor.getNumEndpoints()) in calculateDefaultMidiProtocol()
286 interfaceDescriptor.getEndpointDescriptor(endpointIndex); in calculateDefaultMidiProtocol()
300 UsbInterface usbInterface = interfaceDescriptor.toAndroid(mParser); in calculateDefaultMidiProtocol()
305 interfaceDescriptor.getInterfaceNumber(), in calculateDefaultMidiProtocol()
306 interfaceDescriptor.getAlternateSetting()); in calculateDefaultMidiProtocol()
336 UsbInterfaceDescriptor interfaceDescriptor = mUsbInterfaces.get(interfaceIndex); in openLocked() local
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsInterfaceNode.java39 public UsbDescriptorsInterfaceNode(UsbInterfaceDescriptor interfaceDescriptor) { in UsbDescriptorsInterfaceNode() argument
40 mInterfaceDescriptor = interfaceDescriptor; in UsbDescriptorsInterfaceNode()
DUsbDescriptorsTree.java77 private void addInterfaceDescriptor(UsbInterfaceDescriptor interfaceDescriptor) { in addInterfaceDescriptor() argument
78 mInterfaceNode = new UsbDescriptorsInterfaceNode(interfaceDescriptor); in addInterfaceDescriptor()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalMaxModelLimiter.java160 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHalMaxModelLimiter
161 return mDelegate.interfaceDescriptor(); in interfaceDescriptor()
DSoundTriggerHalWatchdog.java136 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHalWatchdog
137 return mUnderlying.interfaceDescriptor(); in interfaceDescriptor()
DSoundTriggerDuplicateModelHandler.java173 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerDuplicateModelHandler
174 return mDelegate.interfaceDescriptor(); in interfaceDescriptor()
DISoundTriggerHal.java123 String interfaceDescriptor(); in interfaceDescriptor() method
DSoundTriggerHalEnforcer.java205 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHalEnforcer
206 return mUnderlying.interfaceDescriptor(); in interfaceDescriptor()
DSoundTriggerHalConcurrentCaptureHandler.java454 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHalConcurrentCaptureHandler
455 return mDelegate.interfaceDescriptor(); in interfaceDescriptor()
DSoundTriggerHw3Compat.java164 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHw3Compat
DSoundTriggerHw2Compat.java407 public String interfaceDescriptor() { in interfaceDescriptor() method in SoundTriggerHw2Compat
409 return as2_0().interfaceDescriptor(); in interfaceDescriptor()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h166 static inline AIBinder_Class* defineClass(const char* interfaceDescriptor,
255 AIBinder_Class* ICInterface::defineClass(const char* interfaceDescriptor, in defineClass() argument
257 AIBinder_Class* clazz = AIBinder_Class_define(interfaceDescriptor, ICInterfaceData::onCreate, in defineClass()
/frameworks/native/libs/binder/ndk/
Dibinder.cpp379 AIBinder_Class::AIBinder_Class(const char* interfaceDescriptor, AIBinder_Class_onCreate onCreate, in AIBinder_Class() argument
385 mInterfaceDescriptor(interfaceDescriptor), in AIBinder_Class()
386 mWideInterfaceDescriptor(interfaceDescriptor) {} in AIBinder_Class()
388 AIBinder_Class* AIBinder_Class_define(const char* interfaceDescriptor, in AIBinder_Class_define() argument
392 if (interfaceDescriptor == nullptr || onCreate == nullptr || onDestroy == nullptr || in AIBinder_Class_define()
397 return new AIBinder_Class(interfaceDescriptor, onCreate, onDestroy, onTransact); in AIBinder_Class_define()
Dibinder_internal.h130 AIBinder_Class(const char* interfaceDescriptor, AIBinder_Class_onCreate onCreate,
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_ibinder.h189 const char* interfaceDescriptor, AIBinder_Class_onCreate onCreate,
/frameworks/base/services/core/java/com/android/server/recoverysystem/hal/
DBootControlHIDL.java178 return v1_hal.interfaceDescriptor(); in getInterfaceHash()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundHw2CompatTest.java610 when(mHalDriver.interfaceDescriptor()).thenReturn("ABCD"); in testInterfaceDescriptor()
611 assertEquals("ABCD", mCanonical.interfaceDescriptor()); in testInterfaceDescriptor()
612 verify(mHalDriver).interfaceDescriptor(); in testInterfaceDescriptor()
/frameworks/native/cmds/lshal/
Dtest.cpp130 MOCK_METHOD_CB(interfaceDescriptor);
887 android::hardware::Return<void> interfaceDescriptor(interfaceDescriptor_cb cb) override { in interfaceDescriptor() function in android::lshal::InheritingService
968 android::hardware::Return<void> interfaceDescriptor(interfaceDescriptor_cb cb) override { in interfaceDescriptor() function in android::lshal::SlowService
/frameworks/base/core/jni/
Dandroid_os_HwBinder.cpp269 auto ret = base->interfaceDescriptor( in JHwBinder_native_transact()