/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()
|
/frameworks/native/cmds/installd/ |
D | view_compiler.cpp | 67 if (fchmod(outfd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { in view_compiler()
|
D | dexopt.cpp | 449 S_IRUSR | S_IWUSR | S_IRGRP); // so that ART can also read it when apps run. in open_reference_profile() 460 S_IRUSR | S_IWUSR | S_IRGRP); // so that ART can also read it when apps run. in open_reference_profile_as_unique_file() 470 return open_profile(uid, profile, O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in open_snapshot_profile() 797 if (fchmod(output_fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) < 0) { in dump_profiles() 957 S_IRUSR|S_IWUSR|S_IRGRP | in set_permissions_and_ownership()
|
/frameworks/base/tools/aapt/ |
D | CacheUpdater.h | 87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 75 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/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 475 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 490 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 602 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 662 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 797 open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 853 open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 916 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
|
/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/native/services/surfaceflinger/Tracing/ |
D | RingBuffer.h | 68 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in writeToFile()
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 154 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 | 309 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 | 183 fchmod(fd, S_IRUSR); in writeToFile()
|
/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/av/media/libmediatranscoding/transcoder/tests/ |
D | HdrTranscodeTests.cpp | 87 const int dstFd = open(dstPath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
|
D | MediaTranscoderTests.cpp | 61 static constexpr int kFileMode = S_IRUSR | S_IWUSR;
|
/frameworks/av/media/libmediatranscoding/transcoder/tools/ |
D | Transcode.cpp | 131 const int dstFd = open(config.dstFile.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 130 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
|
/frameworks/base/native/webview/loader/ |
D | loader.cpp | 110 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 444 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 108 perm |= S_IRUSR;
|
/frameworks/av/media/libstagefright/webm/tests/ |
D | WebmFrameThreadUnitTest.cpp | 80 mFd = open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in SetUp()
|
/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()
|