Searched refs:attachResult (Results 1 – 2 of 2) sorted by relevance
59 jint attachResult = gJni.jvm->AttachCurrentThreadAsDaemon(&env, (void*)&args); in getJniEnv() local60 if (attachResult != JNI_OK) { in getJniEnv()61 ALOGE("Unable to attach thread. Error: %d", attachResult); in getJniEnv()
483 jint attachResult = sJvm->AttachCurrentThread(&mEnv, nullptr); in ScopedJniThreadAttach() local484 LOG_ALWAYS_FATAL_IF(attachResult != JNI_OK, "Unable to attach thread. Error %d", in ScopedJniThreadAttach()485 attachResult); in ScopedJniThreadAttach()