Home
last modified time | relevance | path

Searched refs:seLinuxContext (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/os/
DShellCallback.java38 public ParcelFileDescriptor openFile(String path, String seLinuxContext, in openFile() argument
40 return onOpenFile(path, seLinuxContext, mode); in openFile()
62 public ParcelFileDescriptor openFile(String path, String seLinuxContext, String mode) { in openFile() argument
67 return onOpenFile(path, seLinuxContext, mode); in openFile()
72 return mShellCallback.openFile(path, seLinuxContext, mode); in openFile()
80 public ParcelFileDescriptor onOpenFile(String path, String seLinuxContext, String mode) { in onOpenFile() argument
/frameworks/native/libs/binder/
DIShellCallback.cpp40 virtual int openFile(const String16& path, const String16& seLinuxContext, in openFile() argument
45 data.writeString16(seLinuxContext); in openFile()
67 String16 seLinuxContext(data.readString16()); in onTransact() local
69 int fd = openFile(path, seLinuxContext, mode); in onTransact()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java106 @Override public ParcelFileDescriptor onOpenFile(String path, String seLinuxContext, in onOpenFile() argument
126 if (seLinuxContext != null) { in onOpenFile()
128 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenFile()
135 + ", context " + seLinuxContext + ")"); in onOpenFile()
/frameworks/native/cmds/cmd/
Dcmd.cpp69 virtual int openFile(const String16& path, const String16& seLinuxContext, in openFile() argument
109 if (is_selinux_enabled() && seLinuxContext.size() > 0) { in openFile()
110 String8 seLinuxContext8(seLinuxContext); in openFile()
/frameworks/base/core/java/com/android/internal/os/
DIShellCallback.aidl23 ParcelFileDescriptor openFile(String path, String seLinuxContext, String mode); in openFile() argument
/frameworks/native/libs/binder/include/binder/
DIShellCallback.h30 virtual int openFile(const String16& path, const String16& seLinuxContext,