Searched refs:ScopedAttach (Results 1 – 7 of 7) sorted by relevance
/packages/services/DeviceAsWebcam/jni/ |
D | DeviceAsWebcamNative.h | 83 ScopedAttach _jniScope(&env); in createJniAttachedThread() 99 class ScopedAttach { 101 explicit ScopedAttach(JNIEnv** env) { kJVM->AttachCurrentThread(env, nullptr); } in ScopedAttach() function 102 ~ScopedAttach() { kJVM->DetachCurrentThread(); } in ~ScopedAttach()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.h | 123 class ScopedAttach { 125 ScopedAttach(JavaVM* vm, JNIEnv** env) : vm_(vm) { in ScopedAttach() function 129 ~ScopedAttach() { vm_->DetachCurrentThread(); } in ~ScopedAttach()
|
D | NativeWlcManager.cpp | 142 ScopedAttach attach(mNativeData->vm, &e); in notifyWlcCompletion()
|
D | RoutingManager.cpp | 454 ScopedAttach attach(mNativeData->vm, &e); in notifyActivated() 472 ScopedAttach attach(mNativeData->vm, &e); in notifyDeactivated() 508 ScopedAttach attach(mNativeData->vm, &e); in handleData() 543 ScopedAttach attach(mNativeData->vm, &e); in notifyEeUpdated()
|
D | HciEventManager.cpp | 59 ScopedAttach attach(mNativeData->vm, &e); in notifyTransactionListenersOfAid()
|
D | NativeNfcManager.cpp | 724 ScopedAttach attach(nat->vm, &e); in nfaDeviceManagementCallback() 750 ScopedAttach attach(nat->vm, &e); in nfaDeviceManagementCallback() 831 ScopedAttach attach(nat->vm, &e); in nfaDeviceManagementCallback() 999 ScopedAttach attach(nat->vm, &e); in nfaVSCallback() 1034 ScopedAttach attach(nat->vm, &e); in nfaVSCallback()
|
D | NfcTag.cpp | 486 ScopedAttach attach(mNativeData->vm, &e); in createNativeNfcTag()
|