Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp240 auto jArr = make_javaref(env, env->NewIntArray(vec.size())); in ArrayFromHal() local
241 auto jArrElements = env->GetIntArrayElements(jArr.get(), nullptr); in ArrayFromHal()
245 env->ReleaseIntArrayElements(jArr.get(), jArrElements, 0); in ArrayFromHal()
246 return jArr; in ArrayFromHal()
250 auto jArr = make_javaref(env, env->NewLongArray(vec.size())); in ArrayFromHal() local
251 auto jArrElements = env->GetLongArrayElements(jArr.get(), nullptr); in ArrayFromHal()
255 env->ReleaseLongArrayElements(jArr.get(), jArrElements, 0); in ArrayFromHal()
256 return jArr; in ArrayFromHal()
262 auto jArr = make_javaref(env, env->NewObjectArray(vec.size(), jElementClass, nullptr)); in ArrayFromHal() local
265 env->SetObjectArrayElement(jArr.get(), i, jElement.get()); in ArrayFromHal()
[all …]