Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DFileUtils.java74 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
75 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
86 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
114 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/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.java279 setPermissions(mPermsList); in AppSecurityPermissions()
313 setPermissions(mPermsList); in AppSecurityPermissions()
618 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.java338 FileUtils.setPermissions(keyFile.toString(), in writeKey()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java286 FileUtils.setPermissions(publicZipFile.getAbsolutePath(), FileUtils.S_IRUSR in extractPublicFiles()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java551 FileUtils.setPermissions( in createFileOutputStream()
DContextImpl.java978 FileUtils.setPermissions( in openFileOutput()
1004 FileUtils.setPermissions( in createFilesDirLocked()
2369 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
2387 FileUtils.setPermissions(dir.getPath(), in validateFilePath()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java443 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in run()
621 FileUtils.setPermissions(FILE_WIFI_SUPPLICANT, in onRestoreFile()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java267 FileUtils.setPermissions(mSystemDir.toString(), in Settings()
274 FileUtils.setPermissions(mPackageListFilename, 0640, SYSTEM_UID, PACKAGE_INFO_GID); in Settings()
1385 FileUtils.setPermissions(userPackagesStateFile.toString(), in writePackageRestrictionsLPr()
1641 FileUtils.setPermissions(mSettingsFilename.toString(), in writeLPr()
1654 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writeLPr()
3058 FileUtils.setPermissions(path.toString(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in createNewUserLILPw()
DUserManagerService.java222 FileUtils.setPermissions(mUsersDir.toString(), in UserManagerService()
577 FileUtils.setPermissions( in writeBitmapLocked()
DPackageManagerService.java665 … FileUtils.setPermissions(file.getBaseFile().getPath(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writeInternal()
4196 FileUtils.setPermissions( in logCriticalInfo()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java852 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.java4762 FileUtils.setPermissions(tracesDir.getPath(), 0775, -1, -1); // drwxrwxr-x in dumpStackTraces()
4766 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in dumpStackTraces()
4872 FileUtils.setPermissions(tracesDir.getPath(), 0775, -1, -1); // drwxrwxr-x in logAppTooSlow()
4892 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()