Lines Matching refs:std
47 std::string create_data_path(const char* volume_uuid);
49 std::string create_data_app_path(const char* volume_uuid);
51 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid);
52 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid);
54 std::string create_data_user_ce_package_path(const char* volume_uuid,
56 std::string create_data_user_ce_package_path(const char* volume_uuid,
58 std::string create_data_user_de_package_path(const char* volume_uuid,
60 std::string create_data_user_ce_package_path_as_user_link(
63 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user);
64 std::string create_data_misc_de_rollback_base_path(const char* volume_uuid, userid_t user);
65 std::string create_data_misc_ce_rollback_path(const char* volume_uuid, userid_t user,
67 std::string create_data_misc_de_rollback_path(const char* volume_uuid, userid_t user,
69 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid,
71 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid,
73 std::string create_data_misc_de_rollback_package_path(const char* volume_uuid,
76 std::string create_data_media_path(const char* volume_uuid, userid_t userid);
77 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid,
80 std::string create_data_misc_legacy_path(userid_t userid);
82 std::string create_data_dalvik_cache_path();
84 std::string create_system_user_ce_path(userid_t userId);
86 std::string create_system_user_ce_package_path(userid_t userId, const char* package_name);
88 std::string create_primary_cur_profile_dir_path(userid_t userid);
89 std::string create_primary_current_profile_package_dir_path(
90 userid_t user, const std::string& package_name);
92 std::string create_primary_ref_profile_dir_path();
93 std::string create_primary_reference_profile_package_dir_path(const std::string& package_name);
95 std::string create_current_profile_path(
97 const std::string& package_name,
98 const std::string& location,
100 std::string create_reference_profile_path(
101 const std::string& package_name,
102 const std::string& location,
104 std::string create_snapshot_profile_path(
105 const std::string& package,
106 const std::string& profile_name);
108 std::vector<userid_t> get_known_users(const char* volume_uuid);
110 int calculate_tree_size(const std::string& path, int64_t* size,
115 bool is_valid_filename(const std::string& name);
116 bool is_valid_package_name(const std::string& packageName);
118 int create_dir_if_needed(const std::string& pathname, mode_t mode);
120 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false);
121 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing = false);
130 int rm_package_dir(const std::string& package_dir);
134 int64_t data_disk_free(const std::string& data_path);
136 int get_path_inode(const std::string& path, ino_t *inode);
138 int write_path_inode(const std::string& parent, const char* name, const char* inode_xattr);
139 std::string read_path_inode(const std::string& parent, const char* name, const char* inode_xattr);
140 void remove_path_xattr(const std::string& path, const char* inode_xattr);
143 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
153 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
157 int64_t get_occupied_app_space_external(const std::string& uuid, int32_t userId, int32_t appId);
158 int64_t get_occupied_app_cache_space_external(const std::string& uuid, int32_t userId, int32_t appI…
164 bool collect_profiles(std::vector<std::string>* profiles_paths);