Lines Matching full:env
27 inline jclass org_chromium_TestJni_clazz(JNIEnv* env) {
28 return base::android::LazyGetClass(env, kClassPath_org_chromium_TestJni,
38 static jint JNI_TestJni_Init(JNIEnv* env, const base::android::JavaParamRef<jobject>& jcaller);
41 JNIEnv* env,
43 return JNI_TestJni_Init(env, base::android::JavaParamRef<jobject>(env, jcaller));
47 JNIEnv* env,
52 CHECK_NATIVE_PTR(env, jcaller, native, "Destroy");
53 return native->Destroy(env, base::android::JavaParamRef<jobject>(env, jcaller));
57 JNIEnv* env,
66 CHECK_NATIVE_PTR(env, jcaller, native, "AddBookmark", 0);
67 return native->AddBookmark(env, base::android::JavaParamRef<jobject>(env, jcaller),
68 base::android::JavaParamRef<jstring>(env, url), base::android::JavaParamRef<jstring>(env,
72 static base::android::ScopedJavaLocalRef<jstring> JNI_TestJni_GetDomainAndRegistry(JNIEnv* env,
77 JNIEnv* env,
80 return JNI_TestJni_GetDomainAndRegistry(env, base::android::JavaParamRef<jclass>(env, jcaller),
81 base::android::JavaParamRef<jstring>(env, url)).Release();
84 static void JNI_TestJni_CreateHistoricalTabFromState(JNIEnv* env, const
90 JNIEnv* env,
94 return JNI_TestJni_CreateHistoricalTabFromState(env, base::android::JavaParamRef<jclass>(env,
95 jcaller), base::android::JavaParamRef<jbyteArray>(env, state), tab_index);
98 static base::android::ScopedJavaLocalRef<jbyteArray> JNI_TestJni_GetStateAsByteArray(JNIEnv* env,
103 JNIEnv* env,
106 return JNI_TestJni_GetStateAsByteArray(env, base::android::JavaParamRef<jobject>(env, jcaller),
107 base::android::JavaParamRef<jobject>(env, view)).Release();
111 env, const base::android::JavaParamRef<jclass>& jcaller);
114 JNIEnv* env,
116 return JNI_TestJni_GetAutofillProfileGUIDs(env, base::android::JavaParamRef<jclass>(env,
120 static void JNI_TestJni_SetRecognitionResults(JNIEnv* env, const
126 JNIEnv* env,
130 return JNI_TestJni_SetRecognitionResults(env, base::android::JavaParamRef<jobject>(env, jcaller),
131 sessionId, base::android::JavaParamRef<jobjectArray>(env, results));
135 JNIEnv* env,
147 CHECK_NATIVE_PTR(env, jcaller, native, "AddBookmarkFromAPI", 0);
148 return native->AddBookmarkFromAPI(env, base::android::JavaParamRef<jobject>(env, jcaller),
149 base::android::JavaParamRef<jstring>(env, url), base::android::JavaParamRef<jobject>(env,
150 created), base::android::JavaParamRef<jobject>(env, isBookmark),
151 base::android::JavaParamRef<jobject>(env, date), base::android::JavaParamRef<jbyteArray>(env,
152 favicon), base::android::JavaParamRef<jstring>(env, title),
153 base::android::JavaParamRef<jobject>(env, visits));
156 static jint JNI_TestJni_FindAll(JNIEnv* env, const base::android::JavaParamRef<jobject>& jcaller,
160 JNIEnv* env,
163 return JNI_TestJni_FindAll(env, base::android::JavaParamRef<jobject>(env, jcaller),
164 base::android::JavaParamRef<jstring>(env, find));
167 static base::android::ScopedJavaLocalRef<jobject> JNI_TestJni_GetInnerClass(JNIEnv* env, const
171 JNIEnv* env,
173 return JNI_TestJni_GetInnerClass(env, base::android::JavaParamRef<jclass>(env,
178 JNIEnv* env,
187 CHECK_NATIVE_PTR(env, jcaller, native, "QueryBitmap", NULL);
188 return native->QueryBitmap(env, base::android::JavaParamRef<jobject>(env, jcaller),
189 base::android::JavaParamRef<jobjectArray>(env, projection),
190 base::android::JavaParamRef<jstring>(env, selection),
191 base::android::JavaParamRef<jobjectArray>(env, selectionArgs),
192 base::android::JavaParamRef<jstring>(env, sortOrder)).Release();
196 JNIEnv* env,
204 CHECK_NATIVE_PTR(env, jcaller, native, "GotOrientation");
205 return native->GotOrientation(env, base::android::JavaParamRef<jobject>(env, jcaller), alpha,
209 static base::android::ScopedJavaLocalRef<jthrowable> JNI_TestJni_MessWithJavaException(JNIEnv* env,
214 JNIEnv* env,
217 return JNI_TestJni_MessWithJavaException(env, base::android::JavaParamRef<jclass>(env, jcaller),
218 base::android::JavaParamRef<jthrowable>(env, e)).Release();