Searched refs:GetStateFilePath (Results 1 – 3 of 3) sorted by relevance
184 std::string RateLimiter::GetStateFilePath() const { in GetStateFilePath() function in perfetto::RateLimiter190 return stat(GetStateFilePath().c_str(), &out) != -1; in StateFileExists()200 remove(GetStateFilePath().c_str()); in ClearState()205 base::ScopedFile in_fd(base::OpenFile(GetStateFilePath(), O_RDONLY)); in LoadState()237 base::OpenFile(GetStateFilePath(), O_WRONLY | O_CREAT | O_TRUNC, 0666)); in SaveState()
59 virtual std::string GetStateFilePath() const;
48 virtual std::string GetStateFilePath() const { in GetStateFilePath() function in perfetto::__anond5fcce460111::MockRateLimiter54 remove(GetStateFilePath().c_str()); in ~MockRateLimiter()151 WriteGarbageToFile(limiter.GetStateFilePath().c_str()); in TEST()292 WriteGarbageToFile(limiter.GetStateFilePath().c_str()); in TEST()