• Home
  • Raw
  • Download

Lines Matching refs:argv_str

214     std::vector<std::string> argv_str;  in ProcessProfiles()  local
215 argv_str.push_back(profman_cmd); in ProcessProfiles()
217 argv_str.push_back("--profile-file-fd=" + std::to_string(profiles_fd[k])); in ProcessProfiles()
219 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile_fd)); in ProcessProfiles()
222 return ExecAndReturnCode(argv_str, &error); in ProcessProfiles()
227 std::vector<std::string> argv_str; in GenerateTestProfile() local
228 argv_str.push_back(profman_cmd); in GenerateTestProfile()
229 argv_str.push_back("--generate-test-profile=" + filename); in GenerateTestProfile()
231 return ExecAndReturnCode(argv_str, &error); in GenerateTestProfile()
236 std::vector<std::string> argv_str; in GenerateTestProfileWithInputDex() local
237 argv_str.push_back(profman_cmd); in GenerateTestProfileWithInputDex()
238 argv_str.push_back("--generate-test-profile=" + filename); in GenerateTestProfileWithInputDex()
239 argv_str.push_back("--generate-test-profile-seed=0"); in GenerateTestProfileWithInputDex()
240 argv_str.push_back("--apk=" + GetLibCoreDexFileNames()[0]); in GenerateTestProfileWithInputDex()
241 argv_str.push_back("--dex-location=" + GetLibCoreDexFileNames()[0]); in GenerateTestProfileWithInputDex()
243 return ExecAndReturnCode(argv_str, &error); in GenerateTestProfileWithInputDex()
255 std::vector<std::string> argv_str; in CreateProfile() local
256 argv_str.push_back(profman_cmd); in CreateProfile()
257 argv_str.push_back("--create-profile-from=" + class_names_file.GetFilename()); in CreateProfile()
258 argv_str.push_back("--reference-profile-file=" + filename); in CreateProfile()
259 argv_str.push_back("--apk=" + dex_location); in CreateProfile()
260 argv_str.push_back("--dex-location=" + dex_location); in CreateProfile()
262 EXPECT_EQ(ExecAndReturnCode(argv_str, &error), 0); in CreateProfile()
271 std::vector<std::string> argv_str; in RunProfman() local
272 argv_str.push_back(profman_cmd); in RunProfman()
273 argv_str.insert(argv_str.end(), extra_args.begin(), extra_args.end()); in RunProfman()
274 argv_str.push_back("--profile-file=" + filename); in RunProfman()
275 argv_str.push_back("--apk=" + GetLibCoreDexFileNames()[0]); in RunProfman()
276 argv_str.push_back("--dex-location=" + GetLibCoreDexFileNames()[0]); in RunProfman()
277 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman()
279 EXPECT_EQ(ExecAndReturnCode(argv_str, &error), 0); in RunProfman()
1199 std::vector<std::string> argv_str; in TEST_F() local
1200 argv_str.push_back(profman_cmd); in TEST_F()
1201 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1202 argv_str.push_back("--profile-file-fd=" + std::to_string(profile2.GetFd())); in TEST_F()
1203 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1204 argv_str.push_back("--apk-fd=" + std::to_string(apk_fd.get())); in TEST_F()
1207 EXPECT_EQ(ExecAndReturnCode(argv_str, &error), 0) << error; in TEST_F()
1277 std::vector<std::string> argv_str; in TEST_F() local
1278 argv_str.push_back(profman_cmd); in TEST_F()
1279 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1280 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1281 argv_str.push_back("--apk-fd=" + std::to_string(apk_fd.get())); in TEST_F()
1282 argv_str.push_back("--copy-and-update-profile-key"); in TEST_F()
1285 ASSERT_EQ(ExecAndReturnCode(argv_str, &error), 0) << error; in TEST_F()
1327 std::vector<std::string> argv_str; in TEST_F() local
1328 argv_str.push_back(profman_cmd); in TEST_F()
1329 argv_str.push_back("--profile-file-fd=" + std::to_string(profile1.GetFd())); in TEST_F()
1330 argv_str.push_back("--profile-file-fd=" + std::to_string(profile2.GetFd())); in TEST_F()
1331 argv_str.push_back("--reference-profile-file-fd=" + std::to_string(reference_profile.GetFd())); in TEST_F()
1332 argv_str.push_back("--store-aggregation-counters"); in TEST_F()
1335 EXPECT_EQ(ExecAndReturnCode(argv_str, &error), 0) << error; in TEST_F()