Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/idmap/
Dscan.cpp51 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 in writePackagesList()
70 S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IXOTH; in mkdir_p()
Dcreate.cpp39 if (fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in open_idmap()
/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.cpp258 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in copyFileIfChanged()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/frameworks/av/media/libstagefright/
DAMRWriter.cpp41 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in AMRWriter()
DAACWriter.cpp51 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in AACWriter()
DMPEG4Writer.cpp367 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in MPEG4Writer()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc110 perm |= S_IWUSR;
/frameworks/rs/
DrsScriptC.cpp81 if (mkdir(currentDir.string(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java339 FileUtils.S_IRUSR | FileUtils.S_IWUSR | in writeKey()
/frameworks/base/core/java/android/os/
DFileUtils.java50 public static final int S_IWUSR = 00200; field in FileUtils
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java287 | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IROTH, -1, -1); in extractPublicFiles()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java444 FileUtils.S_IRUSR | FileUtils.S_IWUSR | in run()
622 FileUtils.S_IRUSR | FileUtils.S_IWUSR | in onRestoreFile()
/frameworks/base/tools/aidl/
Daidl.cpp754 mkdir(p.data(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP);
1113 S_IRUSR|S_IWUSR|S_IRGRP);
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp100 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in WebmWriter()
/frameworks/native/cmds/installd/
Dcommands.c976 S_IRUSR|S_IWUSR|S_IRGRP | in dexopt()
1512 if (fchmod(idmap_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in idmap()
/frameworks/native/cmds/dumpstate/
Dutils.c446 int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in redirect_to_file()
/frameworks/av/media/mtp/
DMtpDevice.cpp680 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in readObject()
DMtpServer.cpp1004 mfr.fd = open(mSendObjectFilePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in doSendObject()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1386 FileUtils.S_IRUSR|FileUtils.S_IWUSR in writePackageRestrictionsLPr()
1642 FileUtils.S_IRUSR|FileUtils.S_IWUSR in writeLPr()
/frameworks/base/core/java/android/app/
DContextImpl.java2356 int perms = FileUtils.S_IRUSR|FileUtils.S_IWUSR in setFilePermissionsFromMode()

12