Home
last modified time | relevance | path

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

12

/frameworks/native/cmds/installd/
Dview_compiler.cpp61 if (fchmod(outfd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { in view_compiler()
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
DBackupData_test.cpp60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
/frameworks/base/tools/aapt/
DCacheUpdater.h87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp136 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/libstagefright/tests/writer/
DWriterTest.cpp325 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
340 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
401 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
461 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
545 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp79 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/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/keystore/java/android/security/
DSystemKeyStore.java97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/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/av/cmds/stagefright/
Daudioloop.cpp147 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/base/cmds/idmap/
Dcreate.cpp40 if (fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in open_idmap()
Dscan.cpp69 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 in writePackagesList()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java445 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp104 int fd = open(file, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); in writeFile()
132 int fd = open(TRAIN_INFO_PATH, O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR); in writeTrainInfo()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc110 perm |= S_IWUSR;
/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()
/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/rs/
DrsScriptC.cpp98 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
/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()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp61 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in OpenForWrite()
/frameworks/base/tools/lock_agent/
Dagent.cpp538 open(newName.c_str(), O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR)); in locktest_main()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp944 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))); in DumpIncidentReport()
1261 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))); in DumpHals()
1909 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))); in DumpstateBoard()
3683 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in _redirect_to_file()

12