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()
143 EXPECT_CALL(*mock, ReadFileToString(_, _, _)).Times(AnyNumber()); in SetUp()
148 ON_CALL(*mock, ReadFileToString(_, _, _)) in SetUp()
170 ON_CALL(*mock, ReadFileToString(kPathWiredChargerPresent, _, _)) in usbPresent()
175 ON_CALL(*mock, ReadFileToString(kPathWirelessChargerPresent, _, _)) in wirelessPresent()
180 ON_CALL(*mock, ReadFileToString(kPathWirelessChargerPresent, _, _)) in wirelessNotPresent()
212 ON_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in initTo1000sConnectedCapacityReached()
217 ON_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in initToActive()
262 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()
277 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()
297 EXPECT_CALL(*mock, ReadFileToString(kPathPersistChargerPresentTime, _, _)) in TEST_F()