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;556 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()
35 import android.os.SELinux;1062 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
53 import android.os.SELinux;798 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
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()1816 SELinux.restorecon(f); in onUnlockUser()2493 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
52 import android.os.SELinux;1147 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
59 import android.os.SELinux;758 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
63 import android.os.SELinux;2634 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()2640 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()2646 SELinux.setFSCreateContext(null); in writePackageListLPr()
74 import android.os.SELinux;1385 SELinux.restorecon(packagePath); in openIconFileForWrite()
66 import android.os.SELinux;2071 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
226 import android.os.SELinux;15328 if (!SELinux.restoreconRecursive(afterCodeFile)) {
64 import android.os.SELinux;794 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
2874 android.os.SELinux
52353 Landroid/os/SELinux;-><init>()V52354 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;52355 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z52356 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z52357 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z52358 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I52359 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I52360 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I52361 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I52362 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I[all …]
12115 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z12116 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z35370 Landroid/os/SELinux;