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);
50 std::string create_data_app_package_path(const char* volume_uuid, const char* package_name);
52 std::string create_data_user_ce_path(const char* volume_uuid, userid_t userid);
53 std::string create_data_user_de_path(const char* volume_uuid, userid_t userid);
55 std::string create_data_user_ce_package_path(const char* volume_uuid,
57 std::string create_data_user_ce_package_path(const char* volume_uuid,
59 std::string create_data_user_de_package_path(const char* volume_uuid,
61 std::string create_data_user_ce_package_path_as_user_link(
64 std::string create_data_misc_ce_rollback_base_path(const char* volume_uuid, userid_t user);
65 std::string create_data_misc_de_rollback_base_path(const char* volume_uuid, userid_t user);
66 std::string create_data_misc_ce_rollback_path(const char* volume_uuid, userid_t user,
68 std::string create_data_misc_de_rollback_path(const char* volume_uuid, userid_t user,
70 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid,
72 std::string create_data_misc_ce_rollback_package_path(const char* volume_uuid,
74 std::string create_data_misc_de_rollback_package_path(const char* volume_uuid,
77 std::string create_data_media_path(const char* volume_uuid, userid_t userid);
78 std::string create_data_media_package_path(const char* volume_uuid, userid_t userid,
81 std::string create_data_misc_legacy_path(userid_t userid);
83 std::string create_data_dalvik_cache_path();
85 std::string create_primary_cur_profile_dir_path(userid_t userid);
86 std::string create_primary_current_profile_package_dir_path(
87 userid_t user, const std::string& package_name);
89 std::string create_primary_ref_profile_dir_path();
90 std::string create_primary_reference_profile_package_dir_path(const std::string& package_name);
92 std::string create_current_profile_path(
94 const std::string& package_name,
95 const std::string& location,
97 std::string create_reference_profile_path(
98 const std::string& package_name,
99 const std::string& location,
101 std::string create_snapshot_profile_path(
102 const std::string& package,
103 const std::string& profile_name);
105 std::vector<userid_t> get_known_users(const char* volume_uuid);
107 int calculate_tree_size(const std::string& path, int64_t* size,
112 bool is_valid_filename(const std::string& name);
113 bool is_valid_package_name(const std::string& packageName);
115 int create_dir_if_needed(const std::string& pathname, mode_t mode);
117 int delete_dir_contents(const std::string& pathname, bool ignore_if_missing = false);
118 int delete_dir_contents_and_dir(const std::string& pathname, bool ignore_if_missing = false);
127 int rm_package_dir(const std::string& package_dir);
131 int64_t data_disk_free(const std::string& data_path);
133 int get_path_inode(const std::string& path, ino_t *inode);
135 int write_path_inode(const std::string& parent, const char* name, const char* inode_xattr);
136 std::string read_path_inode(const std::string& parent, const char* name, const char* inode_xattr);
137 void remove_path_xattr(const std::string& path, const char* inode_xattr);
140 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
150 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
154 int64_t get_occupied_app_space_external(const std::string& uuid, int32_t userId, int32_t appId);
155 int64_t get_occupied_app_cache_space_external(const std::string& uuid, int32_t userId, int32_t appI…
161 bool collect_profiles(std::vector<std::string>* profiles_paths);