Searched refs:SELinux (Results 1 – 19 of 19) sorted by relevance
25 import android.os.SELinux;122 final String tcon = SELinux.getFileContext(file.getAbsolutePath()); in onOpenFile()123 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenFile()
31 public class SELinux { class
21 import android.os.SELinux;138 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
85 import android.os.SELinux;585 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
35 import android.os.SELinux;304 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
31 // Security label, most commonly used for SELinux context data.
76 // is used for setting an SELinux security context on the process as well as
55 import android.os.SELinux;801 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
35 import android.os.SELinux;1062 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
77 import android.os.SELinux;271 SELinux.restorecon(changedFile); in onEvent()291 SELinux.restorecon(changedFile); in onEvent()786 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile()); in generateCrop()1820 SELinux.restorecon(f); in onUnlockUser()2512 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
47 import android.os.SELinux;893 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
53 import android.os.SELinux;1158 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
59 import android.os.SELinux;846 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
71 import android.os.SELinux;2694 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()2700 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()2706 SELinux.setFSCreateContext(null); in writePackageListLPr()
78 import android.os.SELinux;1412 SELinux.restorecon(packagePath); in openIconFileForWrite()
71 import android.os.SELinux;2468 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
73 import android.os.SELinux;784 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
4843 android.os.SELinux
16102 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z16103 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z45068 Landroid/os/SELinux;