Searched refs:findById (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/audio/aidl/vts/ |
D | ModuleConfig.cpp | 102 auto findById(const std::vector<T>& v, int32_t id) { in findById() function 245 const auto mixPortIt = findById<AudioPort>(mPorts, mixPortConfig.portId); in getConnectedDevicesPortsForMixPort() 260 const auto devicePortIt = findById<AudioPort>(mPorts, route.sinkPortId); in getConnectedSinkDevicesPortsForMixPort() 275 const auto devicePortIt = findById<AudioPort>(mPorts, srcId); in getConnectedSourceDevicesPortsForMixPort() 288 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getSourceMixPortForConnectedDevice() 335 const auto devicePortIt = findById<AudioPort>(mPorts, portId); in getNonRoutableSrcSinkPair() 359 const auto devicePortIt = findById<AudioPort>(mPorts, *srcPortIdIt); in getRoutableSrcSinkPair() 360 const auto mixPortIt = findById<AudioPort>(mPorts, route.sinkPortId); in getRoutableSrcSinkPair() 371 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getRoutableSrcSinkPair() 372 const auto devicePortIt = findById<AudioPort>(mPorts, route.sinkPortId); in getRoutableSrcSinkPair() [all …]
|
D | VtsHalAudioCoreModuleTargetTest.cpp | 126 auto findById(const std::vector<T>& v, int32_t id) { in findById() function 1333 const auto& patchIt = findById(allPatches, getId()); in VerifyAgainstAllPatches() 1584 const auto allPortsIt = findById(allPorts, connectedPortId); in TEST_P() 1654 auto afterIt = findById<AudioPortConfig>(portConfigsAfter, c.id); in TEST_P() 1994 const auto srcPortIt = findById(allPorts, srcPortId); in GetAllRoutedPorts() 1999 const auto sinkPortIt = findById(allPorts, r.sinkPortId); in GetAllRoutedPorts() 2762 const auto mixPortIt = findById<AudioPort>(ports, mixPortConfig.portId); in SetUpStreamForMixPortConfig() 2773 const auto mixPortIt = findById<AudioPort>(ports, mixPortConfig.portId); in SetUpPatchForMixPortConfig()
|
/hardware/interfaces/audio/aidl/default/ |
D | Module.cpp | 181 auto portConfigIt = findById<AudioPortConfig>(configs, in_portConfigId); in createStreamContext() 246 auto portIt = findById<AudioPort>(ports, *it); in findConnectedDevices() 259 auto patchIt = findById<AudioPatch>(patches, it->second); in findConnectedPortConfigIds() 277 auto portConfigIt = findById<AudioPortConfig>(configs, in_portConfigId); in findPortIdForNewStream() 287 auto portIt = findById<AudioPort>(ports, portId); in findPortIdForNewStream() 358 auto portConfigIt = findById<AudioPortConfig>(portConfigs, *it); in portIdsFromPortConfigIds() 417 auto configIt = findById<AudioPortConfig>(configs, portConfigId); in registerPatch() 564 auto templateIt = findById<AudioPort>(ports, templateId); in connectExternalDevice() 597 auto connectedPortIt = findById<AudioPort>(ports, connectedPortPair.first); in connectExternalDevice() 714 auto portIt = findById<AudioPort>(ports, in_portId); in disconnectExternalDevice() [all …]
|
/hardware/interfaces/audio/aidl/default/include/core-impl/ |
D | utils.h | 74 auto findById(M& m, int32_t id) { in findById() function 81 auto findById(std::vector<T>& v, int32_t id) { in findById() function
|