Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DFileUtils.java83 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
84 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
95 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
123 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.java129 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile()
132 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/com/android/internal/os/
DAtomicFile.java76 FileUtils.setPermissions( in startWrite()
/frameworks/base/core/java/android/util/
DAtomicFile.java108 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.java272 setPermissions(mPermsList); in AppSecurityPermissions()
306 setPermissions(mPermsList); in AppSecurityPermissions()
600 private void setPermissions(List<MyPermissionInfo> permList) { in setPermissions() method in AppSecurityPermissions
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java236 FileUtils.setPermissions( in getCacheDir()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java413 FileUtils.setPermissions(keyFile.toString(), in writeKey()
/frameworks/base/core/java/android/app/
DContextImpl.java401 FileUtils.setPermissions( in openFileOutput()
427 FileUtils.setPermissions( in createFilesDirLocked()
1914 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
1932 FileUtils.setPermissions(dir.getPath(), in validateFilePath()
DSharedPreferencesImpl.java554 FileUtils.setPermissions( in createFileOutputStream()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java287 FileUtils.setPermissions(publicZipFile.getAbsolutePath(), FileUtils.S_IRUSR in extractPublicFiles()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java486 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in run()
674 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in onRestoreFile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java224 FileUtils.setPermissions(mUsersDir.toString(), in UserManagerService()
681 FileUtils.setPermissions( in writeBitmapLocked()
1908 if (FileUtils.setPermissions(file.getAbsolutePath(), 0771, Process.SYSTEM_UID, in prepareUserDirectory()
DSettings.java350 FileUtils.setPermissions(mSystemDir.toString(), in Settings()
357 FileUtils.setPermissions(mPackageListFilename, 0640, SYSTEM_UID, PACKAGE_INFO_GID); in Settings()
1839 FileUtils.setPermissions(userPackagesStateFile.toString(), in writePackageRestrictionsLPr()
2184 FileUtils.setPermissions(mSettingsFilename.toString(), in writeLPr()
2236 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writePackageListLPr()
DPackageManagerService.java1006 … FileUtils.setPermissions(file.getBaseFile().getPath(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writeInternal()
5670 FileUtils.setPermissions( in logCriticalInfo()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java879 FileUtils.setPermissions( in updateWallpaperBitmapLocked()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java305 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
309 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4725 FileUtils.setPermissions(tracesDir.getPath(), 0775, -1, -1); // drwxrwxr-x in dumpStackTraces()
4729 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in dumpStackTraces()
4835 FileUtils.setPermissions(tracesDir.getPath(), 0775, -1, -1); // drwxrwxr-x in logAppTooSlow()
4855 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()