Searched refs:SELinux (Results 1 – 23 of 23) 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()
26 import android.os.SELinux;94 if (!SELinux.restorecon(mDirectory)) { in start()
31 public class SELinux { class
22 import android.os.SELinux;139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
87 import android.os.SELinux;624 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
36 import android.os.SELinux;306 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
31 // Security label, most commonly used for SELinux context data.
35 import android.os.SELinux;688 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
76 // is used for setting an SELinux security context on the process as well as
47 import android.os.SELinux;917 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
80 import android.os.SELinux;276 SELinux.restorecon(changedFile); in onEvent()296 SELinux.restorecon(changedFile); in onEvent()769 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile()); in generateCrop()1851 SELinux.restorecon(f); in onUnlockUser()2705 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
61 import android.os.SELinux;925 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
69 import android.os.SELinux;2521 String ctx = SELinux.fileSelabelLookup(filename);2527 if (!SELinux.setFSCreateContext(ctx)) {2533 SELinux.setFSCreateContext(null);
110 import android.os.SELinux;1492 if (!SELinux.restorecon(source)) { in stageViaHardLink()
84 import android.os.SELinux;1479 SELinux.restorecon(packagePath); in openIconFileForWrite()
71 import android.os.SELinux;2590 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
279 import android.os.SELinux;18774 if (!onIncremental && !SELinux.restoreconRecursive(afterCodeFile)) { in doRename()
86 import android.os.SELinux;845 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
5649 android.os.SELinux
29001 Landroid/os/SELinux;
41798 Landroid/os/SELinux;-><init>()V41799 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;41800 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z41801 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z41802 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z41803 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I41804 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I41805 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I41806 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I41807 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I[all …]
5647 android.os.SELinux
38638 Landroid/os/SELinux;