Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp424 JavaVM* vm = AndroidRuntime::getJavaVM(); in callback_thread_event() local
431 vm->AttachCurrentThread(&callbackEnv, &args); in callback_thread_event()
438 vm->DetachCurrentThread(); in callback_thread_event()
496 JavaVM *vm = AndroidRuntime::getJavaVM(); in set_wake_alarm_callout() local
497 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); in set_wake_alarm_callout()
504 if (status == JNI_EDETACHED && vm->AttachCurrentThread(&env, &sAttachArgs) != 0) { in set_wake_alarm_callout()
521 vm->DetachCurrentThread(); in set_wake_alarm_callout()
529 JavaVM *vm = AndroidRuntime::getJavaVM(); in acquire_wake_lock_callout() local
530 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); in acquire_wake_lock_callout()
535 if (status == JNI_EDETACHED && vm->AttachCurrentThread(&env, &sAttachArgs) != 0) { in acquire_wake_lock_callout()
[all …]
/packages/apps/Nfc/nci/jni/
DNfcJniUtil.h102 JavaVM *vm; member
136 ScopedAttach(JavaVM* vm, JNIEnv** env) : vm_(vm) in ScopedAttach() argument
DRoutingManager.cpp309 ScopedAttach attach(mNativeData->vm, &e); in notifyActivated()
328 ScopedAttach attach(mNativeData->vm, &e); in notifyDeactivated()
369 ScopedAttach attach(mNativeData->vm, &e); in handleData()
DPeerToPeer.cpp312 ScopedAttach attach(nat->vm, &e); in llcpActivatedHandler()
385 ScopedAttach attach(nat->vm, &e); in llcpDeactivatedHandler()
412 ScopedAttach attach(nat->vm, &e); in llcpFirstPacketHandler()
DNativeNfcManager.cpp559 e->GetJavaVM(&(nat->vm)); in nfcManager_initNativeStruc()
680 ScopedAttach attach(nat->vm, &e); in nfaDeviceManagementCallback()
DNfcTag.cpp570 ScopedAttach attach(mNativeData->vm, &e); in createNativeNfcTag()
/packages/apps/Camera/jni/
Dmosaic_renderer_jni.cpp479 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved);
480 JNIEXPORT void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved);
499 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) in JNI_OnLoad() argument
507 JNIEXPORT void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved) in JNI_OnUnload() argument
/packages/apps/Terminal/jni/
Djni_init.cpp28 extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument
30 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc.cpp38 android::vm = jvm; in JNI_OnLoad()
60 JavaVM *vm; variable
68 if (vm->GetEnv((void **)&e, JNI_VERSION_1_6) != JNI_OK) { in nfc_get_env()
Dcom_android_nfc_NativeNfcManager.cpp696 nat->vm->AttachCurrentThread(&e, &thread_args); in nfc_jni_client_thread()
728 nat->vm->DetachCurrentThread(); in nfc_jni_client_thread()
764 nat->vm->GetEnv( (void **)&e, nat->env_version); in nfc_jni_llcp_linkStatus_callback()
919 nat->vm->GetEnv( (void **)&e, nat->env_version); in nfc_jni_Discovery_notification_callback()
1145 nat->vm->GetEnv( (void **)&e, nat->env_version); in nfc_jni_transaction_callback()
1605 e->GetJavaVM(&(nat->vm)); in com_android_nfc_NfcManager_init_native_struc()
Dcom_android_nfc.h140 JavaVM *vm; member
228 extern JavaVM *vm;
/packages/inputmethods/LatinIME/native/jni/
Djni_common.cpp30 jint JNI_OnLoad(JavaVM *vm, void *reserved) { in JNI_OnLoad() argument
33 if (vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp326 jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument
328 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/packages/apps/FMRadio/jni/fmr/
Dlibfm_jni.cpp410 jint JNI_OnLoad(JavaVM* vm, void* reserved) in JNI_OnLoad() argument
419 if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp563 jint JNI_OnLoad(JavaVM* vm, void* reserved) { in JNI_OnLoad() argument
565 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dtr_wordlist.combined.gz
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...