Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DPolicyConfig.h60 const std::string& moduleName, const std::string& mixPortName) const { in getDeviceAddressOfSinkDeviceAttachedToMixPort() argument
61 const auto attachedDevicePort = getAttachedSinkDeviceForMixPort(moduleName, mixPortName); in getDeviceAddressOfSinkDeviceAttachedToMixPort()
63 return getDeviceAddressOfDevicePort(moduleName, attachedDevicePort); in getDeviceAddressOfSinkDeviceAttachedToMixPort()
66 const std::string& moduleName, const std::string& mixPortName) const { in getDeviceAddressOfSourceDeviceAttachedToMixPort() argument
67 const auto attachedDevicePort = getAttachedSourceDeviceForMixPort(moduleName, mixPortName); in getDeviceAddressOfSourceDeviceAttachedToMixPort()
69 return getDeviceAddressOfDevicePort(moduleName, attachedDevicePort); in getDeviceAddressOfSourceDeviceAttachedToMixPort()
71 std::string getAttachedSinkDeviceForMixPort(const std::string& moduleName, in getAttachedSinkDeviceForMixPort() argument
73 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSinkDeviceForMixPort()
74 getSinkDevicesForMixPort(moduleName, mixPortName)); in getAttachedSinkDeviceForMixPort()
76 std::string getAttachedSourceDeviceForMixPort(const std::string& moduleName, in getAttachedSourceDeviceForMixPort() argument
[all …]
DPolicyConfig.cpp61 const std::string& moduleName, const std::string& mixPortName) const { in getSinkDeviceForMixPort() argument
63 if (auto module = getModuleFromName(moduleName); module) { in getSinkDeviceForMixPort()
64 auto possibleDevices = getSinkDevicesForMixPort(moduleName, mixPortName); in getSinkDeviceForMixPort()
69 device = getAttachedSinkDeviceForMixPort(moduleName, mixPortName); in getSinkDeviceForMixPort()
73 return getDeviceAddressOfDevicePort(moduleName, device); in getSinkDeviceForMixPort()
76 moduleName.c_str()); in getSinkDeviceForMixPort()
81 const std::string& moduleName, const std::string& mixPortName) const { in getSourceDeviceForMixPort() argument
82 const std::string device = getAttachedSourceDeviceForMixPort(moduleName, mixPortName); in getSourceDeviceForMixPort()
84 return getDeviceAddressOfDevicePort(moduleName, device); in getSourceDeviceForMixPort()
87 moduleName.c_str()); in getSourceDeviceForMixPort()
[all …]
DGenerators.cpp91 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateOutputDeviceConfigParameters() local
92 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateOutputDeviceConfigParameters()
98 moduleName, mixPort.getName()); in generateOutputDeviceConfigParameters()
233 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateInputDeviceConfigParameters() local
234 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateInputDeviceConfigParameters()
240 moduleName, mixPort.getName()); in generateInputDeviceConfigParameters()
/hardware/interfaces/audio/core/all-versions/default/
DDevicesFactory.cpp53 Return<void> DevicesFactory::openDevice(const char* moduleName, openDevice_cb _hidl_cb) { in openDevice() argument
54 return openDevice<implementation::Device>(moduleName, _hidl_cb); in openDevice()
57 Return<void> DevicesFactory::openDevice(const hidl_string& moduleName, openDevice_cb _hidl_cb) {
58 if (moduleName == AUDIO_HARDWARE_MODULE_ID_PRIMARY) {
59 return openDevice<PrimaryDevice>(moduleName.c_str(), _hidl_cb);
61 return openDevice<implementation::Device>(moduleName.c_str(), _hidl_cb);
69 Return<void> DevicesFactory::openDevice_7_1(const hidl_string& moduleName, in openDevice_7_1() argument
71 if (moduleName == AUDIO_HARDWARE_MODULE_ID_PRIMARY) { in openDevice_7_1()
92 return openDevice<implementation::Device>(moduleName.c_str(), _hidl_cb); in openDevice_7_1()
101 Return<void> DevicesFactory::openDevice(const char* moduleName, Callback _hidl_cb) { in openDevice() argument
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/
DPolicyConfig.h67 std::string getAttachedSinkDeviceForMixPort(const std::string& moduleName, in getAttachedSinkDeviceForMixPort() argument
69 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSinkDeviceForMixPort()
70 getSinkDevicesForMixPort(moduleName, mixPortName)); in getAttachedSinkDeviceForMixPort()
72 std::string getAttachedSourceDeviceForMixPort(const std::string& moduleName, in getAttachedSourceDeviceForMixPort() argument
74 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSourceDeviceForMixPort()
75 getSourceDevicesForMixPort(moduleName, mixPortName)); in getAttachedSourceDeviceForMixPort()
115 std::vector<std::string> getAttachedDevices(const std::string& moduleName) const { in getAttachedDevices() argument
116 if (auto iter = mAttachedDevicesPerModule.find(moduleName); in getAttachedDevices()
122 std::set<std::string> getSinkDevicesForMixPort(const std::string& moduleName, in getSinkDevicesForMixPort() argument
125 auto module = getModuleFromName(moduleName); in getSinkDevicesForMixPort()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dcerealgenerator.py596 moduleName="vulkan_gfxstream_structure_type_guest", useNamespace=False,
647 self.host_script_destination) / "print_gfx_logs"), moduleName="ApiLogDecoder")
650 moduleName="vulkan_gfxstream_structure_type_host", useNamespace=False,
674 … suppressFeatureGuards=False, moduleName=None, suppressVulkanHeaders=False, implOnly=False): argument
681 suppressFeatureGuards=suppressFeatureGuards, moduleName=moduleName,
686 suppress=False, headerOnly=False, suppressFeatureGuards=False, moduleName=None, argument
698 suppressFeatureGuards=suppressFeatureGuards, moduleName=moduleName,
701 def addModule(self, module, moduleName=None): argument
702 if moduleName is None:
703 moduleName = module.basename
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DGenerators.cpp41 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateOutputDeviceConfigParameters() local
42 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateOutputDeviceConfigParameters()
45 .getAttachedSinkDeviceForMixPort(moduleName, ioProfile->getName()) in generateOutputDeviceConfigParameters()
104 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateInputDeviceConfigParameters() local
105 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateInputDeviceConfigParameters()
108 .getAttachedSourceDeviceForMixPort(moduleName, ioProfile->getName()) in generateInputDeviceConfigParameters()
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DDevicesFactory.h54 Return<void> openDevice(const char* moduleName, Callback _hidl_cb);
56 Return<void> openDevice(const char* moduleName, openDevice_cb _hidl_cb);
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp453 void SetUpImpl(const std::string& moduleName, bool setUpDebug = true) { in SetUpImpl() argument
454 ASSERT_NO_FATAL_FAILURE(ConnectToService(moduleName, setUpDebug)); in SetUpImpl()
472 void ConnectToService(const std::string& moduleName, bool setUpDebug) { in ConnectToService() argument
475 module = IModule::fromBinder(binderUtil.connectToService(moduleName)); in ConnectToService()