Searched refs:SELinux (Results 1 – 21 of 21) 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;508 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
35 import android.os.SELinux;301 } 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
47 import android.os.SELinux;693 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
53 import android.os.SELinux;796 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
35 import android.os.SELinux;1062 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
75 import android.os.SELinux;268 SELinux.restorecon(changedFile); in onEvent()288 SELinux.restorecon(changedFile); in onEvent()783 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile()); in generateCrop()1795 SELinux.restorecon(f); in onUnlockUser()2472 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
52 import android.os.SELinux;960 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
60 import android.os.SELinux;752 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
63 import android.os.SELinux;2638 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()2644 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()2650 SELinux.setFSCreateContext(null); in writePackageListLPr()
74 import android.os.SELinux;1385 SELinux.restorecon(packagePath); in openIconFileForWrite()
63 import android.os.SELinux;2012 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
225 import android.os.SELinux;15798 if (!SELinux.restoreconRecursive(afterCodeFile)) {
64 import android.os.SELinux;794 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
2874 android.os.SELinux
56133 Landroid/os/SELinux;56134 Landroid/os/SELinux;-><init>()V56135 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;56136 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z56137 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z56138 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z56139 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I56140 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I56141 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I56142 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I[all …]
12115 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z12116 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z35371 Landroid/os/SELinux;