Searched refs:seLinuxContext (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | ShellCallback.java | 38 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/ |
D | IShellCallback.cpp | 42 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/native/cmds/cmd/ |
D | cmd.cpp | 65 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) { in openOutputFile() argument 79 if (is_selinux_enabled() && seLinuxContext.size() > 0) { in openOutputFile() 80 String8 seLinuxContext8(seLinuxContext); in openOutputFile()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 146 @Override public ParcelFileDescriptor onOpenOutputFile(String path, String seLinuxContext) { in onOpenOutputFile() argument 165 if (seLinuxContext != null) { in onOpenOutputFile() 167 if (!SELinux.checkSELinuxAccess(seLinuxContext, tcon, "file", "write")) { in onOpenOutputFile() 174 + ", context " + seLinuxContext + ")"); in onOpenOutputFile()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | IShellCallback.aidl | 23 ParcelFileDescriptor openOutputFile(String path, String seLinuxContext); in openOutputFile() argument
|
/frameworks/native/libs/binder/include/binder/ |
D | IShellCallback.h | 32 virtual int openOutputFile(const String16& path, const String16& seLinuxContext) = 0;
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 300 @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()
|