Searched refs:SELinux (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/os/
H A DSELinux.java27 * SELinux interaction.
30 public class SELinux { class
31 private static final String TAG = "SELinux";
41 * Determine whether SELinux is disabled or enabled.
42 * @return a boolean indicating whether SELinux is enabled.
47 * Determine whether SELinux is permissive or enforcing.
48 * @return a boolean indicating whether SELinux is enforcing.
105 * Restores a file to its default SELinux security context.
106 * If the system is not compiled with SELinux, then {@code true}
108 * If SELinux i
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java25 import android.os.SELinux;
122 final String tcon = SELinux.getFileContext(file.getAbsolutePath());
123 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) {
/frameworks/base/services/backup/java/com/android/server/backup/
H A DKeyValueAdbBackupEngine.java19 import android.os.SELinux;
134 if (!SELinux.restorecon(mBackupDataName)) {
135 Slog.e(TAG, "SELinux restorecon failed on " + mBackupDataName);
H A DBackupManagerService.java77 import android.os.SELinux;
821 if (!SELinux.restorecon(mBaseStateDir)) {
822 Slog.e(TAG, "SELinux restorecon failed on " + mBaseStateDir);
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java35 import android.os.SELinux;
302 } else if (!SELinux.restorecon(path)) {
303 throw new IOException("Cannot set SELinux context for " + path.getPath());
/frameworks/base/services/backup/java/com/android/server/backup/internal/
H A DPerformBackupTask.java47 import android.os.SELinux;
704 if (!SELinux.restorecon(mBackupDataName)) {
705 Slog.e(TAG, "SELinux restorecon failed on " + mBackupDataName);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java60 import android.os.SELinux;
656 if (!SELinux.restorecon(stageDir)) {
H A DShortcutService.java73 import android.os.SELinux;
1377 SELinux.restorecon(packagePath);
H A DUserManagerService.java63 import android.os.SELinux;
1951 && tmp.renameTo(file) && SELinux.restorecon(file)) {
H A DPackageManagerService.java225 import android.os.SELinux;
3061 // SELinux domain.
15922 if (!SELinux.restoreconRecursive(afterCodeFile)) {
[all...]
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java74 import android.os.SELinux;
257 // has the right SELinux label.
261 SELinux.restorecon(changedFile);
281 SELinux.restorecon(changedFile);
285 // We also make sure to reapply the correct SELinux label.
767 boolean didRestorecon = SELinux.restorecon(wallpaper.cropFile.getAbsoluteFile());
1451 // Make sure that the SELinux labeling of all the relevant files is correct.
1464 SELinux.restorecon(f);
2097 if (!SELinux.restorecon(wallpaper.wallpaperFile)) {
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java62 import android.os.SELinux;
1523 if (!SELinux.restorecon(fpDir)) {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java61 import android.os.SELinux;
691 SELinux.restorecon(cacheDir);
/frameworks/base/config/
H A Dpreloaded-classes2552 android.os.SELinux
H A Dboot-image-profile.txt4387 HPLandroid/os/SELinux;->restoreconRecursive(Ljava/io/File;)Z
[all...]

Completed in 384 milliseconds