Searched refs:SELinux (Results 1 – 25 of 27) sorted by relevance
12
25 import android.os.SELinux;127 final String tcon = SELinux.getFileContext(file.getAbsolutePath()); in onOpenFile()128 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenFile()
25 import android.os.SELinux;103 if (!SELinux.restorecon(mDirectory)) { in start()
31 public class SELinux { class
21 import android.os.SELinux;139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
90 import android.os.SELinux;604 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
32 * Logs SELinux audit messages.
36 import android.os.SELinux;305 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
31 // Security label, most commonly used for SELinux context data.
77 // is used for setting an SELinux security context on the process as well as
36 import android.os.SELinux;797 boolean didRestorecon = SELinux.restorecon(wallpaper.getCropFile().getAbsoluteFile()); in generateCropInternal()
99 import android.os.SELinux;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()
45 import android.os.SELinux;929 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
91 import android.os.SELinux;1280 if (!SELinux.restorecon(stageDir)) {1282 String ctx = SELinux.fileSelabelLookup(path);1283 boolean success = SELinux.setFileContext(path, ctx);
73 import android.os.SELinux;1645 if (!SELinux.restorecon(targetFile)) { in linkFilesAndSetModes()
87 import android.os.SELinux;1366 SELinux.restorecon(iconsDir); in createIconsDir()
69 import android.os.SELinux;2976 String ctx = SELinux.fileSelabelLookup(filename);2982 if (!SELinux.setFSCreateContext(ctx)) {2988 SELinux.setFSCreateContext(null);
90 import android.os.SELinux;1507 SELinux.restorecon(packagePath); in openIconFileForWrite()
138 import android.os.SELinux;2004 if (!onIncremental && !SELinux.restoreconRecursive(afterCodeFile)) { in doRenameLI()
139 import android.os.SELinux;1913 if (!SELinux.restorecon(source)) { in stageViaHardLink()
113 import android.os.SELinux;4046 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
98 import android.os.SELinux;881 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
37832 Landroid/os/SELinux;-><init>()V37833 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;37834 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z37835 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z37836 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z37837 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I37838 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I37839 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I37840 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I37841 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I[all …]
6265 android.os.SELinux
6269 android.os.SELinux
1137 extensions 799; // SELinux selinux_audit_log