Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DInterpolator.cpp24 … jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray ble… in Interpolator_setKeyFrame() argument
28 AutoJavaFloatArray autoValues(env, valueArray); in Interpolator_setKeyFrame()
50 …tor_timeToValues(JNIEnv* env, jobject clazz, jlong interpHandle, jint msec, jfloatArray valueArray) in Interpolator_timeToValues() argument
55 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; in Interpolator_timeToValues()
58 if (valueArray) { in Interpolator_timeToValues()
59 int n = env->GetArrayLength(valueArray); in Interpolator_timeToValues()
63 env->ReleaseFloatArrayElements(valueArray, values, 0); in Interpolator_timeToValues()
/frameworks/base/core/java/android/os/
DBinderProxy.java128 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[hash]; in remove() local
129 int size = valueArray.size(); // KeyArray may have extra elements. in remove()
133 valueArray.set(index, valueArray.get(size - 1)); in remove()
135 valueArray.remove(size - 1); in remove()
148 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in get() local
149 int bucketSize = valueArray.size(); in get()
153 WeakReference<BinderProxy> wr = valueArray.get(i); in get()
174 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in set() local
175 if (valueArray == null) { in set()
176 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.cpp424 jlong statementPtr, jint index, jbyteArray valueArray) { in nativeBindBlob() argument
428 jsize valueLength = env->GetArrayLength(valueArray); in nativeBindBlob()
429 jbyte* value = static_cast<jbyte*>(env->GetPrimitiveArrayCritical(valueArray, NULL)); in nativeBindBlob()
431 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()