Lines Matching refs:ReadFileToString
32 virtual bool ReadFileToString(const std::string &path, std::string *content,
45 MOCK_METHOD3(ReadFileToString,
59 bool ReadFileToString(const std::string &path, std::string *content, bool follow_symlinks) { in ReadFileToString() function
60 return mock->ReadFileToString(path, content, follow_symlinks); in ReadFileToString()
141 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp()
146 ON_CALL(*mock, ReadFileToString(_, _, _)) in SetUp()
168 ON_CALL(*mock, ReadFileToString(kPathWiredChargerPresent, _, _)) in usbPresent()
173 ON_CALL(*mock, ReadFileToString(kPathWirelessChargerPresent, _, _)) in wirelessPresent()
178 ON_CALL(*mock, ReadFileToString(kPathWirelessChargerPresent, _, _)) in wirelessNotPresent()
210 ON_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in initTo1000sConnectedCapacityReached()
215 ON_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in initToActive()
260 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()
275 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()
295 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()