Lines Matching refs:ofs
779 std::ofstream ofs(gamma_node); in SetCurrentPanelGammaSource() local
780 if (!ofs.is_open()) { in SetCurrentPanelGammaSource()
784 ofs.write(gamma_data.c_str(), gamma_data.size()); in SetCurrentPanelGammaSource()
785 ofs.close(); in SetCurrentPanelGammaSource()
1211 std::ofstream ofs(path); in setDisplayIdleTimerEnabled() local
1212 if (!ofs.is_open()) { in setDisplayIdleTimerEnabled()
1216 ofs << enabled; in setDisplayIdleTimerEnabled()
1217 ofs.close(); in setDisplayIdleTimerEnabled()
1245 std::ofstream ofs(path); in setDisplayIdleDelayNanos() local
1246 if (!ofs.is_open()) { in setDisplayIdleDelayNanos()
1250 ofs << displayIdleDelayMs; in setDisplayIdleDelayNanos()
1252 displayIdleDelayMs, ofs.rdstate()); in setDisplayIdleDelayNanos()
1253 ofs.close(); in setDisplayIdleDelayNanos()
1411 std::ofstream ofs(path); in setMinIdleRefreshRate() local
1412 if (!ofs.is_open()) { in setMinIdleRefreshRate()
1416 ofs << maxMinIdleFps; in setMinIdleRefreshRate()
1417 ofs.close(); in setMinIdleRefreshRate()