Lines Matching refs:pkgname
451 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()
655 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in clearAppData()
659 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in clearAppData()
671 static int destroy_app_reference_profile(const std::string& pkgname) { in destroy_app_reference_profile() argument
673 create_primary_reference_profile_package_dir_path(pkgname), in destroy_app_reference_profile()
677 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument
679 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles()
709 const char* pkgname = packageName.c_str(); in destroyAppData() local
713 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in destroyAppData()
719 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in destroyAppData()
750 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in destroyAppData()
755 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in destroyAppData()
759 path = StringPrintf("%s/Android/obb/%s", extPath.c_str(), pkgname); in destroyAppData()
1805 const char* pkgname = packageNames[i].c_str(); in getAppSize() local
1808 auto cePath = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInodes[i]); in getAppSize()
1810 auto dePath = create_data_user_de_package_path(uuid_, userId, pkgname); in getAppSize()
1817 create_primary_current_profile_package_dir_path(userId, pkgname), in getAppSize()
1820 create_primary_reference_profile_package_dir_path(pkgname), in getAppSize()
1826 auto extPath = create_data_media_package_path(uuid_, userId, "data", pkgname); in getAppSize()
1828 auto mediaPath = create_data_media_package_path(uuid_, userId, "media", pkgname); in getAppSize()
2308 const char* pkgname = getCStr(packageName, "*"); in dexopt() local
2317 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded, in dexopt()
2344 const char* pkgname = packageName.c_str(); in linkNativeLibraryDirectory() local
2349 auto _pkgdir = create_data_user_ce_package_path(uuid_, userId, pkgname); in linkNativeLibraryDirectory()