Searched refs:uptime_file (Results 1 – 3 of 3) sorted by relevance
53 const base::FilePath uptime_file = temp_dir.Append("uptime"); in SetUpOnMainThread() local56 uptime_file, uptime_seconds.c_str(), uptime_seconds.size())); in SetUpOnMainThread()58 new base::ScopedPathOverride(chromeos::FILE_UPTIME, uptime_file)); in SetUpOnMainThread()
83 base::FilePath uptime_file; in GetSystemEventTimes() local84 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in GetSystemEventTimes()90 ReadTimeDeltaFromFile(uptime_file), in GetSystemEventTimes()106 base::FilePath uptime_file; in SaveUpdateRebootNeededUptime() local107 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in SaveUpdateRebootNeededUptime()108 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); in SaveUpdateRebootNeededUptime()
73 void SetUptimeFile(const base::FilePath& uptime_file);243 const base::FilePath& uptime_file) { in SetUptimeFile() argument244 uptime_file_ = uptime_file; in SetUptimeFile()347 const base::FilePath uptime_file = temp_dir.Append("uptime"); in SetUp() local348 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()