Home
last modified time | relevance | path

Searched refs:SELinux (Results 1 – 23 of 23) 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/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java26 import android.os.SELinux;
94 if (!SELinux.restorecon(mDirectory)) { in start()
/frameworks/base/core/java/android/os/
DSELinux.java31 public class SELinux { class
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java22 import android.os.SELinux;
139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
DUserBackupManagerService.java87 import android.os.SELinux;
624 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java36 import android.os.SELinux;
306 } 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/java/com/android/internal/os/
DBatteryStatsHelper.java35 import android.os.SELinux;
688 + SELinux.getFileContext(pfd.getFileDescriptor())); in getStats()
/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;
917 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java80 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()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java61 import android.os.SELinux;
925 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
DSettings.java69 import android.os.SELinux;
2521 String ctx = SELinux.fileSelabelLookup(filename);
2527 if (!SELinux.setFSCreateContext(ctx)) {
2533 SELinux.setFSCreateContext(null);
DPackageInstallerSession.java110 import android.os.SELinux;
1492 if (!SELinux.restorecon(source)) { in stageViaHardLink()
DShortcutService.java84 import android.os.SELinux;
1479 SELinux.restorecon(packagePath); in openIconFileForWrite()
DUserManagerService.java71 import android.os.SELinux;
2590 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
DPackageManagerService.java279 import android.os.SELinux;
18774 if (!onIncremental && !SELinux.restoreconRecursive(afterCodeFile)) { in doRename()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java86 import android.os.SELinux;
845 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/boot/
Dpreloaded-classes5649 android.os.SELinux
Dboot-image-profile.txt29001 Landroid/os/SELinux;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt41798 Landroid/os/SELinux;-><init>()V
41799 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;
41800 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z
41801 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z
41802 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z
41803 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I
41804 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I
41805 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I
41806 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I
41807 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I
[all …]
/frameworks/base/config/
Dpreloaded-classes5647 android.os.SELinux
Dboot-image-profile.txt38638 Landroid/os/SELinux;