Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java25 import android.os.SELinux;
127 final String tcon = SELinux.getFileContext(file.getAbsolutePath()); in onOpenFile()
128 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenFile()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java25 import android.os.SELinux;
103 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.java21 import android.os.SELinux;
139 if (!SELinux.restorecon(mBackupDataName)) { in prepareBackupFiles()
DUserBackupManagerService.java90 import android.os.SELinux;
604 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
/frameworks/proto_logging/stats/atoms/selinux/
Dselinux_extension_atoms.proto32 * Logs SELinux audit messages.
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java36 import android.os.SELinux;
305 } 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.proto77 // is used for setting an SELinux security context on the process as well as
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java36 import android.os.SELinux;
797 boolean didRestorecon = SELinux.restorecon(wallpaper.getCropFile().getAbsoluteFile()); in generateCropInternal()
DWallpaperManagerService.java99 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()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java45 import android.os.SELinux;
929 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java91 import android.os.SELinux;
1280 if (!SELinux.restorecon(stageDir)) {
1282 String ctx = SELinux.fileSelabelLookup(path);
1283 boolean success = SELinux.setFileContext(path, ctx);
DPackageManagerServiceUtils.java73 import android.os.SELinux;
1645 if (!SELinux.restorecon(targetFile)) { in linkFilesAndSetModes()
DPackageArchiver.java87 import android.os.SELinux;
1366 SELinux.restorecon(iconsDir); in createIconsDir()
DSettings.java69 import android.os.SELinux;
2976 String ctx = SELinux.fileSelabelLookup(filename);
2982 if (!SELinux.setFSCreateContext(ctx)) {
2988 SELinux.setFSCreateContext(null);
DShortcutService.java90 import android.os.SELinux;
1507 SELinux.restorecon(packagePath); in openIconFileForWrite()
DInstallPackageHelper.java138 import android.os.SELinux;
2004 if (!onIncremental && !SELinux.restoreconRecursive(afterCodeFile)) { in doRenameLI()
DPackageInstallerSession.java139 import android.os.SELinux;
1913 if (!SELinux.restorecon(source)) { in stageViaHardLink()
DUserManagerService.java113 import android.os.SELinux;
4046 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java98 import android.os.SELinux;
881 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37832 Landroid/os/SELinux;-><init>()V
37833 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;
37834 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z
37835 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z
37836 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z
37837 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I
37838 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I
37839 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I
37840 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I
37841 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I
[all …]
/frameworks/base/boot/
Dpreloaded-classes6265 android.os.SELinux
/frameworks/base/config/
Dpreloaded-classes6269 android.os.SELinux
/frameworks/proto_logging/stats/
Datoms.proto1137 extensions 799; // SELinux selinux_audit_log

12