Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.cpp272 mCabcModeOfs.open(nodeName.c_str(), std::ofstream::out); in initCabcSysfs()
273 if (mCabcModeOfs.fail()) { in initCabcSysfs()
1081 if (!mCabcSupport || mCabcModeOfs.fail()) return HWC2_ERROR_UNSUPPORTED; in updateCabcMode()
1126 if (!mCabcModeOfs.is_open()) return HWC2_ERROR_UNSUPPORTED; in applyCabcModeViaSysfs()
1129 mCabcModeOfs.seekp(std::ios_base::beg); in applyCabcModeViaSysfs()
1130 mCabcModeOfs << std::to_string(mode); in applyCabcModeViaSysfs()
1131 mCabcModeOfs.flush(); in applyCabcModeViaSysfs()
1132 if (mCabcModeOfs.fail()) { in applyCabcModeViaSysfs()
1134 mCabcModeOfs.clear(); in applyCabcModeViaSysfs()
1205 result.appendFormat("\tcabc supported %d, cabcMode %d\n", mCabcModeOfs.is_open(), in dump()
DBrightnessController.h468 std::ofstream mCabcModeOfs; variable