Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.cc184 Json::Value jmessage; in OnIceCandidate() local
186 jmessage[kCandidateSdpMidName] = candidate->sdp_mid(); in OnIceCandidate()
187 jmessage[kCandidateSdpMlineIndexName] = candidate->sdp_mline_index(); in OnIceCandidate()
193 jmessage[kCandidateSdpName] = sdp; in OnIceCandidate()
194 SendMessage(writer.write(jmessage)); in OnIceCandidate()
255 Json::Value jmessage; in OnMessageFromPeer() local
256 if (!reader.parse(message, jmessage)) { in OnMessageFromPeer()
263 rtc::GetStringFromJsonObject(jmessage, kSessionDescriptionTypeName, &type); in OnMessageFromPeer()
277 if (!rtc::GetStringFromJsonObject(jmessage, kSessionDescriptionSdpName, in OnMessageFromPeer()
302 if (!rtc::GetStringFromJsonObject(jmessage, kCandidateSdpMidName, in OnMessageFromPeer()
[all …]
/external/libtextclassifier/actions/
Dactions_jni.cc190 ConversationMessage FromJavaConversationMessage(JNIEnv* env, jobject jmessage) { in FromJavaConversationMessage() argument
191 if (!jmessage) { in FromJavaConversationMessage()
200 env, jmessage, message_class.get(), &JNIEnv::CallObjectMethod, "getText", in FromJavaConversationMessage()
203 CallJniMethod0<int32>(env, jmessage, message_class.get(), in FromJavaConversationMessage()
206 env, jmessage, message_class.get(), &JNIEnv::CallLongMethod, in FromJavaConversationMessage()
209 CallJniMethod0<jobject>(env, jmessage, message_class.get(), in FromJavaConversationMessage()
214 env, jmessage, message_class.get(), &JNIEnv::CallObjectMethod, in FromJavaConversationMessage()
259 jobject jmessage = env->GetObjectArrayElement(jmessages, i); in FromJavaConversation() local
260 ConversationMessage message = FromJavaConversationMessage(env, jmessage); in FromJavaConversation()