/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/ |
D | OsConstantsTest.java | 224 assertFalse(S_ISLNK(OsConstants.S_IWUSR)); in test_S_ISLNK() 252 assertFalse(S_ISREG(OsConstants.S_IWUSR)); in test_S_ISREG() 280 assertFalse(S_ISDIR(OsConstants.S_IWUSR)); in test_S_ISDIR() 308 assertFalse(S_ISCHR(OsConstants.S_IWUSR)); in test_S_ISCHR() 336 assertFalse(S_ISBLK(OsConstants.S_IWUSR)); in test_S_ISBLK() 364 assertFalse(S_ISFIFO(OsConstants.S_IWUSR)); in test_S_ISFIFO() 392 assertFalse(S_ISSOCK(OsConstants.S_IWUSR)); in test_S_ISSOCK()
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | profiler_interface.cc | 70 int fd = open(buf, O_WRONLY | O_CREAT | O_CLOEXEC, S_IWUSR); in ProfilerOpenLogFile()
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | main.cpp | 73 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
|
/frameworks/base/libs/androidfw/tests/ |
D | ObbFile_test.cpp | 46 int fd = ::open(mFileName.c_str(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
/frameworks/base/tools/aapt/ |
D | CacheUpdater.h | 90 mkdir(existsPath.c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 73 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
|
/frameworks/libs/binary_translation/base/ |
D | tracing.cc | 73 int fd = open(trace_filename.c_str(), O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, S_IWUSR); in TraceToFile()
|
/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/cmds/gpu_counter_producer/ |
D | main.cpp | 84 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in writeToPidFile()
|
/frameworks/native/libs/renderengine/benchmark/ |
D | Codec.cpp | 93 base::unique_fd fd{open(path, O_WRONLY | O_CREAT, S_IWUSR)}; in encodeToJpeg()
|
/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/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/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 99 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/ |
D | FullRestoreEngineTest.java | 146 metadata.mode = OsConstants.S_IWUSR; // Mark as writable. in TestFile()
|
/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/av/media/module/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/av/media/module/libmediatranscoding/transcoder/tests/ |
D | HdrTranscodeTests.cpp | 87 const int dstFd = open(dstPath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
|
/frameworks/base/cmds/idmap2/self_targeting/ |
D | SelfTargeting.cpp | 38 constexpr const mode_t kIdmapFilePermission = S_IRUSR | S_IWUSR; // u=rw-, g=---, o=---
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteOpenHelper.java | 438 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 | 110 perm |= S_IWUSR;
|
/frameworks/native/opengl/libs/EGL/ |
D | MultifileBlobCache.cpp | 541 int fd = open(cacheStatus.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in createStatus() 832 int fd = open(fullPath.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in processTask()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerSettings.java | 180 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
|
/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()
|