Home
last modified time | relevance | path

Searched refs:S_IWUSR (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsConstantsTest.java224 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/
Dprofiler_interface.cc70 int fd = open(buf, O_WRONLY | O_CREAT | O_CLOEXEC, S_IWUSR); in ProfilerOpenLogFile()
/frameworks/native/services/surfaceflinger/Tracing/tools/
Dmain.cpp73 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp46 int fd = ::open(mFileName.c_str(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
/frameworks/base/tools/aapt/
DCacheUpdater.h90 mkdir(existsPath.c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp73 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/frameworks/libs/binary_translation/base/
Dtracing.cc73 int fd = open(trace_filename.c_str(), O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, S_IWUSR); in TraceToFile()
/frameworks/base/cmds/incidentd/tests/
DProtoFileReader_test.cpp62 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/
Dmain.cpp84 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in writeToPidFile()
/frameworks/native/libs/renderengine/benchmark/
DCodec.cpp93 base::unique_fd fd{open(path, O_WRONLY | O_CREAT, S_IWUSR)}; in encodeToJpeg()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp475 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/
Dtest_utils.h103 int fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in WriteBase64ToFile()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java99 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DFullRestoreEngineTest.java146 metadata.mode = OsConstants.S_IWUSR; // Mark as writable. in TestFile()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp154 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
Dmuxer.cpp78 int fd = open(outputFileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in muxing()
Drecordvideo.cpp309 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/
DTranscode.cpp131 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/
DHdrTranscodeTests.cpp87 const int dstFd = open(dstPath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
/frameworks/base/cmds/idmap2/self_targeting/
DSelfTargeting.cpp38 constexpr const mode_t kIdmapFilePermission = S_IRUSR | S_IWUSR; // u=rw-, g=---, o=---
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java438 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc110 perm |= S_IWUSR;
/frameworks/native/opengl/libs/EGL/
DMultifileBlobCache.cpp541 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/
DGameManagerSettings.java180 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp80 mFd = open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in SetUp()

123