Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Ddexopt.h46 bool clear_primary_reference_profile(const std::string& pkgname, const std::string& profile_name);
48 bool clear_primary_current_profile(const std::string& pkgname, const std::string& profile_name,
51 bool clear_primary_current_profiles(const std::string& pkgname, const std::string& profile_name);
60 const std::string& pkgname,
83 const std::string& pkgname,
89 const std::string& pkgname,
106 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
111 const std::string& pkgname, int uid, const std::unique_ptr<std::string>& volume_uuid,
DInstalldNativeService.cpp416 const char* pkgname = packageName.c_str(); in createAppData() local
431 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); in createAppData()
462 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in createAppData()
493 const char* pkgname = packageName.c_str(); in migrateAppData() local
500 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); in migrateAppData()
501 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); in migrateAppData()
554 const char* pkgname = packageName.c_str(); in clearAppData() local
558 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in clearAppData()
584 auto path = create_data_user_de_package_path(uuid_, userId, pkgname) + suffix; in clearAppData()
603 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
[all …]
Ddexopt.cpp908 bool dump_profiles(int32_t uid, const std::string& pkgname, const std::string& profile_name, in dump_profiles() argument
913 pkgname.c_str(), profile_name.c_str()); in dump_profiles()
915 open_profile_files(uid, pkgname, profile_name, /*is_secondary_dex*/false, in dump_profiles()
922 LOG(ERROR) << "profman dump: no profiles to dump for " << pkgname; in dump_profiles()
955 LOG(WARNING) << "profman failed for package " << pkgname << ": " in dump_profiles()
1312 Dex2oatFileWrapper maybe_open_reference_profile(const std::string& pkgname, in maybe_open_reference_profile() argument
1317 if (!profile_guided || (pkgname[0] == '*')) { in maybe_open_reference_profile()
1345 unique_fd ufd = open_reference_profile(uid, pkgname, location, /*read_write*/false, in maybe_open_reference_profile()
1347 const auto& cleanup = [pkgname, location, is_secondary_dex]() { in maybe_open_reference_profile()
1348 clear_reference_profile(pkgname, location, is_secondary_dex); in maybe_open_reference_profile()
[all …]
Dutils.h140 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
Dutils.cpp881 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path, in validate_secondary_dex_path() argument
899 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
901 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
907 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java645 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
646 if (pkgname == null) { in readPermissionsFromXml()
650 mAllowInPowerSaveExceptIdle.add(pkgname); in readPermissionsFromXml()
659 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
660 if (pkgname == null) { in readPermissionsFromXml()
664 mAllowInPowerSave.add(pkgname); in readPermissionsFromXml()
673 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
674 if (pkgname == null) { in readPermissionsFromXml()
678 mAllowInDataUsageSave.add(pkgname); in readPermissionsFromXml()
687 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()