Lines Matching refs:path
233 "n0", tf->path, {{"n0_value0"}, {"n0_value1"}, {"n0_value2"}}, 2, in SetUp()
238 "n1", tf->path, {{"n1_value0"}, {"n1_value1"}, {"n1_value2"}}, 2, in SetUp()
267 json_doc_.replace(start_pos, from.length(), files_[0 + 2]->path); in SetUp()
270 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in SetUp()
289 static inline void _VerifyPropertyValue(const std::string& path, in _VerifyPropertyValue() argument
291 std::string s = android::base::GetProperty(path, ""); in _VerifyPropertyValue()
295 static inline void _VerifyPathValue(const std::string& path, in _VerifyPathValue() argument
298 EXPECT_TRUE(android::base::ReadFileToString(path, &s)) << strerror(errno); in _VerifyPathValue()
341 _VerifyPathValue(files_[0]->path, ""); in TEST_F()
342 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F()
364 _VerifyPathValue(files_[0]->path, "n0_value1"); in TEST_F()
365 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
372 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F()
373 _VerifyPathValue(files_[1]->path, "n1_value0"); in TEST_F()
378 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F()
379 _VerifyPathValue(files_[1]->path, "n1_value0"); in TEST_F()
383 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F()
384 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
389 _VerifyPathValue(files_[0]->path, "n0_value1"); in TEST_F()
390 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
394 _VerifyPathValue(files_[0]->path, "n0_value2"); in TEST_F()
395 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
400 _VerifyPathValue(files_[0]->path, "n0_value2"); in TEST_F()
401 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F()
415 _VerifyPathValue(files_[0]->path, "n0_value1"); in TEST_F()
416 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
421 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F()
422 _VerifyPathValue(files_[1]->path, "n1_value0"); in TEST_F()
426 _VerifyPathValue(files_[0]->path, "n0_value1"); in TEST_F()
427 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F()
437 _VerifyPathValue(files_[0]->path, "n0_value2"); in TEST_F()
438 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F()
456 EXPECT_EQ(files_[0 + 2]->path, nodes[0]->GetPath()); in TEST_F()
457 EXPECT_EQ(files_[1 + 2]->path, nodes[1]->GetPath()); in TEST_F()
501 std::string from = files_[0 + 2]->path; in TEST_F()
503 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in TEST_F()
549 EXPECT_EQ(files_[0 + 2]->path, nodes[0]->GetPath()); in TEST_F()
550 EXPECT_EQ(files_[1 + 2]->path, nodes[1]->GetPath()); in TEST_F()
680 ASSERT_TRUE(android::base::WriteStringToFile(json_doc_, json_file.path)) in TEST_F()
682 HintManager *hm = HintManager::GetFromJSON(json_file.path, false); in TEST_F()
687 hm = HintManager::GetFromJSON(json_file.path); in TEST_F()
693 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
694 _VerifyPathValue(files_[1 + 2]->path, ""); in TEST_F()
699 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
700 _VerifyPathValue(files_[1 + 2]->path, "1134000"); in TEST_F()
706 _VerifyPathValue(files_[0 + 2]->path, "1134000"); in TEST_F()
707 _VerifyPathValue(files_[1 + 2]->path, "1512000"); in TEST_F()
711 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
712 _VerifyPathValue(files_[1 + 2]->path, "1512000"); in TEST_F()
717 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
718 _VerifyPathValue(files_[1 + 2]->path, "1134000"); in TEST_F()
722 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
723 _VerifyPathValue(files_[1 + 2]->path, "384000"); in TEST_F()
734 _VerifyPathValue(files_[0 + 2]->path, "1134000"); in TEST_F()
736 _VerifyPathValue(files_[1 + 2]->path, "384000"); in TEST_F()
745 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
746 _VerifyPathValue(files_[1 + 2]->path, "384000"); in TEST_F()
753 _VerifyPathValue(files_[0 + 2]->path, "1134000"); in TEST_F()
754 _VerifyPathValue(files_[1 + 2]->path, "1512000"); in TEST_F()
759 _VerifyPathValue(files_[0 + 2]->path, "384000"); in TEST_F()
760 _VerifyPathValue(files_[1 + 2]->path, "384000"); in TEST_F()
767 _VerifyPathValue(files_[0 + 2]->path, "1134000"); in TEST_F()
768 _VerifyPathValue(files_[1 + 2]->path, "1512000"); in TEST_F()
885 ASSERT_TRUE(android::base::WriteStringToFile(json_doc_, json_file.path)) << strerror(errno); in TEST_F()
886 HintManager *hm = HintManager::GetFromJSON(json_file.path, false); in TEST_F()
904 ASSERT_TRUE(android::base::WriteStringToFile(json_doc_, json_file.path)) << strerror(errno); in TEST_F()
905 HintManager *hm = HintManager::GetFromJSON(json_file.path, false); in TEST_F()
916 ASSERT_TRUE(android::base::WriteStringToFile(json_doc_, json_file.path)) << strerror(errno); in TEST_F()
917 HintManager *hm = HintManager::GetFromJSON(json_file.path, false); in TEST_F()