Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 36) 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()
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/core/jni/
Dandroid_server_Watchdog.cpp68 S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); in dumpKernelStacks()
Dcom_android_internal_content_NativeLibraryHelper.cpp284 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in copyFileIfChanged()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp119 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
Drecordvideo.cpp311 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
Dmuxer.cpp79 int fd = open(outputFileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in muxing()
Dstagefright.cpp515 …int fd = open(gWriteMP4Filename.string(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IW… in writeSourcesToMP4()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/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/base/cmds/idmap/
Dcreate.cpp40 if (fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in open_idmap()
Dscan.cpp52 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 in writePackagesList()
/frameworks/webview/chromium/loader/
Dloader.cpp98 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
/frameworks/base/tools/aapt2/util/
DFiles.cpp93 return mkdir(path.toString().c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in mkdirImpl()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp282 fchmod(fd, S_IRUSR); in saveBlobCacheLocked()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc108 perm |= S_IRUSR;
/frameworks/rs/
DrsScriptC.cpp103 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java415 FileUtils.S_IRUSR | FileUtils.S_IWUSR | in writeKey()
/frameworks/native/cmds/installd/
Dcommands.cpp1275 if (fchmod(output_fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) < 0) { in dump_profile()
1348 S_IRUSR|S_IWUSR|S_IRGRP | in set_permissions_and_ownership()
1772 if (fchmod(idmap_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in idmap()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java290 FileUtils.setPermissions(publicZipFile.getAbsolutePath(), FileUtils.S_IRUSR in extractPublicFiles()
/frameworks/base/core/java/android/os/
DFileUtils.java61 public static final int S_IRUSR = 00400; field in FileUtils
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java531 FileUtils.S_IRUSR | FileUtils.S_IWUSR in run()
761 FileUtils.S_IRUSR | FileUtils.S_IWUSR in onRestoreFile()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp643 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in recordScreen()
/frameworks/av/media/mtp/
DMtpDevice.cpp654 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in readObject()

12