Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp39 static inline std::vector<float> jintArrayToFloatVector(JNIEnv* env, jintArray javaArray) { in jintArrayToFloatVector() argument
40 if (javaArray == nullptr) { in jintArrayToFloatVector()
43 ScopedIntArrayRO intArr(env, javaArray); in jintArrayToFloatVector()
/frameworks/base/libs/hwui/jni/
Dscoped_nullable_primitive_array.h56 ScopedArrayRO(JNIEnv* env, JavaArrayType javaArray) : mEnv(env), mJavaArray(javaArray) { in ARRAY_TRAITS()
/frameworks/base/core/jni/
Dscoped_nullable_primitive_array.h56 ScopedArrayRO(JNIEnv* env, JavaArrayType javaArray) : mEnv(env), mJavaArray(javaArray) { in ARRAY_TRAITS()
Dandroid_view_KeyEvent.cpp59 jbyteArray javaArray = reinterpret_cast<jbyteArray>(object); in fromJobject() local
60 ScopedByteArrayRO bytes(env, javaArray); in fromJobject()
/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.cpp231 std::vector<int32_t> toVector(JNIEnv* env, jintArray javaArray) { in toVector() argument
233 if (javaArray == nullptr) { in toVector()
237 ScopedIntArrayRO scopedArray(env, javaArray); in toVector()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp302 std::vector<uint8_t> getData(JNIEnv* env, jbyteArray javaArray) { in getData() argument
304 if (javaArray == nullptr) { in getData()
308 ScopedByteArrayRO scopedArray(env, javaArray); in getData()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp716 jobjectArray javaArray = jobjectArray(env->CallObjectMethod(mServiceObj, method)); in readMapFromInterleavedJavaArray() local
718 if (!checkAndClearExceptionFromCallback(env, methodName) && javaArray) { in readMapFromInterleavedJavaArray()
719 jsize length = env->GetArrayLength(javaArray); in readMapFromInterleavedJavaArray()
721 std::string key = getStringElementFromJavaArray(env, javaArray, 2 * i); in readMapFromInterleavedJavaArray()
723 opOnValue(std::move(getStringElementFromJavaArray(env, javaArray, 2 * i + 1))); in readMapFromInterleavedJavaArray()
727 env->DeleteLocalRef(javaArray); in readMapFromInterleavedJavaArray()