/frameworks/native/cmds/installd/ |
D | view_compiler.cpp | 61 if (fchmod(outfd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { in view_compiler()
|
/frameworks/base/libs/androidfw/tests/ |
D | ObbFile_test.cpp | 46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
D | BackupData_test.cpp | 60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
/frameworks/base/tools/aapt/ |
D | CacheUpdater.h | 87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
|
/frameworks/base/cmds/statsd/tests/storage/ |
D | StorageManager_test.cpp | 136 open(file1.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles() 144 open(file2.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR))); in prepareLocalHistoryTestFiles()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 79 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 62 unique_fd fd(open(testFile.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in TEST()
|
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
|
/frameworks/native/cmds/installd/tests/ |
D | test_utils.h | 103 int fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in WriteBase64ToFile()
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 147 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
|
D | muxer.cpp | 78 int fd = open(outputFileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in muxing()
|
D | recordvideo.cpp | 311 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 181 fchmod(fd, S_IRUSR); in writeToFile()
|
/frameworks/base/cmds/bootanimation/iot/ |
D | BootParameters.cpp | 111 if (chmod(kLastBootFile, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) { in storeParameters()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR); in FwdLockGlue_InitializeRoundKeys()
|
/frameworks/base/cmds/idmap/ |
D | create.cpp | 40 if (fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in open_idmap()
|
D | scan.cpp | 70 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 in writePackagesList()
|
/frameworks/base/native/webview/loader/ |
D | loader.cpp | 110 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 228 fchmod(fd, S_IRUSR); in saveBlobCacheLocked()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 445 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 106 int fd = open(file, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); in writeFile() 134 int fd = open(TRAIN_INFO_PATH, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); in writeTrainInfo()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 108 perm |= S_IRUSR;
|
/frameworks/rs/ |
D | rsScriptC.cpp | 98 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 126 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; in mkdirs()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 55 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in OpenForWrite()
|