Home
last modified time | relevance | path

Searched refs:extra_args (Results 1 – 15 of 15) sorted by relevance

/art/dex2oat/
Ddex2oat_vdex_test.cc44 const std::vector<std::string>& extra_args = {}) { in RunDex2oat() argument
63 args.insert(args.end(), extra_args.begin(), extra_args.end());
175 std::vector<std::string> extra_args; in TEST_F() local
176 extra_args.push_back("--dm-file=" + dm_file); in TEST_F()
178 ASSERT_TRUE(RunDex2oat(dex_file->GetLocation(), GetOdex(dex_file), nullptr, false, extra_args)); in TEST_F()
211 std::vector<std::string> extra_args; in TEST_F() local
212 extra_args.push_back("--dm-file=" + dm_file); in TEST_F()
220 extra_args)); in TEST_F()
235 std::vector<std::string> extra_args; in TEST_F() local
236 extra_args.push_back("--dm-file=" + dm_file); in TEST_F()
[all …]
Ddex2oat_image_test.cc86 const std::vector<std::string>& extra_args) { in CompileImageAndGetSizes() argument
90 std::vector<std::string> local_extra_args = extra_args; in CompileImageAndGetSizes()
331 std::vector<std::string> extra_args; in TEST_F() local
332 extra_args.push_back("--profile-file=" + head_profile_filename); in TEST_F()
333 extra_args.push_back(android::base::StringPrintf("--base=0x%08x", kBaseAddress)); in TEST_F()
334 bool head_ok = CompileBootImage(extra_args, filename_prefix, head_dex_files, &error_msg); in TEST_F()
339 extra_args.clear(); in TEST_F()
340 extra_args.push_back("--profile-file=" + mid_profile_filename); in TEST_F()
341 AddRuntimeArg(extra_args, "-Xbootclasspath:" + mid_bcp_string); in TEST_F()
342 AddRuntimeArg(extra_args, "-Xbootclasspath-locations:" + mid_bcp_string); in TEST_F()
[all …]
Ddex2oat_test.cc73 const std::vector<std::string>& extra_args = {}, in GenerateOdexForTestWithStatus() argument
77 args.reserve(dex_locations.size() + extra_args.size() + 6);
98 args.insert(args.end(), extra_args.begin(), extra_args.end());
110 const std::vector<std::string>& extra_args = {}, in GenerateOdexForTest() argument
117 extra_args,
130 const std::vector<std::string>& extra_args, in GenerateOdexForTest() argument
138 CHECK(std::any_of(extra_args.begin(), extra_args.end(), [&](const std::string& s) { in GenerateOdexForTest()
141 CHECK(std::any_of(extra_args.begin(), extra_args.end(), [](const std::string& s) { in GenerateOdexForTest()
149 dex_locations, odex_location, filter, &error_msg, extra_args, use_fd); in GenerateOdexForTest()
220 void RunTest(bool use_fd, bool expect_use, const std::vector<std::string>& extra_args = {}) { in RunTest() argument
[all …]
/art/runtime/
Ddexopt_test.cc84 std::vector<std::string> extra_args{ in GenerateAlternateImage() local
92 bool ok = CompileBootImage(extra_args, filename_prefix, dex_files, dex_locations, &error_msg); in GenerateAlternateImage()
103 const std::vector<std::string>& extra_args) { in GenerateOatForTest() argument
149 args.insert(args.end(), extra_args.begin(), extra_args.end()); in GenerateOatForTest()
181 const std::vector<std::string>& extra_args) { in GenerateOdexForTest() argument
187 extra_args); in GenerateOdexForTest()
Ddexopt_test.h49 const std::vector<std::string>& extra_args = {});
56 const std::vector<std::string>& extra_args = {});
Dcommon_runtime_test.h120 bool CompileBootImage(const std::vector<std::string>& extra_args,
127 bool CompileBootImage(const std::vector<std::string>& extra_args,
133 extra_args, image_file_name_prefix, dex_files, dex_files, error_msg, use_fd_prefix);
Dcommon_runtime_test.cc454 bool CommonRuntimeTestImpl::CompileBootImage(const std::vector<std::string>& extra_args, in CompileBootImage() argument
511 argv.insert(argv.end(), extra_args.begin(), extra_args.end()); in CompileBootImage()
/art/tools/
Dbuildbot-build.sh128 extra_args="SOONG_ALLOW_MISSING_DEPENDENCIES=true"
130 extra_args="$extra_args TARGET_BUILD_UNBUNDLED=true"
142 make_command="build/soong/soong_ui.bash --make-mode $j_arg $extra_args $showcommands $common_target…
187 ANDROID_QUIET_BUILD=true build/soong/soong_ui.bash --make-mode $extra_args installclean
/art/profman/
Dprofile_assistant_test.cc175 const std::vector<const std::string>& extra_args = std::vector<const std::string>()) { in ProcessProfiles() argument
183 argv_str.insert(argv_str.end(), extra_args.begin(), extra_args.end()); in ProcessProfiles()
232 std::vector<std::string>& extra_args, in RunProfman() argument
239 argv_str.insert(argv_str.end(), extra_args.begin(), extra_args.end()); in RunProfman()
258 std::vector<std::string> extra_args; in DumpClassesAndMethods() local
259 extra_args.push_back("--dump-classes-and-methods"); in DumpClassesAndMethods()
261 filename, extra_args, file_contents, target.value_or(GetLibCoreDexFileNames()[0])); in DumpClassesAndMethods()
265 std::vector<std::string> extra_args; in DumpOnly() local
266 extra_args.push_back("--dump-only"); in DumpOnly()
267 return RunProfman(filename, extra_args, file_contents, GetLibCoreDexFileNames()[0]); in DumpOnly()
[all …]
/art/tools/jfuzz/
Drun_jfuzz_test.py180 def __init__(self, dexer, debug_info, extra_args=None): argument
190 if extra_args is not None:
191 self._art_cmd += extra_args
255 def __init__(self, dexer, debug_info, device, extra_args=None): argument
267 if extra_args is not None:
268 self._dalvik_cmd += extra_args
/art/oatdump/
Doatdump_test.h177 const std::vector<std::string>& extra_args,
255 exec_argv.insert(exec_argv.end(), extra_args.begin(), extra_args.end());
/art/runtime/gc/space/
Dimage_space_test.cc76 std::vector<std::string> extra_args = { in TEST_F() local
87 CompileBootImage(extra_args, ART_FORMAT("{}/{}", image_dir, prefix), dex_files, &error_msg); in TEST_F()
/art/tools/hiddenapi/
Dhiddenapi_test.cc46 const std::vector<std::string>& extra_args, in RunHiddenapiEncode() argument
70 argv_str.insert(argv_str.end(), extra_args.begin(), extra_args.end()); in RunHiddenapiEncode()
/art/odrefresh/
Dodrefresh.h336 tools::CmdlineBuilder&& extra_args,
Dodrefresh.cc1708 CmdlineBuilder&& extra_args, in RunDex2oat() argument
1790 args.Concat(std::move(extra_args)); in RunDex2oat()