Searched refs:json_file (Results 1 – 4 of 4) sorted by relevance
33 if not os.path.exists(args.json_file):34 print('Error: json file \"%s\" does not exist.' % args.json_file)48 with open(args.json_file) as jsonFile:
85 static void execConfig(const std::string& json_file, in execConfig() argument87 android::perfmgr::HintManager *hm = android::perfmgr::HintManager::GetFromJSON(json_file); in execConfig()
679 TemporaryFile json_file; in TEST_F() local680 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()884 TemporaryFile json_file; in TEST_F() local885 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()903 TemporaryFile json_file; in TEST_F() local904 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()[all …]
72 def load_modules_info(json_file): argument78 with open(json_file) as fp: