Searched refs:brightness_fd_ (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_session.cpp | 224 brightness_fd_ = open(brightness_file, O_WRONLY); in Init() 225 if (brightness_fd_ == -1) { in Init() 258 close(brightness_fd_); in Deinit() 327 *out_support = display == HWC_DISPLAY_PRIMARY && hwc_session->brightness_fd_ != -1; in GetDisplayBrightnessSupport() 1019 long error = lseek(hwc_session->brightness_fd_, 0, SEEK_SET); in SetDisplayBrightness() 1024 error = write(hwc_session->brightness_fd_, buff, (size_t) n); in SetDisplayBrightness() 1029 error = fsync(hwc_session->brightness_fd_); in SetDisplayBrightness()
|
D | hwc_session.h | 314 int brightness_fd_ = -1; variable
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session.cpp | 237 brightness_fd_ = open(brightness_file, O_WRONLY); in Init() 238 if (brightness_fd_ == -1) { in Init() 274 close(brightness_fd_); in Deinit() 461 *out_support = display == HWC_DISPLAY_PRIMARY && hwc_session->brightness_fd_ != -1; in GetDisplayBrightnessSupport() 1228 long error = lseek(hwc_session->brightness_fd_, 0, SEEK_SET); in SetDisplayBrightness() 1233 error = write(hwc_session->brightness_fd_, buff, (size_t) n); in SetDisplayBrightness() 1238 error = fsync(hwc_session->brightness_fd_); in SetDisplayBrightness()
|
D | hwc_session.h | 437 int brightness_fd_ = -1; variable
|