Home
last modified time | relevance | path

Searched refs:contextStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_SELinux.cpp150 ScopedLocalRef<jstring> contextStr(env, NULL); in getFdConInner() local
152 contextStr.reset(env->NewStringUTF(context.get())); in getFdConInner()
156 return contextStr.release(); in getFdConInner()
192 static jboolean setFSCreateCon(JNIEnv *env, jobject, jstring contextStr) { in setFSCreateCon() argument
199 if (contextStr != NULL) { in setFSCreateCon()
200 context.reset(new ScopedUtfChars(env, contextStr)); in setFSCreateCon()
223 static jboolean setFileCon(JNIEnv *env, jobject, jstring pathStr, jstring contextStr) { in setFileCon() argument
233 ScopedUtfChars context(env, contextStr); in setFileCon()
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp74 std::string contextStr = contextToString(context); in getBinderPidInfo() local
75 status_t ret = scanBinderContext(pid, contextStr, [&](const std::string& line) { in getBinderPidInfo()
137 std::string contextStr = contextToString(context); in getBinderClientPids() local
139 status_t ret = scanBinderContext(pid, contextStr, [&](const std::string& line) { in getBinderClientPids()
165 ret = scanBinderContext(servicePid, contextStr, [&](const std::string& line) { in getBinderClientPids()