Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DShellCallback.java38 public ParcelFileDescriptor openOutputFile(String path, String seLinuxContext) { in openOutputFile() argument
39 return onOpenOutputFile(path, seLinuxContext); in openOutputFile()
57 public ParcelFileDescriptor openOutputFile(String path, String seLinuxContext) { in openOutputFile() argument
62 return onOpenOutputFile(path, seLinuxContext); in openOutputFile()
67 return mShellCallback.openOutputFile(path, seLinuxContext); in openOutputFile()
75 public ParcelFileDescriptor onOpenOutputFile(String path, String seLinuxContext) { in onOpenOutputFile() argument
/frameworks/native/libs/binder/
DIShellCallback.cpp42 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) { in openOutputFile() argument
46 data.writeString16(seLinuxContext); in openOutputFile()
66 String16 seLinuxContext(data.readString16()); in onTransact() local
67 int fd = openOutputFile(path, seLinuxContext); in onTransact()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java101 @Override public ParcelFileDescriptor onOpenOutputFile(String path, String seLinuxContext) { in onOpenOutputFile() argument
120 if (seLinuxContext != null) { in onOpenOutputFile()
122 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenOutputFile()
129 + ", context " + seLinuxContext + ")"); in onOpenOutputFile()
/frameworks/native/cmds/cmd/
Dcmd.cpp64 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) { in openOutputFile() argument
78 if (is_selinux_enabled() && seLinuxContext.size() > 0) { in openOutputFile()
79 String8 seLinuxContext8(seLinuxContext); in openOutputFile()
/frameworks/base/core/java/com/android/internal/os/
DIShellCallback.aidl23 ParcelFileDescriptor openOutputFile(String path, String seLinuxContext); in openOutputFile() argument
/frameworks/native/libs/binder/include/binder/
DIShellCallback.h32 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) = 0;
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java300 @Override public ParcelFileDescriptor onOpenOutputFile(String path, String seLinuxContext) { in onOpenOutputFile() argument
313 if (seLinuxContext != null) { in onOpenOutputFile()
315 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenOutputFile()
322 + ", context " + seLinuxContext + ")"); in onOpenOutputFile()