Home
last modified time | relevance | path

Searched refs:connectedOnly (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/aidl/vts/
DModuleConfig.h65 bool connectedOnly /*Permanently attached and connected external devices*/) const;
67 bool connectedOnly /*Permanently attached and connected external devices*/) const;
70 bool connectedOnly /*Permanently attached and connected external devices*/) const { in getMixPorts() argument
71 return isInput ? getInputMixPorts(connectedOnly) : getOutputMixPorts(connectedOnly); in getMixPorts()
74 bool connectedOnly /*Permanently attached and connected external devices*/,
77 bool connectedOnly /*Permanently attached and connected external devices*/,
80 bool connectedOnly /*Permanently attached and connected external devices*/,
83 bool connectedOnly /*Permanently attached and connected external devices*/,
86 bool connectedOnly /*Permanently attached and connected external devices*/,
110 bool connectedOnly /*Permanently attached and connected external devices*/) const;
[all …]
DModuleConfig.cpp177 std::vector<AudioPort> ModuleConfig::getInputMixPorts(bool connectedOnly) const { in getInputMixPorts()
182 (!connectedOnly || !getConnectedSourceDevicesPortsForMixPort(port).empty()); in getInputMixPorts()
187 std::vector<AudioPort> ModuleConfig::getOutputMixPorts(bool connectedOnly) const { in getOutputMixPorts()
192 (!connectedOnly || !getConnectedSinkDevicesPortsForMixPort(port).empty()); in getOutputMixPorts()
197 std::vector<AudioPort> ModuleConfig::getNonBlockingMixPorts(bool connectedOnly, in getNonBlockingMixPorts() argument
199 return findMixPorts(false /*isInput*/, connectedOnly, singlePort, [&](const AudioPort& port) { in getNonBlockingMixPorts()
205 std::vector<AudioPort> ModuleConfig::getOffloadMixPorts(bool connectedOnly, bool singlePort) const { in getOffloadMixPorts() argument
206 return findMixPorts(false /*isInput*/, connectedOnly, singlePort, [&](const AudioPort& port) { in getOffloadMixPorts()
212 std::vector<AudioPort> ModuleConfig::getPrimaryMixPorts(bool connectedOnly, bool singlePort) const { in getPrimaryMixPorts() argument
213 return findMixPorts(false /*isInput*/, connectedOnly, singlePort, [&](const AudioPort& port) { in getPrimaryMixPorts()
[all …]
DVtsHalAudioCoreModuleTargetTest.cpp2673 bool connectedOnly) { in SetUpPortConfigAnyMixPort() argument
2674 const auto mixPorts = moduleConfig->getMixPorts(mIsInput, connectedOnly); in SetUpPortConfigAnyMixPort()
2679 connectedOnly)); in SetUpPortConfigAnyMixPort()
2686 bool connectedOnly, const std::optional<AudioPortConfig>& mixPortConfig = {}) { in SetUpPortConfigForMixPortOrConfig() argument
2687 if (mixPortConfig.has_value() && !connectedOnly) {
2695 connectedOnly, &connectedDevicePort));
2731 const AudioPort& devicePort, bool connectedOnly = false) { in SetUpStreamForDevicePort() argument
2733 SetUpPortConfigForDevicePort(module, moduleConfig, devicePort, connectedOnly)); in SetUpStreamForDevicePort()
2738 bool connectedOnly = false) { in SetUpStreamForAnyMixPort() argument
2739 ASSERT_NO_FATAL_FAILURE(SetUpPortConfigAnyMixPort(module, moduleConfig, connectedOnly)); in SetUpStreamForAnyMixPort()
[all …]