Home
last modified time | relevance | path

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

123

/system/core/libcutils/include_outside_system/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.cpp60 static bool ChangeDirModeAndOwner(const std::string& path, mode_t mode, const std::string& uid, in ChangeDirModeAndOwner()
115 static bool Mkdir(const std::string& path, mode_t mode, const std::string& uid, in Mkdir()
368 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);
59 bool make_dir(const std::string& path, mode_t mode);
75 mode_t mode;
Ddevices.h41 Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid, bool no_fnm_pathname);
45 mode_t perm() const { return perm_; } in perm()
54 mode_t perm_;
66 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions()
127 std::tuple<mode_t, uid_t, gid_t> GetDevicePermissions(
Dutil.cpp89 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid, in CreateSocket()
179 static int OpenFile(const std::string& path, int flags, mode_t mode) { in OpenFile()
208 bool mkdir_recursive(const std::string& path, mode_t mode) { in mkdir_recursive()
264 bool make_dir(const std::string& path, mode_t mode) { in make_dir()
508 mode_t mode = 0755; in ParseMkdir()
/system/extras/toolchain-extras/
Dprofile-clang-openat.cpp48 mode_t mode = static_cast<mode_t>(va_arg(args, int)); in __wrap_open()
Dprofile-clang-extras-test.cpp43 mode_t old_umask = umask(0077); in TEST()
/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;
117 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;
Dcow_writer_file_descriptor.h35 bool Open(const char* path, int flags, mode_t mode) override;
Dfile_writer.h74 int Open(const char* path, int flags, mode_t mode);
Dfec_file_descriptor.cc27 bool FecFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open()
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()
Dcow_writer_file_descriptor.cc36 bool CowWriterFileDescriptor::Open(const char* path, int flags, mode_t mode) { in Open()
/system/vold/
DUtils.h54 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
72 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
94 status_t CreateDir(const std::string& dir, mode_t mode);
162 status_t EnsureDirExists(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
188 bool MkdirsSync(const std::string& path, mode_t mode);
/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);
/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/bpf/bpfloader/
DBpfLoader.cpp99 mode_t prevUmask = umask(0); in createSysFsBpfSubDir()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_reader.h31 bool Open(const char* path, int flags, mode_t mode) override;

123