Searched refs:javaArray (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/jni/text/ |
D | LineBreaker.cpp | 39 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/ |
D | scoped_nullable_primitive_array.h | 56 ScopedArrayRO(JNIEnv* env, JavaArrayType javaArray) : mEnv(env), mJavaArray(javaArray) { in ARRAY_TRAITS()
|
/frameworks/base/core/jni/ |
D | scoped_nullable_primitive_array.h | 56 ScopedArrayRO(JNIEnv* env, JavaArrayType javaArray) : mEnv(env), mJavaArray(javaArray) { in ARRAY_TRAITS()
|
D | android_view_KeyEvent.cpp | 59 jbyteArray javaArray = reinterpret_cast<jbyteArray>(object); in fromJobject() local 60 ScopedByteArrayRO bytes(env, javaArray); in fromJobject()
|
/frameworks/base/cmds/uinput/jni/ |
D | com_android_commands_uinput_Device.cpp | 231 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/ |
D | com_android_commands_hid_Device.cpp | 302 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/ |
D | com_android_server_input_InputManagerService.cpp | 716 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()
|