Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DInterpolator.cpp21 … jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray ble… in Interpolator_setKeyFrame() argument
25 AutoJavaFloatArray autoValues(env, valueArray); in Interpolator_setKeyFrame()
43 …tor_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jfloatArray valueArray) in Interpolator_timeToValues() argument
48 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; in Interpolator_timeToValues()
51 if (valueArray) { in Interpolator_timeToValues()
52 int n = env->GetArrayLength(valueArray); in Interpolator_timeToValues()
56 env->ReleaseFloatArrayElements(valueArray, values, 0); in Interpolator_timeToValues()
/frameworks/base/core/java/android/os/
DBinderProxy.java144 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[hash]; in remove() local
145 int size = valueArray.size(); // KeyArray may have extra elements. in remove()
149 valueArray.set(index, valueArray.get(size - 1)); in remove()
151 valueArray.remove(size - 1); in remove()
164 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in get() local
165 int bucketSize = valueArray.size(); in get()
169 WeakReference<BinderProxy> wr = valueArray.get(i); in get()
190 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in set() local
191 if (valueArray == null) { in set()
192 valueArray = mMainIndexValues[myHash] = new ArrayList<>(); in set()
[all …]
/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp105 jobject bsObj, jobjectArray keyArray, jobjectArray valueArray) { in nativeObtainBSPConfigParcel() argument
109 jstring valueString = (jstring) (env->GetObjectArrayElement(valueArray, i)); in nativeObtainBSPConfigParcel()
147 jobject bsParcel, jobject bsObj, jobjectArray keyArray, jobjectArray valueArray) { in nativeUnparcelAndVerifyBSPConfig() argument
159 jstring valueString = (jstring) (env->GetObjectArrayElement(valueArray, i)); in nativeUnparcelAndVerifyBSPConfig()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp537 jlong statementPtr, jint index, jbyteArray valueArray) { in nativeBindBlob() argument
541 jsize valueLength = env->GetArrayLength(valueArray); in nativeBindBlob()
542 jbyte* value = static_cast<jbyte*>(env->GetPrimitiveArrayCritical(valueArray, NULL)); in nativeBindBlob()
544 env->ReleasePrimitiveArrayCritical(valueArray, value, JNI_ABORT); in nativeBindBlob()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp358 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument
364 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
365 jsize values_length = _env->GetArrayLength(valueArray); in nClosureCreate()
456 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nClosureCreate()
464 jbyteArray paramArray, jlongArray fieldIDArray, jlongArray valueArray, in nInvokeClosureCreate() argument
472 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nInvokeClosureCreate()
473 jsize values_length = _env->GetArrayLength(valueArray); in nInvokeClosureCreate()
509 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nInvokeClosureCreate()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp354 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument
365 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
366 jsize values_length = _env->GetArrayLength(valueArray); in nClosureCreate()
475 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nClosureCreate()
483 jbyteArray paramArray, jlongArray fieldIDArray, jlongArray valueArray, in nInvokeClosureCreate() argument
501 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nInvokeClosureCreate()
502 jsize values_length = _env->GetArrayLength(valueArray); in nInvokeClosureCreate()
547 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nInvokeClosureCreate()