Home
last modified time | relevance | path

Searched refs:uptime_file (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_update_service_browsertest.cc53 const base::FilePath uptime_file = temp_dir.Append("uptime"); in SetUpOnMainThread() local
56 uptime_file, uptime_seconds.c_str(), uptime_seconds.size())); in SetUpOnMainThread()
58 new base::ScopedPathOverride(chromeos::FILE_UPTIME, uptime_file)); in SetUpOnMainThread()
/external/chromium_org/chrome/browser/chromeos/system/
Dautomatic_reboot_manager.cc83 base::FilePath uptime_file; in GetSystemEventTimes() local
84 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in GetSystemEventTimes()
90 ReadTimeDeltaFromFile(uptime_file), in GetSystemEventTimes()
106 base::FilePath uptime_file; in SaveUpdateRebootNeededUptime() local
107 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in SaveUpdateRebootNeededUptime()
108 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); in SaveUpdateRebootNeededUptime()
Dautomatic_reboot_manager_unittest.cc73 void SetUptimeFile(const base::FilePath& uptime_file);
243 const base::FilePath& uptime_file) { in SetUptimeFile() argument
244 uptime_file_ = uptime_file; in SetUptimeFile()
347 const base::FilePath uptime_file = temp_dir.Append("uptime"); in SetUp() local
348 task_runner_->SetUptimeFile(uptime_file); in SetUp()
349 ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0)); in SetUp()
353 ASSERT_TRUE(PathService::Override(chromeos::FILE_UPTIME, uptime_file)); in SetUp()