Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/jni/
DDeviceAsWebcamNative.h83 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/
DNfcJniUtil.h123 class ScopedAttach {
125 ScopedAttach(JavaVM* vm, JNIEnv** env) : vm_(vm) { in ScopedAttach() function
129 ~ScopedAttach() { vm_->DetachCurrentThread(); } in ~ScopedAttach()
DNativeWlcManager.cpp142 ScopedAttach attach(mNativeData->vm, &e); in notifyWlcCompletion()
DRoutingManager.cpp454 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()
DHciEventManager.cpp59 ScopedAttach attach(mNativeData->vm, &e); in notifyTransactionListenersOfAid()
DNativeNfcManager.cpp724 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()
DNfcTag.cpp486 ScopedAttach attach(mNativeData->vm, &e); in createNativeNfcTag()