Lines Matching refs:jni_cache_
81 return jni_cache_->ConvertToJavaString(optional.value()).release(); in AsUTF8String()
87 ? jni_cache_->GetEnv()->NewObject(integer_class_.get(), in AsInteger()
97 jobjectArray result = jni_cache_->GetEnv()->NewObjectArray( in AsStringArray()
98 values.size(), jni_cache_->string_class.get(), nullptr); in AsStringArray()
104 jni_cache_->ConvertToJavaString(values[k]); in AsStringArray()
105 jni_cache_->GetEnv()->SetObjectArrayElement(result, k, value_str.get()); in AsStringArray()
112 ScopedLocalRef<jstring> name = jni_cache_->ConvertToJavaString(name_str); in AsNamedVariant()
118 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
122 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
126 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
130 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
134 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
139 jni_cache_->ConvertToJavaString(value.StringValue()); in AsNamedVariant()
143 return jni_cache_->GetEnv()->NewObject(named_variant_class_.get(), in AsNamedVariant()
157 jobjectArray result = jni_cache_->GetEnv()->NewObjectArray( in AsNamedVariantArray()
167 jni_cache_->GetEnv()); in AsNamedVariantArray()
171 jni_cache_->GetEnv()->SetObjectArrayElement(result, element_index, in AsNamedVariantArray()
180 const jobjectArray results = jni_cache_->GetEnv()->NewObjectArray( in RemoteActionTemplatesToJObjectArray()
203 jni_cache_->GetEnv()->NewObject( in RemoteActionTemplatesToJObjectArray()
208 jni_cache_->GetEnv()); in RemoteActionTemplatesToJObjectArray()
212 jni_cache_->GetEnv()->SetObjectArrayElement(results, i, result.get()); in RemoteActionTemplatesToJObjectArray()