Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h33 FileHandle(const std::string& path, int flags, mode_t mode = 0) {
40 mode_t mode = 0) {
/frameworks/base/cmds/idmap2/include/idmap2/
DFileUtils.h30 constexpr const mode_t kIdmapFilePermissionMask = 0133; // u=rw,g=r,o=r
/frameworks/native/cmds/installd/
Dutils.h118 int create_dir_if_needed(const std::string& pathname, mode_t mode);
153 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode,
Dutils.cpp539 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed()
554 mode_t actual_perms = st.st_mode & ALLPERMS; in create_dir_if_needed()
996 int prepare_app_cache_dir(const std::string& parent, const char* name, mode_t target_mode, in prepare_app_cache_dir()
1015 mode_t actual_mode = st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISGID); in prepare_app_cache_dir()
DInstalldNativeService.cpp89 static constexpr const mode_t kRollbackFolderMode = 0700;
372 static int prepare_app_dir(const std::string& path, mode_t target_mode, uid_t uid) { in prepare_app_dir()
465 mode_t targetMode = targetSdkVersion >= MIN_RESTRICTED_HOME_SDK_VERSION ? 0700 : 0751; in createAppData()
Ddexopt.cpp1690 mode_t oat_dir_mode = S_IRWXU | S_IRWXG | S_IXOTH; in prepare_secondary_dex_oat_dir()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h35 enum : mode_t {
92 mode_t /*unused_mode*/ = kDefaultMode,
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp79 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { in FwdLockGlue_CreateDirectories()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp72 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { in mkdir()
79 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { in touch()
252 static bool mkdirs(const std::string& path, mode_t mode) { in mkdirs()
Dinstalld_dexopt_test.cpp108 static int mkdir(const std::string& path, uid_t owner, gid_t group, mode_t mode) { in mkdir()
429 void CheckFileAccess(const std::string& file, uid_t uid, gid_t gid, mode_t mode) { in CheckFileAccess()
535 mode_t mode = S_IFREG | (is_public ? 0644 : 0640); in CompilePrimaryDex()
904 void SetupProfile(const std::string& path, uid_t uid, gid_t gid, mode_t mode, in SetupProfile()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp222 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in writeProtoFileLocked()
/frameworks/av/media/mtp/
DMtpUtils.cpp102 mode_t mask = umask(0); in makeFolder()
DMtpServer.cpp1178 mode_t mask; in doSendObject()
/frameworks/av/media/codec2/core/include/
DC2Config.h2158 enum mode_t : uint32_t; member
2162 inline C2TimestampGapAdjustmentStruct(mode_t mode_, uint64_t value_) in C2TimestampGapAdjustmentStruct()
2165 mode_t mode; ///< control mode
2173 C2ENUM(C2TimestampGapAdjustmentStruct::mode_t, uint32_t,
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc106 mode_t perm = 0;
/frameworks/base/tools/aapt2/util/
DFiles.cpp126 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; in mkdirs()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp277 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in copyFileIfChanged()
Dcom_android_internal_os_Zygote.cpp763 static void PrepareDir(const std::string& dir, mode_t mode, uid_t uid, gid_t gid, in PrepareDir()
771 static void PrepareDirIfNotPresent(const std::string& dir, mode_t mode, uid_t uid, gid_t gid, in PrepareDirIfNotPresent()
/frameworks/native/cmds/rawbu/
Dbackup.cpp474 if (st->st_mode == (mode_t)-1) { in read_header()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp759 mode_t /*unused_mode*/, in Create() argument
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp204 static int Open(std::string path, int flags, mode_t mode = 0) { in Open()