Home
last modified time | relevance | path

Searched refs:portConfigId (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h204 bool portConfigBelongsToPort(int32_t portConfigId, int32_t portId) { in portConfigBelongsToPort() argument
205 auto it = mPortConfigs.find(portConfigId); in portConfigBelongsToPort()
211 void resetPortConfig(int32_t portConfigId);
DHal2AidlMapper.cpp926 void Hal2AidlMapper::resetPortConfig(int32_t portConfigId) { in resetPortConfig() argument
927 if (auto it = mPortConfigs.find(portConfigId); it != mPortConfigs.end()) { in resetPortConfig()
928 if (ndk::ScopedAStatus status = mModule->resetAudioPortConfig(portConfigId); in resetPortConfig()
931 __func__, portConfigId, status.getDescription().c_str()); in resetPortConfig()
936 ALOGE("%s: port config id %d not found", __func__, portConfigId); in resetPortConfig()
975 for (const auto& portConfigId : portConfigIdsToReset) { in resetUnusedPortConfigs() local
976 resetPortConfig(portConfigId); in resetUnusedPortConfigs()
DDeviceHalAidl.cpp460 args.portConfigId = mixPortConfig.id; in openOutputStream()
543 args.portConfigId = mixPortConfig.id; in openInputStream()
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp403 ndk::ScopedAStatus resetAudioPortConfig(int32_t portConfigId) override { in resetAudioPortConfig() argument
404 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, portConfigId); in resetAudioPortConfig()