Searched refs:restorecon (Results 1 – 17 of 17) sorted by relevance
139 public static boolean restorecon(String pathname) throws NullPointerException { in restorecon() method in SELinux167 public static boolean restorecon(File file) throws NullPointerException { in restorecon() method in SELinux
103 if (!SELinux.restorecon(mDirectory)) { in start()
139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
604 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
305 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
321 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()
797 boolean didRestorecon = SELinux.restorecon(wallpaper.getCropFile().getAbsoluteFile()); in generateCropInternal()
929 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
563 auto restorecon = [path, seInfo, uid]() { in restorecon_app_data_lazy() local580 std::thread(restorecon).detach(); in restorecon_app_data_lazy()582 if (int result = restorecon(); result) { in restorecon_app_data_lazy()
1645 if (!SELinux.restorecon(targetFile)) { in linkFilesAndSetModes()
1366 SELinux.restorecon(iconsDir); in createIconsDir()
1280 if (!SELinux.restorecon(stageDir)) {
1507 SELinux.restorecon(packagePath); in openIconFileForWrite()
1913 if (!SELinux.restorecon(source)) { in stageViaHardLink()
4046 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
881 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
37835 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z37836 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z