Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DFileUtils.java92 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
93 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
104 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
132 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/com/android/internal/os/
DAtomicFile.java76 FileUtils.setPermissions( in startWrite()
/frameworks/base/core/java/android/util/
DAtomicFile.java110 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.java275 setPermissions(mPermsList); in AppSecurityPermissions()
309 setPermissions(mPermsList); in AppSecurityPermissions()
603 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.java434 FileUtils.setPermissions(mSystemDir.toString(), in Settings()
441 FileUtils.setPermissions(mPackageListFilename, 0640, SYSTEM_UID, PACKAGE_INFO_GID); in Settings()
2180 FileUtils.setPermissions(userPackagesStateFile.toString(), in writePackageRestrictionsLPr()
2586 FileUtils.setPermissions(mSettingsFilename.toString(), in writeLPr()
2734 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writePackageListLPr()
DUserManagerService.java463 FileUtils.setPermissions(mUsersDir.toString(), in UserManagerService()
1724 FileUtils.setPermissions( in writeBitmapLP()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java240 FileUtils.setPermissions( in getCacheDir()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java521 FileUtils.setPermissions(mFileName, FILE_MODE, -1, -1); in writeBufferedRawData()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java414 FileUtils.setPermissions(keyFile.toString(), in writeKey()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java635 FileUtils.setPermissions( in createFileOutputStream()
DContextImpl.java531 FileUtils.setPermissions( in openFileOutput()
760 FileUtils.setPermissions(dir.getPath(), in getDatabasePath()
2416 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java296 FileUtils.setPermissions(publicZipFile.getAbsolutePath(), FileUtils.S_IRUSR in extractPublicFiles()
/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.java1561 FileUtils.setPermissions( in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5472 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in dumpStackTraces()
5676 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()
/frameworks/base/api/
Dcurrent.txt57866 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.util.Set<java.nio.file.…
57867 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.nio.file.attribute.AclE…
57990 …method public abstract void setPermissions(java.util.Set<java.nio.file.attribute.PosixFilePermissi…
Dsystem-current.txt61774 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.util.Set<java.nio.file.…
61775 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.nio.file.attribute.AclE…
61898 …method public abstract void setPermissions(java.util.Set<java.nio.file.attribute.PosixFilePermissi…