Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.h71 int processDisplayBrightness(float bl, const nsecs_t vsyncNs, bool waitPresent = false);
73 int setBrightnessNits(float nits, const nsecs_t vsyncNs);
74 int setBrightnessDbv(uint32_t dbv, const nsecs_t vsyncNs);
79 int applyPendingChangeViaSysfs(const nsecs_t vsyncNs);
DBrightnessController.cpp362 int BrightnessController::processDisplayBrightness(float brightness, const nsecs_t vsyncNs, in processDisplayBrightness() argument
423 {std::to_string(toUnderlying(mPendingGhbmStatus.load()))}, vsyncNs * 5); in processDisplayBrightness()
430 {std::to_string(mPendingLhbmStatus)}, vsyncNs * 5); in processDisplayBrightness()
443 int BrightnessController::setBrightnessNits(float nits, const nsecs_t vsyncNs) { in setBrightnessNits() argument
454 return processDisplayBrightness(brightness.value(), vsyncNs); in setBrightnessNits()
457 int BrightnessController::setBrightnessDbv(uint32_t dbv, const nsecs_t vsyncNs) { in setBrightnessDbv() argument
468 return processDisplayBrightness(brightness.value(), vsyncNs); in setBrightnessDbv()
474 int BrightnessController::applyPendingChangeViaSysfs(const nsecs_t vsyncNs) { in applyPendingChangeViaSysfs() argument
513 {std::to_string(mPendingBl)}, vsyncNs * 5); in applyPendingChangeViaSysfs()