Home
last modified time | relevance | path

Searched refs:mDeviceDescriptor (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp33 mDeviceDescriptor != 0 ? mDeviceDescriptor->type() : AUDIO_DEVICE_NONE, in log()
40 return indexOfKey(session) >= 0 && valueFor(session)->mDeviceDescriptor != 0; in hasRoute()
107 if (descriptor != 0 || route->mDeviceDescriptor != 0) { in addRoute()
111 route->mDeviceDescriptor = descriptor; in addRoute()
130 && route->mDeviceDescriptor != 0) { in getActiveDeviceForStream()
131 device = route->mDeviceDescriptor->type(); in getActiveDeviceForStream()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java37 private UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorParser
54 mDeviceDescriptor = (UsbDeviceDescriptor) descriptors.get(0); in UsbDescriptorParser()
78 if (mDeviceDescriptor != null) { in getUsbSpec()
79 return mDeviceDescriptor.getSpec(); in getUsbSpec()
124 descriptor = mDeviceDescriptor = new UsbDeviceDescriptor(length, type); in allocDescriptor()
129 if (mDeviceDescriptor != null) { in allocDescriptor()
130 mDeviceDescriptor.addConfigDescriptor(mCurConfigDescriptor); in allocDescriptor()
202 return mDeviceDescriptor; in getDeviceDescriptor()
264 return mDeviceDescriptor != null ? mDeviceDescriptor.getSpec() : 0; in getParsingSpec()
275 if (mDeviceDescriptor == null) { in toAndroidUsbDevice()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
DUsbDescriptorsDeviceNode.java30 private final UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorsDeviceNode
39 mDeviceDescriptor = deviceDescriptor; in UsbDescriptorsDeviceNode()
51 mDeviceDescriptor.report(canvas); in report()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h48 mDeviceDescriptor(deviceDescriptor), in SessionRoute()
59 return (mDeviceDescriptor != 0) && (mChanged || (mActivityCount > 0)); in isActiveOrChanged()
64 sp<DeviceDescriptor> mDeviceDescriptor; variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3298 if (route->mDeviceDescriptor != 0) { in clearSessionRoutes()
3314 if (route->mDeviceDescriptor != 0) { in clearSessionRoutes()
5503 (mAvailableInputDevices.indexOf(route->mDeviceDescriptor) >= 0)) { in loadConfig()
5504 return route->mDeviceDescriptor->type(); in loadConfig()