Home
last modified time | relevance | path

Searched refs:profile_dir (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/cmds/installd/
Dutils.cpp366 std::string profile_dir = create_primary_current_profile_package_dir_path( in create_current_profile_path() local
368 return StringPrintf("%s/%s", profile_dir.c_str(), location.c_str()); in create_current_profile_path()
384 std::string profile_dir = create_primary_reference_profile_package_dir_path(package_name); in create_reference_profile_path() local
385 return StringPrintf("%s/%s", profile_dir.c_str(), location.c_str()); in create_reference_profile_path()
DInstalldNativeService.cpp518 const std::string profile_dir = in prepare_app_profile_dir() local
521 if (fs_prepare_dir_strict(profile_dir.c_str(), 0700, uid, uid) != 0) { in prepare_app_profile_dir()
522 PLOG(ERROR) << "Failed to prepare " << profile_dir; in prepare_app_profile_dir()
525 if (selinux_android_restorecon(profile_dir.c_str(), 0)) { in prepare_app_profile_dir()
526 PLOG(ERROR) << "Failed to restorecon " << profile_dir; in prepare_app_profile_dir()
592 const std::string profile_dir = in chown_app_profile_dir() local
594 char *argv[] = { (char*) profile_dir.c_str(), nullptr }; in chown_app_profile_dir()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp1427 void UpdateAndroidProfilesDir(const std::string& profile_dir) { in UpdateAndroidProfilesDir() argument
1428 android_profiles_dir = profile_dir; in UpdateAndroidProfilesDir()
1430 run_cmd("mkdir -p " + profile_dir + "/ref"); in UpdateAndroidProfilesDir()