Home
last modified time | relevance | path

Searched refs:S_IRGRP (Results 1 – 25 of 29) 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()
Ddexopt.cpp928 if (fchmod(output_fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) < 0) { in dump_profiles()
1079 S_IRUSR|S_IWUSR|S_IRGRP | in set_permissions_and_ownership()
DInstalldNativeService.cpp2384 if (fchmod(idmap_fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in idmap()
/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.cpp79 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters.cpp111 if (chmod(kLastBootFile, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) { in storeParameters()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java125 /* mode= */ FileUtils.S_IRWXU | FileUtils.S_IRGRP | FileUtils.S_IROTH, in createNewFileWithPermissions()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java22 import static android.system.OsConstants.S_IRGRP;
296 Os.chmod(path.getPath(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in createNativeLibrarySubdir()
/frameworks/base/cmds/idmap/
Dcreate.cpp40 if (fchmod(fd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0) { in open_idmap()
Dscan.cpp70 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 in writePackagesList()
/frameworks/native/services/surfaceflinger/
DSurfaceTracing.cpp186 if (!android::base::WriteStringToFile(output, kDefaultFileName, S_IRWXU | S_IRGRP, getuid(), in writeProtoFileLocked()
/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.java445 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc114 perm |= S_IRGRP;
/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/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp55 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in OpenForWrite()
Ddumpstate_test.cpp1380 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in CreateFd()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java678 FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP, -1, -1); in writeKey()
703 FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP, -1, -1); in writeKeys()
/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/
Dutils.cpp789 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)); in _redirect_to_file()
Ddumpstate.cpp1292 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))); in DumpHals()
1837 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH))); in DumpstateBoard()
/frameworks/base/core/java/android/os/
DFileUtils.java98 /** {@hide} */ public static final int S_IRGRP = 00040; field in FileUtils
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java21 import static android.system.OsConstants.S_IRGRP;
446 S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, in assertInstall()
/frameworks/base/core/java/android/app/
DContextImpl.java2634 |FileUtils.S_IRGRP|FileUtils.S_IWGRP in setFilePermissionsFromMode()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java2113 |FileUtils.S_IRGRP|FileUtils.S_IWGRP, in writePackageRestrictionsLPr()
2509 |FileUtils.S_IRGRP|FileUtils.S_IWGRP, in writeLPr()

12