Home
last modified time | relevance | path

Searched refs:SELinux (Results 1 – 19 of 19) 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;
585 if (!SELinux.restorecon(mBaseStateDir)) { in UserBackupManagerService()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java35 import android.os.SELinux;
304 } 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/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java55 import android.os.SELinux;
801 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.java77 import android.os.SELinux;
271 SELinux.restorecon(changedFile); in onEvent()
291 SELinux.restorecon(changedFile); in onEvent()
786 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile()); in generateCrop()
1820 SELinux.restorecon(f); in onUnlockUser()
2512 if (!SELinux.restorecon(wallpaper.wallpaperFile)) { in updateWallpaperBitmapLocked()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java47 import android.os.SELinux;
893 if (!SELinux.restorecon(mBackupDataFile)) { in extractAgentData()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java53 import android.os.SELinux;
1158 if (!SELinux.restorecon(faceDir)) { in updateActiveGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java59 import android.os.SELinux;
846 if (!SELinux.restorecon(stageDir)) { in prepareStageDir()
DSettings.java71 import android.os.SELinux;
2694 String ctx = SELinux.fileSelabelLookup(filename); in writePackageListLPr()
2700 if (!SELinux.setFSCreateContext(ctx)) { in writePackageListLPr()
2706 SELinux.setFSCreateContext(null); in writePackageListLPr()
DShortcutService.java78 import android.os.SELinux;
1412 SELinux.restorecon(packagePath); in openIconFileForWrite()
DUserManagerService.java71 import android.os.SELinux;
2468 && tmp.renameTo(file) && SELinux.restorecon(file)) { in writeBitmapLP()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java73 import android.os.SELinux;
784 SELinux.restorecon(cacheDir); in getRingtoneCacheDir()
/frameworks/base/config/
Dpreloaded-classes4843 android.os.SELinux
Dboot-image-profile.txt16102 HSPLandroid/os/SELinux;->restorecon(Ljava/io/File;)Z
16103 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
45068 Landroid/os/SELinux;