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()
82 base::FilePath uptime_file; in GetSystemEventTimes() local83 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in GetSystemEventTimes()89 ReadTimeDeltaFromFile(uptime_file), in GetSystemEventTimes()105 base::FilePath uptime_file; in SaveUpdateRebootNeededUptime() local106 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file)); in SaveUpdateRebootNeededUptime()107 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file); in SaveUpdateRebootNeededUptime()
73 void SetUptimeFile(const base::FilePath& uptime_file);244 const base::FilePath& uptime_file) { in SetUptimeFile() argument245 uptime_file_ = uptime_file; in SetUptimeFile()348 const base::FilePath uptime_file = temp_dir.Append("uptime"); in SetUp() local349 task_runner_->SetUptimeFile(uptime_file); in SetUp()350 ASSERT_FALSE(file_util::WriteFile(uptime_file, NULL, 0)); in SetUp()355 ASSERT_TRUE(PathService::Override(chromeos::FILE_UPTIME, uptime_file)); in SetUp()