Searched refs:modeStr (Results 1 – 5 of 5) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplay.cpp | 408 char modeStr[PROPERTY_VALUE_MAX]; in setBootDisplayConfig() local 409 int ret = snprintf(modeStr, sizeof(modeStr), "%dx%d@%d:%d", mode.width, mode.height, in setBootDisplayConfig() 414 ALOGD("%s: mode=%s (%d)", __func__, modeStr, config); in setBootDisplayConfig() 415 ret = property_set(getPropertyBootModeStr(mDisplayId).c_str(), modeStr); in setBootDisplayConfig() 428 char modeStr[PROPERTY_VALUE_MAX]; in getPreferredDisplayConfigInternal() local 429 auto ret = property_get(getPropertyBootModeStr(mDisplayId).c_str(), modeStr, ""); in getPreferredDisplayConfigInternal() 438 ret = sscanf(modeStr, "%dx%d@%d:%d", &width, &height, &fps, &vsyncRate); in getPreferredDisplayConfigInternal() 440 ret = sscanf(modeStr, "%dx%d@%d", &width, &height, &fps); in getPreferredDisplayConfigInternal() 442 ALOGW("%s: unable to find boot config for mode: %s", __func__, modeStr); in getPreferredDisplayConfigInternal() 446 ALOGE("%s: kernel doesn't support mode: %s", __func__, modeStr); in getPreferredDisplayConfigInternal() [all …]
|
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplayModule.cpp | 467 std::string modeStr; in setLbeState() local 476 modeStr = kAtcModeNormalStr; in setLbeState() 479 modeStr = kAtcModeHbmStr; in setLbeState() 482 modeStr = kAtcModePowerSaveStr; in setLbeState() 485 modeStr = kAtcModeHbmStr; in setLbeState() 494 else if (setAtcMode(modeStr) != NO_ERROR) return; in setLbeState()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | PrimaryDevice.cpp | 297 const char* modeStr = convertTtyModeFromHIDL(mode); in setTtyMode() local 298 if (modeStr == nullptr) { in setTtyMode() 302 return mDevice->setParam(AUDIO_PARAMETER_KEY_TTY_MODE, modeStr); in setTtyMode()
|
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/ |
D | ExynosExternalDisplay.cpp | 137 char modeStr[PROPERTY_VALUE_MAX] = "\0"; in getDisplayConfigs() local 141 if (property_get("vendor.display.external.preferred_mode", modeStr, "") > 0) { in getDisplayConfigs() 142 if (sscanf(modeStr, "%dx%d@%d", &width, &height, &fps) == 3) { in getDisplayConfigs()
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterface.cpp | 1043 char modeStr[PROPERTY_VALUE_MAX]; in choosePreferredConfig() local 1046 if (property_get("vendor.display.preferred_mode", modeStr, "") > 0 && in choosePreferredConfig() 1047 sscanf(modeStr, "%dx%d@%d", &width, &height, &fps) == 3) { in choosePreferredConfig() 1049 } else if (property_get("ro.vendor.primarydisplay.preferred_mode", modeStr, "") > 0 && in choosePreferredConfig() 1050 sscanf(modeStr, "%dx%d@%d:%d", &width, &height, &fps, &vsyncRate) == 4) { in choosePreferredConfig()
|