Home
last modified time | relevance | path

Searched refs:restorecon (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/os/
DSELinux.java139 public static boolean restorecon(String pathname) throws NullPointerException { in restorecon() method in SELinux
167 public static boolean restorecon(File file) throws NullPointerException { in restorecon() method in SELinux
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java103 if (!SELinux.restorecon(mDirectory)) { in start()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
DUserBackupManagerService.java604 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java305 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java321 SELinux.restorecon(changedFile); in updateWallpapers()
1782 SELinux.restorecon(file); in onUnlockUser()
3043 SELinux.restorecon(lockWP.getWallpaperFile()); in migrateStaticSystemToLockWallpaperLocked()
3066 if (!SELinux.restorecon(wallpaper.getWallpaperFile())) { in updateWallpaperBitmapLocked()
DWallpaperCropper.java797 boolean didRestorecon = SELinux.restorecon(wallpaper.getCropFile().getAbsoluteFile()); in generateCropInternal()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java929 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp563 auto restorecon = [path, seInfo, uid]() { in restorecon_app_data_lazy() local
580 std::thread(restorecon).detach(); in restorecon_app_data_lazy()
582 if (int result = restorecon(); result) { in restorecon_app_data_lazy()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1645 if (!SELinux.restorecon(targetFile)) { in linkFilesAndSetModes()
DPackageArchiver.java1366 SELinux.restorecon(iconsDir); in createIconsDir()
DPackageInstallerService.java1280 if (!SELinux.restorecon(stageDir)) {
DShortcutService.java1507 SELinux.restorecon(packagePath); in openIconFileForWrite()
DPackageInstallerSession.java1913 if (!SELinux.restorecon(source)) { in stageViaHardLink()
DUserManagerService.java4046 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java881 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37835 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z
37836 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z