Home
last modified time | relevance | path

Searched refs:S_IRWXU (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsConstantsTest.java218 assertFalse(S_ISLNK(OsConstants.S_IRWXU)); in test_S_ISLNK()
246 assertFalse(S_ISREG(OsConstants.S_IRWXU)); in test_S_ISREG()
274 assertFalse(S_ISDIR(OsConstants.S_IRWXU)); in test_S_ISDIR()
302 assertFalse(S_ISCHR(OsConstants.S_IRWXU)); in test_S_ISCHR()
330 assertFalse(S_ISBLK(OsConstants.S_IRWXU)); in test_S_ISBLK()
358 assertFalse(S_ISFIFO(OsConstants.S_IRWXU)); in test_S_ISFIFO()
386 assertFalse(S_ISSOCK(OsConstants.S_IRWXU)); in test_S_ISSOCK()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java125 /* mode= */ FileUtils.S_IRWXU | FileUtils.S_IRGRP | FileUtils.S_IROTH, in createNewFileWithPermissions()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c87 FwdLockGlue_CreateDirectories(strKeyFilename, S_IRWXU)) { in FwdLockGlue_InitializeRoundKeys()
/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java241 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH, -1, -1); in ensureBaseDirectory()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp115 testFd = open("/data/aaudio_temp.raw", O_CREAT | O_RDWR, S_IRWXU); in main()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java24 import static android.system.OsConstants.S_IRWXU;
300 Os.chmod(path.getPath(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in createNativeLibrarySubdir()
/frameworks/base/core/java/android/util/
DAtomicFile.java156 FileUtils.setPermissions(parent.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in startWrite()
/frameworks/native/cmds/rawbu/
Dbackup.cpp497 st->st_mode &= (S_IRWXU|S_IRWXG|S_IRWXO); in read_header()
594 if (chmod(path, statBuffer.st_mode&(S_IRWXU|S_IRWXG|S_IRWXO)) != 0) { in restore_data()
/frameworks/native/cmds/cmd/
Dcmd.cpp101 int fd = open(fullPath.c_str(), flags, S_IRWXU|S_IRWXG); in openFile()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageItem.java272 int fileMode = FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH; in getResilientFile()
DPackageManagerServiceUtils.java332 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IROTH, in logCriticalInfo()
DUserManagerService.java1066 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IROTH | FileUtils.S_IXOTH, in UserManagerService()
4041 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH, in writeBitmapLP()
4230 int fileMode = FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH; in getUserListFile()
4777 int fileMode = FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH; in getUserFile()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java85 FileUtils.S_IRWXU | FileUtils.S_IRWXG in GameManagerSettings()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java29 import static android.system.OsConstants.S_IRWXU;
355 int realMode = S_IRWXU | S_IRWXG; in openInternal()
DFileUtils.java104 /** {@hide} */ public static final int S_IRWXU = 00700; field in FileUtils
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayManagerImpl.java165 FileUtils.S_IRWXU, in ensureBaseDir()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java23 import static android.system.OsConstants.S_IRWXU;
338 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IRWXO, in getInstallablePackage()
342 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IRWXO, in getInstallablePackage()
464 S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, in assertInstall()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java719 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH, in createFileOutputStream()
DContextImpl.java793 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH, in openFileOutput()
1054 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH, in getDatabasePath()
3294 FileUtils.S_IRWXU|FileUtils.S_IRWXG|FileUtils.S_IXOTH); in getDir()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java792 public static final int S_IRWXU = placeholder(); field in OsConstants
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java781 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH, -1, -1); in createDiscreteAccessDir()
834 FileUtils.S_IRWXU | FileUtils.S_IRWXG | FileUtils.S_IXOTH, -1, -1); in createDiscreteAccessDirLocked()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp625 initConstant(env, c, "S_IRWXU", S_IRWXU); in OsConstants_initConstants()
/frameworks/native/cmds/installd/
Dutils.cpp1235 mode_t actual_mode = st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISGID); in prepare_app_cache_dir()
DInstalldNativeService.cpp3511 if (fs_prepare_dir(oat_dir, S_IRWXU | S_IRWXG | S_IXOTH, AID_SYSTEM, AID_INSTALL)) { in createOatDir()
3518 if (fs_prepare_dir(oat_instr_dir, S_IRWXU | S_IRWXG | S_IXOTH, AID_SYSTEM, AID_INSTALL)) { in createOatDir()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp165 return buf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISGID); in stat_mode()

12