Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_SELinux.cpp92 ScopedLocalRef<jstring> contextStr(env, NULL); in getPeerCon() local
94 contextStr.reset(env->NewStringUTF(context.get())); in getPeerCon()
98 return contextStr.release(); in getPeerCon()
110 static jboolean setFSCreateCon(JNIEnv *env, jobject, jstring contextStr) { in setFSCreateCon() argument
117 if (contextStr != NULL) { in setFSCreateCon()
118 context.reset(new ScopedUtfChars(env, contextStr)); in setFSCreateCon()
141 static jboolean setFileCon(JNIEnv *env, jobject, jstring pathStr, jstring contextStr) { in setFileCon() argument
151 ScopedUtfChars context(env, contextStr); in setFileCon()