Home
last modified time | relevance | path

Searched refs:jenv (Results 1 – 20 of 20) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/
Djava_buffer.i9 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
10 $2 = JCALL1(GetArrayLength, jenv, $input);
14 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
24 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
25 $2 = JCALL1(GetArrayLength, jenv, $input);
29 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
39 $1 = (char *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
40 $2 = JCALL1(GetArrayLength, jenv, $input);
44 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
/hardware/bsp/intel/peripheral/libupm/src/lsm9ds0/
Djavaupm_lsm9ds0.i25 $result = JCALL1(NewFloatArray, jenv, 3);
26 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
31 $result = JCALL1(NewFloatArray, jenv, 3);
32 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
37 $result = JCALL1(NewFloatArray, jenv, 3);
38 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
/hardware/bsp/intel/peripheral/libupm/src/h3lis331dl/
Djavaupm_h3lis331dl.i24 $result = JCALL1(NewFloatArray, jenv, 3);
25 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
38 $result = JCALL1(NewIntArray, jenv, 3);
39 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const int*)$1);
43 $result = JCALL1(NewIntArray, jenv, 3);
44 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const int*)$1);
/hardware/bsp/intel/peripheral/libmraa/src/java/
Dmraajava.i11 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL);
12 $2 = JCALL1(GetArrayLength, jenv, $input);
21 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL);
22 $2 = JCALL1(GetArrayLength, jenv, $input);
26 JCALL3(ReleaseByteArrayElements, jenv, $input, $1, JNI_COMMIT);
34 $1 = JCALL2(GetByteArrayElements, jenv, $input, NULL);
35 $2 = JCALL1(GetArrayLength, jenv, $input);
53 $result = JCALL1(NewByteArray, jenv, arg3);
54 JCALL4(SetByteArrayRegion, jenv, $result, 0, arg3, (jbyte *) $1);
/hardware/bsp/intel/peripheral/libupm/src/gas/
Djavaupm_gas.i25 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
26 $2 = JCALL1(GetArrayLength, jenv, $input);
30 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0);
40 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
41 $1 = JCALL1(GetArrayLength, jenv, $input);
45 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
/hardware/bsp/intel/peripheral/libupm/src/mic/
Djavaupm_mic.i17 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
18 $2 = JCALL1(GetArrayLength, jenv, $input);
22 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0);
32 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
33 $1 = JCALL1(GetArrayLength, jenv, $input);
37 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
/hardware/bsp/intel/peripheral/libupm/src/itg3200/
Djavaupm_itg3200.i17 $result = JCALL1(NewFloatArray, jenv, 3);
18 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
31 $result = JCALL1(NewIntArray, jenv, 3);
32 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/adxl345/
Djavaupm_adxl345.i17 $result = JCALL1(NewFloatArray, jenv, 3);
18 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
32 $result = JCALL1(NewShortArray, jenv, 3);
33 JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
/hardware/bsp/intel/peripheral/libupm/src/adxl335/
Djavaupm_adxl335.i22 $result = JCALL1(NewFloatArray, jenv, 3);
23 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
35 $result = JCALL1(NewIntArray, jenv, 3);
36 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/mma7660/
Djavaupm_mma7660.i27 $result = JCALL1(NewFloatArray, jenv, 3);
28 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
42 $result = JCALL1(NewIntArray, jenv, 3);
43 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/lcd/
Djavaupm_i2clcd.i17 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
18 $2 = JCALL1(GetArrayLength, jenv, $input);
22 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
/hardware/bsp/intel/peripheral/libmraa/src/gpio/
Dgpio.c248 JNIEnv *jenv; in make_env_key() local
249 (*globVM)->GetEnv(globVM, (void **)&jenv, JNI_VERSION_1_8); in make_env_key()
251 jclass rcls = (*jenv)->FindClass(jenv, "java/lang/Runnable"); in make_env_key()
252 jmethodID runm = (*jenv)->GetMethodID(jenv, rcls, "run", "()V"); in make_env_key()
254 runGlobal = (jmethodID)(*jenv)->NewGlobalRef(jenv, (jobject)runm); in make_env_key()
261 JNIEnv *jenv = (JNIEnv *) pthread_getspecific(env_key); in mraa_java_isr_callback() local
262 (*jenv)->CallVoidMethod(jenv, (jobject)data, runGlobal); in mraa_java_isr_callback()
296 JNIEnv *jenv; in mraa_gpio_interrupt_handler() local
298 jint err = (*globVM)->AttachCurrentThreadAsDaemon(globVM, (void **)&jenv, NULL); in mraa_gpio_interrupt_handler()
307 pthread_setspecific(env_key, jenv); in mraa_gpio_interrupt_handler()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/
Djavaupm_lsm303d.i17 $result = JCALL1(NewIntArray, jenv, 3);
18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/lsm303/
Djavaupm_lsm303.i17 $result = JCALL1(NewIntArray, jenv, 3);
18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/
Djavaupm_hmc5883l.i17 $result = JCALL1(NewIntArray, jenv, 3);
18 JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
/hardware/bsp/intel/peripheral/libupm/src/lol/
Djavaupm_lol.i16 $result = JCALL1(NewByteArray, jenv, LOL_X*LOL_Y);
17 JCALL4(SetByteArrayRegion, jenv, $result, 0, LOL_X*LOL_Y-1, reinterpret_cast<jbyte*>($1));
/hardware/bsp/intel/peripheral/libupm/src/mma7455/
Djavaupm_mma7455.i18 $result = JCALL1(NewShortArray, jenv, 3);
19 JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (const signed short*)$1);
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/
Djavaupm_m24lr64e.i17 $result = JCALL1(NewByteArray, jenv, length);
18 JCALL4(SetByteArrayRegion, jenv, $result, 0, length, reinterpret_cast<signed char *>($1));
/hardware/bsp/intel/peripheral/libupm/src/mpu9150/
Djavaupm_mpu9150.i29 $result = JCALL1(NewFloatArray, jenv, 3);
30 JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
/hardware/bsp/intel/peripheral/libupm/src/st7735/
Djavaupm_st7735.i35 $1 = (unsigned char *)JCALL2(GetByteArrayElements, jenv, $input, NULL);