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 (((route->mDeviceDescriptor == 0) && (descriptor != 0)) || in addRoute()
108 ((route->mDeviceDescriptor != 0) && in addRoute()
109 ((descriptor == 0) || (!route->mDeviceDescriptor->equals(descriptor))))) { in addRoute()
113 route->mDeviceDescriptor = descriptor; in addRoute()
/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/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java32 private UsbDeviceDescriptor mDeviceDescriptor; field in UsbDescriptorParser
49 if (mDeviceDescriptor != null) { in getUsbSpec()
50 return mDeviceDescriptor.getSpec(); in getUsbSpec()
82 descriptor = mDeviceDescriptor = new UsbDeviceDescriptor(length, type); in allocDescriptor()
137 return mDeviceDescriptor; in getDeviceDescriptor()
193 return mDeviceDescriptor != null ? mDeviceDescriptor.getSpec() : 0; in getParsingSpec()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h47 mDeviceDescriptor(deviceDescriptor), in SessionRoute()
58 return (mDeviceDescriptor != 0) && (mChanged || (mActivityCount > 0)); in isActive()
63 sp<DeviceDescriptor> mDeviceDescriptor; variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3273 if (route->mDeviceDescriptor != 0) { in clearSessionRoutes()
3289 if (route->mDeviceDescriptor != 0) { in clearSessionRoutes()
4949 (mAvailableOutputDevices.indexOf(route->mDeviceDescriptor) >= 0)) { in AudioPolicyManager()
4950 return route->mDeviceDescriptor->type(); in AudioPolicyManager()
5352 (mAvailableInputDevices.indexOf(route->mDeviceDescriptor) >= 0)) { in AudioPolicyManager()
5353 return route->mDeviceDescriptor->type(); in AudioPolicyManager()