Home | History | Annotate | Download | only in ndk

Lines Matching defs:env

84     JNIEnv *env = AndroidRuntime::getJNIEnv();
86 if (env == NULL) {
88 env->ExceptionClear();
92 jclass mediahttpclass = env->FindClass("android/media/MediaHTTPService");
95 env->ExceptionClear();
99 jmethodID mediaHttpCreateMethod = env->GetStaticMethodID(mediahttpclass,
103 env->ExceptionClear();
107 jstring jloc = env->NewStringUTF(location);
109 service = env->CallStaticObjectMethod(mediahttpclass, mediaHttpCreateMethod, jloc);
110 env->DeleteLocalRef(jloc);
114 sp<IBinder> binder = ibinderForJavaObject(env, service);
119 env->ExceptionClear();