Searched refs:SELinux (Results 1 – 18 of 18) 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()
30 public class SELinux { class
19 import android.os.SELinux;134 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
77 import android.os.SELinux;821 if (!SELinux.restorecon(mBaseStateDir)) { in BackupManagerService()
35 import android.os.SELinux;302 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
31 // Security label, most commonly used for SELinux context data.
74 import android.os.SELinux;261 SELinux.restorecon(changedFile); in onEvent()281 SELinux.restorecon(changedFile); in onEvent()767 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile()); in generateCrop()1464 SELinux.restorecon(f); in onUnlockUser()2097 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
47 import android.os.SELinux;704 if (!SELinux.restorecon(mBackupDataName)) { in invokeAgentForBackup()
42 …ation is writable by adb, SELinux policies prevent mapping code located here as executable. So to …
60 import android.os.SELinux;656 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
73 import android.os.SELinux;1377 SELinux.restorecon(packagePath); in openIconFileForWrite()
63 import android.os.SELinux;1951 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
225 import android.os.SELinux;15922 if (!SELinux.restoreconRecursive(afterCodeFile)) {
62 import android.os.SELinux;1523 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
61 import android.os.SELinux;691 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
4197 Landroid/os/SELinux;->checkSELinuxAccess(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljav…4198 Landroid/os/SELinux;->getContext()Ljava/lang/String;4199 Landroid/os/SELinux;->getFileContext(Ljava/lang/String;)Ljava/lang/String;4200 Landroid/os/SELinux;->getPidContext(I)Ljava/lang/String;4201 Landroid/os/SELinux;->isSELinuxEnabled()Z4202 Landroid/os/SELinux;->isSELinuxEnforced()Z4203 Landroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
2552 android.os.SELinux
4387 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z28421 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z57242 Landroid/os/SELinux;