Home
last modified time | relevance | path

Searched refs:SELinux (Results 1 – 21 of 21) 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.java31 public class SELinux { class
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java21 import android.os.SELinux;
138 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
DUserBackupManagerService.java85 import android.os.SELinux;
508 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java35 import android.os.SELinux;
301 } 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/core/proto/android/content/
Dpackage_item_info.proto76 // is used for setting an SELinux security context on the process as well as
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java47 import android.os.SELinux;
693 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java53 import android.os.SELinux;
796 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java35 import android.os.SELinux;
1062 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java75 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()
1795 SELinux.restorecon(f); in onUnlockUser()
2472 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java52 import android.os.SELinux;
960 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java60 import android.os.SELinux;
752 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
DSettings.java63 import android.os.SELinux;
2638 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()
2644 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()
2650 SELinux.setFSCreateContext(null); in writePackageListLPr()
DShortcutService.java74 import android.os.SELinux;
1385 SELinux.restorecon(packagePath); in openIconFileForWrite()
DUserManagerService.java63 import android.os.SELinux;
2012 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
DPackageManagerService.java225 import android.os.SELinux;
15798 if (!SELinux.restoreconRecursive(afterCodeFile)) {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java64 import android.os.SELinux;
794 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/config/
Dpreloaded-classes2874 android.os.SELinux
Dhiddenapi-greylist-max-o.txt56133 Landroid/os/SELinux;
56134 Landroid/os/SELinux;-><init>()V
56135 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;
56136 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z
56137 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z
56138 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z
56139 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I
56140 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I
56141 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I
56142 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I
[all …]
Dboot-image-profile.txt12115 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z
12116 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
35371 Landroid/os/SELinux;