Lines Matching refs:pkgname

458     const char* pkgname = packageName.c_str();  in createAppData()  local
473 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname); in createAppData()
507 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in createAppData()
538 const char* pkgname = packageName.c_str(); in migrateAppData() local
545 auto ce_path = create_data_user_ce_package_path(uuid_, userId, pkgname); in migrateAppData()
546 auto de_path = create_data_user_de_package_path(uuid_, userId, pkgname); in migrateAppData()
599 const char* pkgname = packageName.c_str(); in clearAppData() local
603 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in clearAppData()
629 auto path = create_data_user_de_package_path(uuid_, userId, pkgname) + suffix; in clearAppData()
657 auto path = StringPrintf("%s/Android/data/%s/cache", extPath.c_str(), pkgname); in clearAppData()
665 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in clearAppData()
669 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in clearAppData()
681 static int destroy_app_reference_profile(const std::string& pkgname) { in destroy_app_reference_profile() argument
683 create_primary_reference_profile_package_dir_path(pkgname), in destroy_app_reference_profile()
687 static int destroy_app_current_profiles(const std::string& pkgname, userid_t userid) { in destroy_app_current_profiles() argument
689 create_primary_current_profile_package_dir_path(userid, pkgname), in destroy_app_current_profiles()
719 const char* pkgname = packageName.c_str(); in destroyAppData() local
723 auto path = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInode); in destroyAppData()
729 auto path = create_data_user_de_package_path(uuid_, userId, pkgname); in destroyAppData()
760 auto path = StringPrintf("%s/Android/data/%s", extPath.c_str(), pkgname); in destroyAppData()
765 path = StringPrintf("%s/Android/media/%s", extPath.c_str(), pkgname); in destroyAppData()
769 path = StringPrintf("%s/Android/obb/%s", extPath.c_str(), pkgname); in destroyAppData()
1813 const char* pkgname = packageNames[i].c_str(); in getAppSize() local
1816 auto cePath = create_data_user_ce_package_path(uuid_, userId, pkgname, ceDataInodes[i]); in getAppSize()
1818 auto dePath = create_data_user_de_package_path(uuid_, userId, pkgname); in getAppSize()
1825 create_primary_current_profile_package_dir_path(userId, pkgname), in getAppSize()
1828 create_primary_reference_profile_package_dir_path(pkgname), in getAppSize()
1834 auto extPath = create_data_media_package_path(uuid_, userId, "data", pkgname); in getAppSize()
1836 auto mediaPath = create_data_media_package_path(uuid_, userId, "media", pkgname); in getAppSize()
2410 const char* pkgname = getCStr(packageName, "*"); in dexopt() local
2419 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded, in dexopt()
2446 const char* pkgname = packageName.c_str(); in linkNativeLibraryDirectory() local
2451 auto _pkgdir = create_data_user_ce_package_path(uuid_, userId, pkgname); in linkNativeLibraryDirectory()