Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.cpp626 std::shared_ptr<ConfigInfo> oldConfigInfo = configInfo; in replaceConfigInfo() local
631 if (!oldConfigInfo && !configInfo) { in replaceConfigInfo()
633 } else if (!oldConfigInfo && configInfo) { // Case #1: registerHistogram in replaceConfigInfo()
635 } else if (oldConfigInfo && configInfo) { // Case #2: reconfigHistogram in replaceConfigInfo()
636 if (oldConfigInfo->mStatus == ConfigInfo::Status_t::HAS_CHANNEL_ASSIGNED) { in replaceConfigInfo()
638 configInfo->mChannelId = oldConfigInfo->mChannelId; in replaceConfigInfo()
641 } else if (oldConfigInfo->mStatus == ConfigInfo::Status_t::IN_INACTIVE_LIST) { in replaceConfigInfo()
643 configInfo->mInactiveListIt = oldConfigInfo->mInactiveListIt; in replaceConfigInfo()
648 } else if (oldConfigInfo && !configInfo) { // Case #3: unregisterHistogram in replaceConfigInfo()
649 if (oldConfigInfo->mStatus == ConfigInfo::Status_t::HAS_CHANNEL_ASSIGNED) in replaceConfigInfo()
[all …]