Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Ddexopt.h36 bool clear_primary_reference_profile(const std::string& pkgname);
38 bool clear_primary_current_profile(const std::string& pkgname, userid_t user);
40 bool clear_primary_current_profiles(const std::string& pkgname);
50 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname);
52 bool dump_profiles(int32_t uid, const std::string& pkgname, const char* code_paths);
57 const std::string& pkgname, int uid, const std::vector<std::string>& isas,
Ddexopt.cpp122 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()
[all …]
DInstalldNativeService.cpp348 const char* pkgname = packageName.c_str(); in createAppData() local
363 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); in createAppData()
394 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in createAppData()
416 create_primary_current_profile_package_dir_path(userId, pkgname); in createAppData()
421 const std::string profile_file = create_current_profile_path(userId, pkgname, in createAppData()
428 create_primary_reference_profile_package_dir_path(pkgname); in createAppData()
449 const char* pkgname = packageName.c_str(); in migrateAppData() local
456 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); in migrateAppData()
457 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); in migrateAppData()
509 const char* pkgname = packageName.c_str(); in clearAppData() local
[all …]
Dutils.h50 const char *pkgname,
98 const char* pkgname,
125 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
Dutils.cpp132 int create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, in create_pkg_path() argument
134 if (!is_valid_package_name(pkgname)) { in create_pkg_path()
139 std::string _tmp(create_data_user_ce_package_path(nullptr, userid, pkgname) + postfix); in create_pkg_path()
358 const char* pkgname, in create_move_path() argument
362 if ((android_data_dir.len + strlen(PRIMARY_USER_PREFIX) + strlen(pkgname) + strlen(leaf) + 1) in create_move_path()
367 sprintf(path, "%s%s%s/%s", android_data_dir.path, PRIMARY_USER_PREFIX, pkgname, leaf); in create_move_path()
779 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path, in validate_secondary_dex_path() argument
785 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
787 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java434 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
435 if (pkgname == null) { in readPermissionsFromXml()
439 mAllowInPowerSaveExceptIdle.add(pkgname); in readPermissionsFromXml()
445 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
446 if (pkgname == null) { in readPermissionsFromXml()
450 mAllowInPowerSave.add(pkgname); in readPermissionsFromXml()
456 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
457 if (pkgname == null) { in readPermissionsFromXml()
461 mAllowInDataUsageSave.add(pkgname); in readPermissionsFromXml()
467 String pkgname = parser.getAttributeValue(null, "package"); in readPermissionsFromXml() local
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp327 char pkgname[pkgnameSize + 1]; in TEST_F() local
328 memset(pkgname, 'a', pkgnameSize); in TEST_F()
329 pkgname[1] = '.'; in TEST_F()
330 pkgname[pkgnameSize] = '\0'; in TEST_F()
332 EXPECT_EQ(0, create_pkg_path(path, pkgname, "", 0)) in TEST_F()
338 EXPECT_STREQ(pkgname, path + offset) in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInfo.java197 ((TextView) findViewById(R.id.pkgname)).setText(mAppName); in bindNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java163 final TextView textView = (TextView) mNotificationInfo.findViewById(R.id.pkgname); in testBindNotification_SetsTextApplicationName()
/frameworks/base/core/java/android/view/
DView.java5492 String pkgname;
5495 pkgname="app";
5498 pkgname="android";
5501 pkgname = r.getResourcePackageName(id);
5507 out.append(pkgname);