Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
/frameworks/native/cmds/installd/
Dview_compiler.cpp67 if (fchmod(outfd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { in view_compiler()
Ddexopt.cpp449 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/
DCacheUpdater.h87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp75 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/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/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/native/services/surfaceflinger/Tracing/
DRingBuffer.h68 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in writeToFile()
/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/native/opengl/libs/EGL/
DFileBlobCache.cpp183 fchmod(fd, S_IRUSR); in writeToFile()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR); in FwdLockGlue_InitializeRoundKeys()
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DHdrTranscodeTests.cpp87 const int dstFd = open(dstPath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
DMediaTranscoderTests.cpp61 static constexpr int kFileMode = S_IRUSR | S_IWUSR;
/frameworks/av/media/libmediatranscoding/transcoder/tools/
DTranscode.cpp131 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/
DGameManagerSettings.java130 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
/frameworks/base/native/webview/loader/
Dloader.cpp110 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java444 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc108 perm |= S_IRUSR;
/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/rs/
DrsScriptC.cpp98 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
/frameworks/base/tools/aapt2/util/
DFiles.cpp126 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; in mkdirs()

12