Lines Matching refs:string
45 extern void (*trigger_shutdown)(const std::string& command);
47 Result<int> CreateSocket(const std::string& name, int type, bool passcred, bool should_listen,
48 mode_t perm, uid_t uid, gid_t gid, const std::string& socketcon);
50 Result<std::string> ReadFile(const std::string& path);
51 Result<void> WriteFile(const std::string& path, const std::string& content);
53 Result<uid_t> DecodeUid(const std::string& name);
55 bool mkdir_recursive(const std::string& pathname, mode_t mode);
57 bool make_dir(const std::string& path, mode_t mode);
59 Result<std::string> ExpandProps(const std::string& src);
62 bool read_android_dt_file(const std::string& sub_path, std::string* dt_content);
63 bool is_android_dt_value_expected(const std::string& sub_path, const std::string& expected_content);
65 bool IsLegalPropertyName(const std::string& name);
66 Result<void> IsLegalPropertyValue(const std::string& name, const std::string& value);
67 std::string CleanDirPath(const std::string& path);
70 std::string target;
75 std::string ref_option;
78 Result<MkdirOptions> ParseMkdir(const std::vector<std::string>& args);
81 std::vector<std::string> rc_paths;
82 std::string fstab_path;
87 Result<MountAllOptions> ParseMountAll(const std::vector<std::string>& args);
89 Result<std::pair<int, std::vector<std::string>>> ParseRestorecon(
90 const std::vector<std::string>& args);
92 Result<std::string> ParseSwaponAll(const std::vector<std::string>& args);
94 Result<std::string> ParseUmountAll(const std::vector<std::string>& args);
113 std::string GetApexNameFromFileName(const std::string& path);
118 std::vector<std::string> FilterVersionedConfigs(const std::vector<std::string>& configs,