Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Ddexopt.h50 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name);
52 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name,
55 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name);
64 const std::string& pkgname,
87 const std::string& pkgname,
93 const std::string& pkgname,
110 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
115 const std::string& pkgname, int uid, const std::optional<std::string>& volume_uuid,
DInstalldNativeService.cpp451 const char* pkgname = packageName.c_str(); in createAppData() local
466 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); in createAppData()
497 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in createAppData()
528 const char* pkgname = packageName.c_str(); in migrateAppData() local
535 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); in migrateAppData()
536 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); in migrateAppData()
589 const char* pkgname = packageName.c_str(); in clearAppData() local
593 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in clearAppData()
619 auto path = create_data_user_de_package_path(uuid_, userId, pkgname) + suffix; in clearAppData()
647 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
[all …]
Ddexopt.cpp993 bool dump_profiles(int32_t uid, const std::string& pkgname, const std::string& profile_name, in dump_profiles() argument
998 pkgname.c_str(), profile_name.c_str()); in dump_profiles()
1000 open_profile_files(uid, pkgname, profile_name, /*is_secondary_dex*/false, in dump_profiles()
1007 LOG(ERROR) << "profman dump: no profiles to dump for " << pkgname; in dump_profiles()
1040 LOG(WARNING) << "profman failed for package " << pkgname << ": " in dump_profiles()
1392 Dex2oatFileWrapper maybe_open_reference_profile(const std::string& pkgname, in maybe_open_reference_profile() argument
1397 if (!profile_guided || (pkgname[0] == '*')) { in maybe_open_reference_profile()
1425 unique_fd ufd = open_reference_profile(uid, pkgname, location, /*read_write*/false, in maybe_open_reference_profile()
1427 const auto& cleanup = [pkgname, location, is_secondary_dex]() { in maybe_open_reference_profile()
1428 clear_reference_profile(pkgname, location, is_secondary_dex); in maybe_open_reference_profile()
[all …]
Dutils.cpp884 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path, in validate_secondary_dex_path() argument
902 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
904 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
910 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
Dutils.h140 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
/frameworks/base/core/java/com/android/server/
DSystemConfig.java687 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
688 if (pkgname == null) { in readPermissionsFromXml()
692 mAllowInPowerSaveExceptIdle.add(pkgname); in readPermissionsFromXml()
701 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
702 if (pkgname == null) { in readPermissionsFromXml()
706 mAllowInPowerSave.add(pkgname); in readPermissionsFromXml()
715 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
716 if (pkgname == null) { in readPermissionsFromXml()
720 mAllowInDataUsageSave.add(pkgname); in readPermissionsFromXml()
729 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfo.java105 ((TextView) findViewById(R.id.pkgname)).setText(mAppName); in bindHeader()
DNotificationInfo.java409 ((TextView) findViewById(R.id.pkgname)).setText(mAppName); in bindHeader()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfoTest.java98 final TextView textView = mAppOpsInfo.findViewById(R.id.pkgname); in testBindNotification_SetsTextApplicationName()
DNotificationInfoTest.java214 final TextView textView = mNotificationInfo.findViewById(R.id.pkgname); in testBindNotification_SetsTextApplicationName()
/frameworks/base/core/java/android/view/
DView.java6322 String pkgname;
6325 pkgname="app";
6328 pkgname="android";
6331 pkgname = r.getResourcePackageName(id);
6337 out.append(pkgname);