Lines Matching defs:pkgname

957 bool dump_profiles(int32_t uid, const std::string& pkgname, const std::string& profile_name,
962 pkgname.c_str(), profile_name.c_str());
964 open_profile_files(uid, pkgname, profile_name, /*is_secondary_dex*/false,
971 LOG(ERROR) << "profman dump: no profiles to dump for " << pkgname;
1003 LOG(WARNING) << "profman failed for package " << pkgname << ": "
1362 Dex2oatFileWrapper maybe_open_reference_profile(const std::string& pkgname,
1367 if (!profile_guided || (pkgname[0] == '*')) {
1395 unique_fd ufd = open_reference_profile(uid, pkgname, location, /*read_write*/false,
1397 const auto& cleanup = [pkgname, location, is_secondary_dex]() {
1398 clear_reference_profile(pkgname, location, is_secondary_dex);
1824 static bool process_secondary_dex_dexopt(const std::string& dex_path, const char* pkgname,
1852 if (!validate_secondary_dex_path(pkgname, dex_path, volume_uuid, uid, storage_flag)) {
1886 bool profile_was_updated = analyze_profiles(uid, pkgname, dex_path,
1951 int dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set,
1956 CHECK(pkgname != nullptr);
1957 CHECK(pkgname[0] != 0);
1987 if (process_secondary_dex_dexopt(dex_path, pkgname, dexopt_flags, volume_uuid, uid,
2056 pkgname, dex_path, profile_name, profile_guided, is_public, uid, is_secondary_dex);
2166 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
2189 if (!validate_secondary_dex_path(pkgname.c_str(), dex_path.c_str(), volume_uuid_cstr,
2228 multiuser_get_user_id(uid), pkgname, dex_path, /*is_secondary*/true);
2230 pkgname, dex_path, /*is_secondary*/true);
2288 bool hash_secondary_dex_file(const std::string& dex_path, const std::string& pkgname, int uid,
2316 if (!validate_secondary_dex_path(pkgname, dex_path, volume_uuid_cstr, uid, storage_flag)) {