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()
47 …tor_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jfloatArray valueArray) in Interpolator_timeToValues() argument
52 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; in Interpolator_timeToValues()
55 if (valueArray) { in Interpolator_timeToValues()
56 int n = env->GetArrayLength(valueArray); in Interpolator_timeToValues()
60 env->ReleaseFloatArrayElements(valueArray, values, 0); in Interpolator_timeToValues()
/frameworks/base/core/java/android/os/
DBinderProxy.java129 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[hash]; in remove() local
130 int size = valueArray.size(); // KeyArray may have extra elements. in remove()
134 valueArray.set(index, valueArray.get(size - 1)); in remove()
136 valueArray.remove(size - 1); in remove()
149 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in get() local
150 int bucketSize = valueArray.size(); in get()
154 WeakReference<BinderProxy> wr = valueArray.get(i); in get()
175 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in set() local
176 if (valueArray == null) { in set()
177 valueArray = mMainIndexValues[myHash] = new ArrayList<>(); in set()
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java376 byte[] valueArray = null;
379 valueArray = new byte[valueLength];
380 in.readByteArray(valueArray);
382 info.mTxtRecord.put(in.readString(), valueArray);
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp494 jlong statementPtr, jint index, jbyteArray valueArray) { in nativeBindBlob() argument
498 jsize valueLength = env->GetArrayLength(valueArray); in nativeBindBlob()
499 jbyte* value = static_cast<jbyte*>(env->GetPrimitiveArrayCritical(valueArray, NULL)); in nativeBindBlob()
501 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.cpp355 jlongArray valueArray, jintArray sizeArray, in nClosureCreate() argument
366 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nClosureCreate()
367 jsize values_length = _env->GetArrayLength(valueArray); in nClosureCreate()
476 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nClosureCreate()
484 jbyteArray paramArray, jlongArray fieldIDArray, jlongArray valueArray, in nInvokeClosureCreate() argument
502 jlong* jValues = _env->GetLongArrayElements(valueArray, nullptr); in nInvokeClosureCreate()
503 jsize values_length = _env->GetArrayLength(valueArray); in nInvokeClosureCreate()
548 _env->ReleaseLongArrayElements(valueArray, jValues, JNI_ABORT); in nInvokeClosureCreate()