Home
last modified time | relevance | path

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

/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.java81 FileUtils.setPermissions( in startWrite()
DAtomicDirectory.java227 FileUtils.setPermissions(mBaseDirectory.getPath(), in getOrCreateBaseDirectory()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DUpdateInstaller.java123 FileUtils.setPermissions( in createNewFileWithPermissions()
/frameworks/base/core/java/android/util/
DAtomicFile.java134 FileUtils.setPermissions( in startWrite()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java61 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
DPackageManagerServiceUtils.java369 FileUtils.setPermissions( in logCriticalInfo()
DSettings.java393 FileUtils.setPermissions(mSystemDir.toString(), in Settings()
400 FileUtils.setPermissions(mPackageListFilename, 0640, SYSTEM_UID, PACKAGE_INFO_GID); in Settings()
2107 FileUtils.setPermissions(userPackagesStateFile.toString(), in writePackageRestrictionsLPr()
2503 FileUtils.setPermissions(mSettingsFilename.toString(), in writeLPr()
2671 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writePackageListLPrInternal()
DUserManagerService.java554 FileUtils.setPermissions(mUsersDir.toString(), in UserManagerService()
2064 FileUtils.setPermissions( in writeBitmapLP()
/frameworks/base/core/java/android/os/
DFileUtils.java141 public static int setPermissions(File path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
142 return setPermissions(path.getAbsolutePath(), mode, uid, gid); in setPermissions()
155 public static int setPermissions(String path, int mode, int uid, int gid) { in setPermissions() method in FileUtils
185 public static int setPermissions(FileDescriptor fd, int mode, int uid, int gid) { in setPermissions() method in FileUtils
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java446 FileUtils.setPermissions(dbPath, perms, -1, -1); in setFilePermissionsForDb()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java801 FileUtils.setPermissions(mFileName, FILE_MODE, -1, -1); in writeBufferedRawData()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java684 FileUtils.setPermissions( in createFileOutputStream()
DContextImpl.java625 FileUtils.setPermissions( in openFileOutput()
866 FileUtils.setPermissions(dir.getPath(), in getDatabasePath()
2705 FileUtils.setPermissions(name, perms, -1, -1); in setFilePermissionsFromMode()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1558 FileUtils.setPermissions(keyFile.toString(), in writeKey()
1583 FileUtils.setPermissions(keyFile.toString(), in writeKeys()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java320 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
324 FileUtils.setPermissions(outFile.getPath(), in getInstallablePackage()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2486 FileUtils.setPermissions( in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3873 FileUtils.setPermissions(anrFile.getAbsolutePath(), 0600, -1, -1); // -rw------- in createAnrDumpFile()
18975 delegate.setPermissions(permissions); in startDelegateShellPermissionIdentity()
19028 void setPermissions(@Nullable String[] permissions) { in setPermissions() method in ActivityManagerService.ShellDelegate
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java6044 FileUtils.setPermissions(tracesFile.getPath(), 0666, -1, -1); // -rw-rw-rw- in logAppTooSlow()
/frameworks/base/config/
Dboot-image-profile.txt11466 HSPLandroid/os/FileUtils;->setPermissions(Ljava/io/File;III)I
11467 HSPLandroid/os/FileUtils;->setPermissions(Ljava/io/FileDescriptor;III)I
11468 HSPLandroid/os/FileUtils;->setPermissions(Ljava/lang/String;III)I
Dhiddenapi-greylist-max-o.txt80807 Landroid/widget/AppSecurityPermissions;->setPermissions(Ljava/util/List;)V
/frameworks/base/non-updatable-api/
Dcurrent.txt65197 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.util.Set<java.nio.file.…
65198 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.nio.file.attribute.AclE…
65310 …method public void setPermissions(java.util.Set<java.nio.file.attribute.PosixFilePermission>) thro…
/frameworks/base/api/
Dcurrent.txt65341 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.util.Set<java.nio.file.…
65342 …method public java.nio.file.attribute.AclEntry.Builder setPermissions(java.nio.file.attribute.AclE…
65454 …method public void setPermissions(java.util.Set<java.nio.file.attribute.PosixFilePermission>) thro…