Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp325 hwc2_config_t configId = 0; in getActiveConfig() local
326 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig()
335 if (mConfigs.count(configId) != 0) { in getActiveConfig()
336 *outConfig = mConfigs.at(configId); in getActiveConfig()
339 configId); in getActiveConfig()
650 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) in getAttribute() argument
653 auto intError = mComposer.getDisplayAttribute(mId, configId, in getAttribute()
659 configId, to_string(attribute).c_str(), in getAttribute()
666 void Display::loadConfig(hwc2_config_t configId) in loadConfig() argument
668 ALOGV("[%" PRIu64 "] loadConfig(%u)", mId, configId); in loadConfig()
[all …]
DHWComposer.cpp705 status_t HWComposer::setActiveConfig(int32_t displayId, size_t configId) { in setActiveConfig() argument
712 if (displayData.configMap.count(configId) == 0) { in setActiveConfig()
713 ALOGE("setActiveConfig: Invalid config %zd", configId); in setActiveConfig()
718 displayData.configMap[configId]); in setActiveConfig()
721 "%s (%d)", configId, displayId, to_string(error).c_str(), in setActiveConfig()
DHWC2.h261 int32_t getAttribute(hwc2_config_t configId, Attribute attribute);
262 void loadConfig(hwc2_config_t configId);
DHWComposer.h104 status_t setActiveConfig(int32_t displayId, size_t configId);
DHWComposer_hwc1.cpp438 size_t configId = mDisplayData[id].currentConfig; in setVirtualDisplayProperties() local
440 DisplayConfig& config = mDisplayData[id].configs.editItemAt(configId); in setVirtualDisplayProperties()
478 size_t configId = mDisplayData[disp].currentConfig; in getRefreshTimestamp() local
480 mDisplayData[disp].configs[configId].refresh); in getRefreshTimestamp()
/frameworks/native/libs/hwc2on1adapter/
DHWC2On1Adapter.cpp604 auto configId = mActiveConfig->getId(); in getActiveConfig() local
605 ALOGV("[%" PRIu64 "] getActiveConfig --> %u", mId, configId); in getActiveConfig()
606 *outConfig = configId; in getActiveConfig()
610 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, in getAttribute() argument
614 if (configId > mConfigs.size() || !mConfigs[configId]->isOnDisplay(*this)) { in getAttribute()
616 configId); in getAttribute()
619 *outValue = mConfigs[configId]->getAttribute(attribute); in getAttribute()
620 ALOGV("[%" PRIu64 "] getAttribute(%u, %s) --> %d", mId, configId, in getAttribute()
806 Error HWC2On1Adapter::Display::setActiveConfig(hwc2_config_t configId) { in setActiveConfig() argument
809 auto config = getConfig(configId); in setActiveConfig()
[all …]
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java358 private void testBadConfig(int configId) throws Exception { in testBadConfig() argument
360 XmlConfigSource source = new XmlConfigSource(getContext(), configId); in testBadConfig()
363 fail("Bad config " + getContext().getResources().getResourceName(configId) in testBadConfig()
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h206 HWC2::Error getAttribute(hwc2_config_t configId,
232 HWC2::Error setActiveConfig(hwc2_config_t configId);
369 getConfig(hwc2_config_t configId) const;