Home
last modified time | relevance | path

Searched refs:mode_t (Results 1 – 25 of 52) sorted by relevance

123

/system/core/libcutils/include_vndk/cutils/
Dfs.h46 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
52 extern int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid);
58 extern int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid);
79 extern int fs_mkdirs(const char* path, mode_t mode);
/system/core/libcutils/include/cutils/
Dfs.h46 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
52 extern int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid);
58 extern int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid);
79 extern int fs_mkdirs(const char* path, mode_t mode);
/system/core/libprocessgroup/setup/
Dcgroup_descriptor.h28 mode_t mode, const std::string& uid, const std::string& gid, uint32_t flags);
31 mode_t mode() const { return mode_; } in mode()
39 mode_t mode_ = 0;
Dcgroup_map_write.cpp58 static bool ChangeDirModeAndOwner(const std::string& path, mode_t mode, const std::string& uid, in ChangeDirModeAndOwner()
113 static bool Mkdir(const std::string& path, mode_t mode, const std::string& uid, in Mkdir()
343 const std::string& path, mode_t mode, const std::string& uid, in CgroupDescriptor()
/system/core/init/
Dutil.h47 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid,
55 bool mkdir_recursive(const std::string& pathname, mode_t mode);
58 bool make_dir(const std::string& path, mode_t mode);
74 mode_t mode;
Ddevices.h41 Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid);
45 mode_t perm() const { return perm_; } in perm()
54 mode_t perm_;
65 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions()
126 std::tuple<mode_t, uid_t, gid_t> GetDevicePermissions(
Dutil.cpp91 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid, in CreateSocket()
181 static int OpenFile(const std::string& path, int flags, mode_t mode) { in OpenFile()
210 bool mkdir_recursive(const std::string& path, mode_t mode) { in mkdir_recursive()
251 bool make_dir(const std::string& path, mode_t mode) { in make_dir()
486 mode_t mode = 0755; in ParseMkdir()
/system/core/libcutils/
Dfs.cpp42 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl()
115 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
119 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict()
123 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
196 int fs_mkdirs(const char* path, mode_t mode) { in fs_mkdirs()
/system/update_engine/payload_consumer/
Dfile_descriptor.h57 virtual bool Open(const char* path, int flags, mode_t mode) = 0;
116 bool Open(const char* path, int flags, mode_t mode) override;
Dfile_writer.cc23 int DirectFileWriter::Open(const char* path, int flags, mode_t mode) { in Open()
Dfec_file_descriptor.h39 bool Open(const char* path, int flags, mode_t mode) override;
Dfec_file_descriptor.cc25 bool FecFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open()
Dfile_writer.h74 int Open(const char* path, int flags, mode_t mode);
Dcached_file_descriptor.h39 bool Open(const char* path, int flags, mode_t mode) override { in Open()
Dfake_file_descriptor.h42 bool Open(const char* path, int flags, mode_t mode) override { in Open()
Dfile_descriptor.cc31 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open()
/system/core/adb/libs/libadbd_fs/include/
Dadbd_fs.h25 mode_t* mode, uint64_t* capabilities);
/system/core/adb/libs/libadbd_fs/
Dadbd_fs.cpp22 mode_t* mode, uint64_t* capabilities) { in adbd_fs_config()
/system/update_engine/
Dfake_file_writer.h37 virtual int Open(const char* path, int flags, mode_t mode) { in Open()
/system/libbase/include/android-base/
Dutf8.h92 int mkdir(const char* name, mode_t mode);
Dfile.h91 mode_t mode, uid_t owner, gid_t group,
/system/core/sdcard/
Dsdcard.cpp103 mode_t mask, bool derive_gid, bool default_normal, bool unshared_obb, in sdcardfs_setup()
133 gid_t gid, mode_t mask) { in sdcardfs_setup_bind_remount()
156 gid_t gid, mode_t mask, bool derive_gid, bool default_normal, in sdcardfs_setup_secondary()
/system/vold/
DUtils.h49 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
67 status_t CreateDir(const std::string& dir, mode_t mode);
/system/netd/libnetdutils/include/netdutils/
DMockSyscalls.h37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
/system/netd/server/
DProcess.cpp54 const mode_t PID_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // mode 0644, rw-r--r--

123