Home
last modified time | relevance | path

Searched refs:SELinux (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java25 import android.os.SELinux;
122 final String tcon = SELinux.getFileContext(file.getAbsolutePath()); in onOpenFile()
123 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenFile()
/frameworks/base/core/java/android/os/
DSELinux.java30 public class SELinux { class
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java19 import android.os.SELinux;
134 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
DBackupManagerService.java77 import android.os.SELinux;
821 if (!SELinux.restorecon(mBaseStateDir)) { in BackupManagerService()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java35 import android.os.SELinux;
302 } else if (!SELinux.restorecon(path)) { in createNativeLibrarySubdir()
/frameworks/base/core/proto/android/os/
Dps.proto31 // Security label, most commonly used for SELinux context data.
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java74 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()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformBackupTask.java47 import android.os.SELinux;
704 if (!SELinux.restorecon(mBackupDataName)) { in invokeAgentForBackup()
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc42 …ation is writable by adb, SELinux policies prevent mapping code located here as executable. So to …
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java60 import android.os.SELinux;
656 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
DShortcutService.java73 import android.os.SELinux;
1377 SELinux.restorecon(packagePath); in openIconFileForWrite()
DUserManagerService.java63 import android.os.SELinux;
1951 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
DPackageManagerService.java225 import android.os.SELinux;
15922 if (!SELinux.restoreconRecursive(afterCodeFile)) {
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java62 import android.os.SELinux;
1523 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java61 import android.os.SELinux;
691 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4197 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()Z
4202 Landroid/os/SELinux;->isSELinuxEnforced()Z
4203 Landroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
Dpreloaded-classes2552 android.os.SELinux
Dboot-image-profile.txt4387 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
28421 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z
57242 Landroid/os/SELinux;