Home
last modified time | relevance | path

Searched refs:pkgname (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/cmds/installd/
Ddexopt.h51 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name);
53 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name,
56 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name);
70 const std::string& pkgname,
92 bool dump_profiles(int32_t uid, const std::string& pkgname, const std::string& profile_name,
97 const std::string& pkgname,
114 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
119 const std::string& pkgname, int uid, const std::optional<std::string>& volume_uuid,
160 UniqueFile maybe_open_reference_profile(const std::string& pkgname, const std::string& dex_path,
Ddexopt.cpp786 bool dump_profiles(int32_t uid, const std::string& pkgname, const std::string& profile_name, in dump_profiles() argument
791 pkgname.c_str(), profile_name.c_str()); in dump_profiles()
793 open_profile_files(uid, pkgname, profile_name, /*is_secondary_dex*/false, in dump_profiles()
800 LOG(ERROR) << "profman dump: no profiles to dump for " << pkgname; in dump_profiles()
834 LOG(WARNING) << "profman failed for package " << pkgname << ": " << return_code; in dump_profiles()
1083 UniqueFile maybe_open_reference_profile(const std::string& pkgname, in maybe_open_reference_profile() argument
1088 if (!profile_guided || (pkgname[0] == '*')) { in maybe_open_reference_profile()
1116 return open_reference_profile_as_unique_file(uid, pkgname, location, is_secondary_dex); in maybe_open_reference_profile()
1634 const char* pkgname, int dexopt_flags, const char* volume_uuid, int uid, in process_secondary_dex_dexopt() argument
1671 if (!validate_secondary_dex_path(pkgname, dex_path, volume_uuid, uid, storage_flag)) { in process_secondary_dex_dexopt()
[all …]
DInstalldNativeService.cpp823 const char* pkgname = packageName.c_str(); in createAppDataLocked() local
848 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); in createAppDataLocked()
875 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in createAppDataLocked()
1125 const char* pkgname = packageName.c_str(); in migrateAppData() local
1132 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); in migrateAppData()
1133 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); in migrateAppData()
1193 const char* pkgname = packageName.c_str(); in clearAppData() local
1197 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in clearAppData()
1220 auto path = create_data_user_de_package_path(uuid_, userId, pkgname) + suffix; in clearAppData()
1248 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
[all …]
Dutils.h160 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
Dutils.cpp1086 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path, in validate_secondary_dex_path() argument
1104 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
1106 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
1112 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java1011 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
1012 if (pkgname == null) { in readPermissionsFromXml()
1016 mAllowInPowerSaveExceptIdle.add(pkgname); in readPermissionsFromXml()
1025 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
1026 if (pkgname == null) { in readPermissionsFromXml()
1030 mAllowInPowerSave.add(pkgname); in readPermissionsFromXml()
1039 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
1040 if (pkgname == null) { in readPermissionsFromXml()
1044 mAllowInDataUsageSave.add(pkgname); in readPermissionsFromXml()
1053 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
[all …]
/frameworks/base/core/java/android/view/
DView.java7005 String pkgname;
7008 pkgname="app";
7011 pkgname="android";
7014 pkgname = r.getResourcePackageName(id);
7020 out.append(pkgname);