Home
last modified time | relevance | path

Searched refs:setPermissions (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/os/
DFileUtils.java93 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
94 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
105 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
133 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { in setPermissions() method in FileUtils
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile()
120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/frameworks/base/core/java/android/util/
DAtomicFile.java108 FileUtils.setPermissions( in startWrite()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java76 FileUtils.setPermissions( in startWrite()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java237 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile()
240 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java276 setPermissions(mPermsList); in AppSecurityPermissions()
310 setPermissions(mPermsList); in AppSecurityPermissions()
604 private void setPermissions(List<MyPermissionInfo> permList) { in setPermissions() method in AppSecurityPermissions
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java61 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
DSettings.java411 FileUtils.setPermissions(mSystemDir.toString(), in Settings()
418 FileUtils.setPermissions(mPackageListFilename, 0640, SYSTEM_UID, PACKAGE_INFO_GID); in Settings()
2039 FileUtils.setPermissions(userPackagesStateFile.toString(), in writePackageRestrictionsLPr()
2398 FileUtils.setPermissions(mSettingsFilename.toString(), in writeLPr()
2498 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writePackageListLPr()
DUserManagerService.java429 FileUtils.setPermissions(mUsersDir.toString(), in UserManagerService()
1595 FileUtils.setPermissions( in writeBitmapLP()
DPackageManagerService.java6590 FileUtils.setPermissions( in logCriticalInfo()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java240 FileUtils.setPermissions( in getCacheDir()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java414 FileUtils.setPermissions(keyFile.toString(), in writeKey()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java554 FileUtils.setPermissions( in createFileOutputStream()
DContextImpl.java493 FileUtils.setPermissions( in openFileOutput()
689 FileUtils.setPermissions(dir.getPath(), in getDatabasePath()
2158 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java290 FileUtils.setPermissions(publicZipFile.getAbsolutePath(), FileUtils.S_IRUSR in extractPublicFiles()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java530 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in run()
760 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in onRestoreFile()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java306 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
310 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1459 FileUtils.setPermissions( in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5274 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in dumpStackTraces()
5408 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()