Lines Matching refs:pkgname

122 static bool clear_current_profile(const std::string& pkgname, userid_t user,  in clear_current_profile()  argument
124 return clear_profile(create_current_profile_path(user, pkgname, is_secondary_dex)); in clear_current_profile()
128 bool clear_primary_reference_profile(const std::string& pkgname) { in clear_primary_reference_profile() argument
129 return clear_reference_profile(pkgname, /*is_secondary_dex*/false); in clear_primary_reference_profile()
133 bool clear_primary_current_profiles(const std::string& pkgname) { in clear_primary_current_profiles() argument
138 success &= clear_current_profile(pkgname, user, /*is_secondary_dex*/false); in clear_primary_current_profiles()
144 bool clear_primary_current_profile(const std::string& pkgname, userid_t user) { in clear_primary_current_profile() argument
145 return clear_current_profile(pkgname, user, /*is_secondary_dex*/false); in clear_primary_current_profile()
757 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname) { in analyze_primary_profiles() argument
758 return analyze_profiles(uid, pkgname, /*is_secondary_dex*/false); in analyze_primary_profiles()
796 bool dump_profiles(int32_t uid, const std::string& pkgname, const char* code_paths) { in dump_profiles() argument
799 std::string out_file_name = StringPrintf("/data/misc/profman/%s.txt", pkgname.c_str()); in dump_profiles()
801 open_profile_files(uid, pkgname, /*is_secondary_dex*/false, in dump_profiles()
808 LOG(ERROR) << "profman dump: no profiles to dump for " << pkgname; in dump_profiles()
843 LOG(WARNING) << "profman failed for package " << pkgname << ": " in dump_profiles()
1135 Dex2oatFileWrapper maybe_open_reference_profile(const std::string& pkgname, in maybe_open_reference_profile() argument
1140 if (!profile_guided || is_public || (pkgname[0] == '*')) { in maybe_open_reference_profile()
1145 const std::string location = is_secondary_dex ? dex_path : pkgname; in maybe_open_reference_profile()
1396 static bool process_secondary_dex_dexopt(const char* original_dex_path, const char* pkgname, in process_secondary_dex_dexopt() argument
1429 if (!validate_secondary_dex_path(pkgname, dex_path, volume_uuid, uid, storage_flag)) { in process_secondary_dex_dexopt()
1490 int dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set, in dexopt() argument
1493 CHECK(pkgname != nullptr); in dexopt()
1494 CHECK(pkgname[0] != 0); in dexopt()
1509 if (process_secondary_dex_dexopt(dex_path, pkgname, dexopt_flags, volume_uuid, uid, in dexopt()
1572 pkgname, dex_path, profile_guided, is_public, uid, is_secondary_dex); in dexopt()
1683 const std::string& pkgname, int uid, const std::vector<std::string>& isas, in reconcile_secondary_dex_file() argument
1694 if (!validate_secondary_dex_path(pkgname.c_str(), dex_path.c_str(), volume_uuid_cstr, in reconcile_secondary_dex_file()