/art/dexlayout/ |
dexlayout_test.cc | 390 std::string profile_file = tmp_dir + "primary.prof"; local 391 CreateProfile(dex_file, profile_file, dex_file); 392 // WriteFileBase64(kDexFileLayoutInputProfile, profile_file.c_str()); 399 { dexlayout, "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; 407 { "/bin/rm", dex_file, profile_file, output_dex }; 438 std::string profile_file = tmp_dir + "primary.prof"; local 439 CreateProfile(dex_file, profile_file, dex_file); 448 { dexlayout, "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, dex_file }; 455 CreateProfile(dex_file, profile_file, output_dex); 460 { dexlayout, "-i", "-v", "-w", tmp_dir, "-o", tmp_name, "-p", profile_file, output_dex } [all...] |
/art/profman/ |
profile_assistant_test.cc | 268 ScratchFile profile_file; local 270 profile_file.GetFilename(), 272 profile_file.GetFile()->ResetOffset(); 273 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); 675 ScratchFile profile_file; local 677 profile_file.GetFilename(), 680 profile_file.GetFile()->ResetOffset(); 681 ASSERT_TRUE(info.Load(GetFd(profile_file))); 858 ScratchFile profile_file; local 1007 ScratchFile profile_file; local [all...] |
profman.cc | 416 for (const std::string& profile_file : profile_files_) { 417 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); 511 bool GetClassNamesAndMethods(const std::string& profile_file, 514 int fd = open(profile_file.c_str(), O_RDONLY); 516 LOG(ERROR) << "Cannot open " << profile_file << strerror(errno); 549 for (const std::string& profile_file : profile_files_) { 550 if (!GetClassNamesAndMethods(profile_file, &dex_files, &class_names)) { [all...] |
/art/dex2oat/ |
dex2oat_image_test.cc | 323 ScratchFile profile_file; local 324 profile.Save(profile_file.GetFile()->Fd()); 325 EXPECT_EQ(profile_file.GetFile()->Flush(), 0); 327 {"--profile-file=" + profile_file.GetFilename(), 329 profile_file.Close();
|
dex2oat_test.cc | 1213 ScratchFile profile_file; local [all...] |
dex2oat.cc | 2318 ScopedFlock profile_file; local [all...] |
/art/runtime/ |
dexopt_test.cc | 78 ScratchFile profile_file; local 80 args.push_back("--profile-file=" + profile_file.GetFilename());
|
/art/runtime/jit/ |
profile_compilation_info.cc | 185 ScopedFlock profile_file = LockedFile::Open(filename.c_str(), flags, 188 if (profile_file.get() == nullptr) { 193 int fd = profile_file->Fd(); 204 if (profile_file->ClearContent()) { 223 ScopedFlock profile_file = LockedFile::Open(filename.c_str(), flags, 225 if (profile_file.get() == nullptr) { 230 int fd = profile_file->Fd(); 233 if (!profile_file->ClearContent()) { [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 586 jstring profile_file, 597 const char* raw_profile_file = env->GetStringUTFChars(profile_file, nullptr); 599 env->ReleaseStringUTFChars(profile_file, raw_profile_file);
|
/frameworks/native/cmds/installd/ |
InstalldNativeService.cpp | 427 const std::string profile_file = create_current_profile_path(userId, pkgname, local 430 if (fs_prepare_file_strict(profile_file.c_str(), 0600, uid, uid) != 0) { 431 return error("Failed to prepare " + profile_file); [all...] |