Lines Matching refs:env
54 JNIEnv* env = getJniEnv(); in createIntent() local
55 jclass intentClass = env->FindClass("android/content/Intent"); in createIntent()
56 jmethodID constructor = env->GetMethodID(intentClass, "<init>", "(Ljava/lang/String;)V"); in createIntent()
57 jobject intent = env->NewObject(intentClass, constructor, env->NewStringUTF(INTENT_START)); in createIntent()
59 env->GetMethodID( in createIntent()
63 env->CallObjectMethod(intent, set_type, env->NewStringUTF("text/plain")); in createIntent()
65 env->GetMethodID( in createIntent()
71 env->CallObjectMethod(intent, put_extra, env->NewStringUTF("timestamp"), timestamp); in createIntent()
87 JNIEnv* env = getJniEnv(); in startLoop() local
88 jclass contextClass = env->FindClass("android/content/Context"); in startLoop()
90 env->GetMethodID( in startLoop()
94 env->CallVoidMethod(context, method, createIntent()); in startLoop()