Lines Matching refs:jni_cache_
97 return {{nullptr, jni_cache_->GetEnv()}}; in AsUTF8String()
99 return jni_cache_->ConvertToJavaString(optional.value()); in AsUTF8String()
105 return {{nullptr, jni_cache_->GetEnv()}}; in AsInteger()
110 JniHelper::NewObject(jni_cache_->GetEnv(), integer_class_.get(), in AsInteger()
120 return {{nullptr, jni_cache_->GetEnv()}}; in AsStringArray()
125 JniHelper::NewObjectArray(jni_cache_->GetEnv(), values.size(), in AsStringArray()
126 jni_cache_->string_class.get(), nullptr)); in AsStringArray()
130 jni_cache_->ConvertToJavaString(values[k])); in AsStringArray()
132 jni_cache_->GetEnv(), result.get(), k, value_str.get())); in AsStringArray()
141 return {{nullptr, jni_cache_->GetEnv()}}; in AsFloatArray()
146 JniHelper::NewFloatArray(jni_cache_->GetEnv(), values.size())); in AsFloatArray()
149 jni_cache_->GetEnv(), result.get(), /*start=*/0, in AsFloatArray()
157 return {{nullptr, jni_cache_->GetEnv()}}; in AsIntArray()
162 JniHelper::NewIntArray(jni_cache_->GetEnv(), values.size())); in AsIntArray()
165 jni_cache_->GetEnv(), result.get(), /*start=*/0, in AsIntArray()
173 jni_cache_->ConvertToJavaString(name_str)); in AsNamedVariant()
175 JNIEnv* env = jni_cache_->GetEnv(); in AsNamedVariant()
205 jni_cache_->ConvertToJavaString(value.ConstRefValue<std::string>())); in AsNamedVariant()
262 JNIEnv* env = jni_cache_->GetEnv(); in AsNamedVariantArray()
269 JniHelper::NewObjectArray(jni_cache_->GetEnv(), values.size(), in AsNamedVariantArray()
290 JNIEnv* env = jni_cache_->GetEnv(); in RemoteActionTemplatesToJObjectArray()