Lines Matching refs:modeStr
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()
451 ALOGI("%s: succeeded to replace %s with new format", __func__, modeStr); in getPreferredDisplayConfigInternal()
453 ALOGE("%s: failed to replace %s with new format", __func__, modeStr); in getPreferredDisplayConfigInternal()
457 ALOGE("%s: bad boot config: %s", __func__, modeStr); in getPreferredDisplayConfigInternal()