Searched refs:boot_id (Results 1 – 6 of 6) sorted by relevance
109 std::string boot_id; in Initialize() local110 if (utils::GetBootId(&boot_id)) { in Initialize()113 prev_boot_id != boot_id); in Initialize()114 prefs_->SetString(kPrefsBootId, boot_id); in Initialize()
522 string boot_id; in WriteUpdateCompletedMarker() local523 TEST_AND_RETURN_FALSE(utils::GetBootId(&boot_id)); in WriteUpdateCompletedMarker()524 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker()532 string boot_id; in UpdateCompletedOnThisBoot() local533 TEST_AND_RETURN_FALSE(utils::GetBootId(&boot_id)); in UpdateCompletedOnThisBoot()539 update_completed_on_boot_id == boot_id); in UpdateCompletedOnThisBoot()
835 string boot_id; in WriteUpdateCompletedMarker() local836 if (!utils::GetBootId(&boot_id)) in WriteUpdateCompletedMarker()838 prefs_->SetString(kPrefsUpdateCompletedOnBootId, boot_id); in WriteUpdateCompletedMarker()1568 string boot_id; in GetBootTimeAtUpdate() local1569 TEST_AND_RETURN_FALSE(utils::GetBootId(&boot_id)); in GetBootTimeAtUpdate()1575 update_completed_on_boot_id != boot_id) in GetBootTimeAtUpdate()
263 string boot_id; in TEST_F() local264 EXPECT_TRUE(utils::GetBootId(&boot_id)); in TEST_F()265 fake_prefs.SetString(kPrefsUpdateCompletedOnBootId, boot_id); in TEST_F()
1223 bool GetBootId(string* boot_id) { in GetBootId() argument1225 base::ReadFileToString(base::FilePath(kBootIdPath), boot_id)); in GetBootId()1226 base::TrimWhitespaceASCII(*boot_id, base::TRIM_TRAILING, boot_id); in GetBootId()
369 bool GetBootId(std::string* boot_id);