Home
last modified time | relevance | path

Searched refs:valueArray (Results 1 – 7 of 7) 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.java133 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[hash]; in remove() local
134 int size = valueArray.size(); // KeyArray may have extra elements. in remove()
138 valueArray.set(index, valueArray.get(size - 1)); in remove()
140 valueArray.remove(size - 1); in remove()
153 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in get() local
154 int bucketSize = valueArray.size(); in get()
158 WeakReference<BinderProxy> wr = valueArray.get(i); in get()
179 ArrayList<WeakReference<BinderProxy>> valueArray = mMainIndexValues[myHash]; in set() local
180 if (valueArray == null) { in set()
181 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/tests/coretests/jni/
DNativePowerManagerTest.cpp215 jobject bsObj, jobjectArray keyArray, jobjectArray valueArray) { in nativeObtainBSPConfigParcel() argument
219 jstring valueString = (jstring) (env->GetObjectArrayElement(valueArray, i)); in nativeObtainBSPConfigParcel()
257 jobject bsParcel, jobject bsObj, jobjectArray keyArray, jobjectArray valueArray) { in nativeUnparcelAndVerifyBSPConfig() argument
269 jstring valueString = (jstring) (env->GetObjectArrayElement(valueArray, i)); in nativeUnparcelAndVerifyBSPConfig()
/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.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()