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;
556 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/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/biometrics/fingerprint/
DFingerprintService.java53 import android.os.SELinux;
798 if (!SELinux.restorecon(fpDir)) { in updateActiveGroup()
/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()
1816 SELinux.restorecon(f); in onUnlockUser()
2493 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java52 import android.os.SELinux;
1147 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java59 import android.os.SELinux;
758 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
DSettings.java63 import android.os.SELinux;
2634 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()
2640 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()
2646 SELinux.setFSCreateContext(null); in writePackageListLPr()
DShortcutService.java74 import android.os.SELinux;
1385 SELinux.restorecon(packagePath); in openIconFileForWrite()
DUserManagerService.java66 import android.os.SELinux;
2071 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
DPackageManagerService.java226 import android.os.SELinux;
15328 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.txt52353 Landroid/os/SELinux;-><init>()V
52354 Landroid/os/SELinux;->getPeerContext(Ljava/io/FileDescriptor;)Ljava/lang/String;
52355 Landroid/os/SELinux;->native_restorecon(Ljava/lang/String;I)Z
52356 Landroid/os/SELinux;->restorecon(Ljava/io/File;)Z
52357 Landroid/os/SELinux;->restorecon(Ljava/lang/String;)Z
52358 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_DATADATA:I
52359 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_FORCE:I
52360 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_NOCHANGE:I
52361 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_RECURSE:I
52362 Landroid/os/SELinux;->SELINUX_ANDROID_RESTORECON_VERBOSE:I
[all …]
Dboot-image-profile.txt12115 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z
12116 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
35370 Landroid/os/SELinux;