Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp230 auto runtimeExc = make_javaref(env, env->NewObject(gjni.RuntimeException.clazz, in ThrowParcelableRuntimeException()
232 auto parcelableExc = make_javaref(env, env->NewObject(gjni.ParcelableException.clazz, in ThrowParcelableRuntimeException()
240 auto jArr = make_javaref(env, env->NewIntArray(vec.size())); in ArrayFromHal()
250 auto jArr = make_javaref(env, env->NewLongArray(vec.size())); in ArrayFromHal()
262 auto jArr = make_javaref(env, env->NewObjectArray(vec.size(), jElementClass, nullptr)); in ArrayFromHal()
290 auto jString = make_javaref(env, CastToString(env, env->CallObjectMethod( in StringListToHal()
301 auto jInfo = make_javaref(env, env->NewObject(gjni.HashMap.clazz, gjni.HashMap.cstor)); in VendorInfoFromHal()
315 auto jInfoArr = make_javaref(env, static_cast<jobjectArray>(env->CallStaticObjectMethod( in VendorInfoToHal()
327 auto entry = make_javaref(env, static_cast<jobjectArray>( in VendorInfoToHal()
329 auto jKey = make_javaref(env, static_cast<jstring>( in VendorInfoToHal()
[all …]
DJavaRef.cpp24 return make_javaref(env, env->NewStringUTF(str.c_str())); in make_javastr()
DJavaRef.h32 JavaRef<T> make_javaref(JNIEnv *env, T ref) { in make_javaref() function
DBroadcastRadioService.cpp140 auto jModules = make_javaref(env, env->NewObject(gjni.ArrayList.clazz, gjni.ArrayList.cstor)); in nativeLoadModules()
247 auto tuner = make_javaref(env, env->NewObject(gjni.Tuner.clazz, gjni.Tuner.cstor, in nativeOpenTuner()
DTuner.cpp354 jList = make_javaref(env, env->NewObject(gjni.ArrayList.clazz, gjni.ArrayList.cstor)); in nativeGetProgramList()
384 jRawImage = make_javaref(env, env->NewByteArray(len)); in nativeGetImage()