/art/test/984-obsolete-invoke/ |
obsolete_invoke.cc | 64 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
|
/art/test/991-field-trace-2/ |
field_trace.cc | 36 ScopedLocalRef<jclass> testclass_klass(env, env->GetObjectClass(testclass));
|
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hfp.cpp | 80 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 93 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 106 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 121 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 135 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 150 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 165 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 171 ScopedLocalRef<jstring> js_number(sCallbackEnv.get(), 182 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 198 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)) [all...] |
com_android_bluetooth_avrcp.cpp | 70 ScopedLocalRef<jbyteArray> addr( 93 ScopedLocalRef<jbyteArray> addr( 116 ScopedLocalRef<jbyteArray> addr( 123 ScopedLocalRef<jintArray> attrs( 149 ScopedLocalRef<jbyteArray> addr( 172 ScopedLocalRef<jbyteArray> addr( 196 ScopedLocalRef<jbyteArray> addr( 219 ScopedLocalRef<jbyteArray> addr( 241 ScopedLocalRef<jbyteArray> addr( 265 ScopedLocalRef<jbyteArray> addr [all...] |
com_android_bluetooth_btservice_AdapterService.cpp | 83 ScopedLocalRef<jbyteArray> propVal( 110 ScopedLocalRef<jbyteArray> val( 118 ScopedLocalRef<jclass> mclass(sCallbackEnv.get(), 124 ScopedLocalRef<jobjectArray> props( 132 ScopedLocalRef<jintArray> types( 164 ScopedLocalRef<jbyteArray> val( 172 ScopedLocalRef<jclass> mclass(sCallbackEnv.get(), 178 ScopedLocalRef<jobjectArray> props( 186 ScopedLocalRef<jintArray> types( 193 ScopedLocalRef<jbyteArray> addr [all...] |
com_android_bluetooth_hid.cpp | 62 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 86 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 109 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 114 ScopedLocalRef<jbyteArray> data(sCallbackEnv.get(), 135 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 152 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr)); 166 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
|
com_android_bluetooth_gatt.cpp | 212 ScopedLocalRef<jstring> address(sCallbackEnv.get(), 214 ScopedLocalRef<jbyteArray> jb(sCallbackEnv.get(), 230 ScopedLocalRef<jstring> address(sCallbackEnv.get(), 241 ScopedLocalRef<jstring> address(sCallbackEnv.get(), 268 ScopedLocalRef<jstring> address( 270 ScopedLocalRef<jbyteArray> jb(sCallbackEnv.get(), 285 ScopedLocalRef<jbyteArray> jb(sCallbackEnv.get(), NULL); 321 ScopedLocalRef<jbyteArray> jb(sCallbackEnv.get(), NULL); 347 ScopedLocalRef<jstring> address(sCallbackEnv.get(), 372 ScopedLocalRef<jbyteArray> jb(sCallbackEnv.get() [all...] |
/frameworks/base/core/jni/ |
android_os_SELinux.cpp | 27 #include <nativehelper/ScopedLocalRef.h> 92 ScopedLocalRef<jstring> contextStr(env, NULL); 188 ScopedLocalRef<jstring> securityString(env, NULL); 214 ScopedLocalRef<jstring> securityString(env, NULL); 241 ScopedLocalRef<jstring> securityString(env, NULL);
|
android_view_DisplayEventReceiver.cpp | 33 #include <nativehelper/ScopedLocalRef.h> 90 ScopedLocalRef<jobject> receiverObj(env, jniGetReferent(env, mReceiverWeakGlobal)); 104 ScopedLocalRef<jobject> receiverObj(env, jniGetReferent(env, mReceiverWeakGlobal));
|
android_util_jar_StrictJarFile.cpp | 27 #include <nativehelper/ScopedLocalRef.h> 133 ScopedLocalRef<jstring> entryNameString(env, env->NewStringUTF(entryNameCString.get()));
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 22 #include <nativehelper/ScopedLocalRef.h> 75 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(addressLength)); 105 ScopedLocalRef<jobject> holder(env, env->GetObjectField(inetAddress, holderFid)); 129 ScopedLocalRef<jbyteArray> addressBytes(env, reinterpret_cast<jbyteArray>(env->CallObjectMethod(inetAddress, bytesMid))); 158 ScopedLocalRef<jobject> holder6(env, env->GetObjectField(inetAddress, holder6Fid));
|
libcore_icu_TimeZoneNames.cpp | 23 #include <nativehelper/ScopedLocalRef.h> 53 ScopedLocalRef<jstring> javaString(env, jniCreateString(env, s.getBuffer(), s.length())); 80 ScopedLocalRef<jobjectArray> java_row(env, 82 ScopedLocalRef<jstring> java_zone_id(env,
|
/art/dalvikvm/ |
dalvikvm.cc | 26 #include "nativehelper/ScopedLocalRef.h" 33 ScopedLocalRef<jobject> reflected(env, env->ToReflectedMethod(c, method_id, JNI_FALSE)); 63 ScopedLocalRef<jobjectArray> args(env, toStringArray(env, argv + 1)); 75 ScopedLocalRef<jclass> klass(env, env->FindClass(class_name.c_str()));
|
/frameworks/base/media/jni/ |
android_media_MediaDataSource.cpp | 31 #include <nativehelper/ScopedLocalRef.h> 40 ScopedLocalRef<jclass> mediaDataSourceClass(env, env->GetObjectClass(mMediaDataSourceObj)); 50 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize));
|
android_media_MediaHTTPConnection.cpp | 23 #include <nativehelper/ScopedLocalRef.h> 47 ScopedLocalRef<jbyteArray> tmp( 105 ScopedLocalRef<jclass> clazz(
|
/art/runtime/openjdkjvmti/ |
ti_search.cc | 46 #include "nativehelper/ScopedLocalRef.h" 94 ScopedLocalRef<jobject> defaults_jobj(self->GetJniEnv(), nullptr); 125 ScopedLocalRef<jobject> cp_jobj(self->GetJniEnv(), nullptr); 140 ScopedLocalRef<jobject> old_value(self->GetJniEnv(), 161 ScopedLocalRef<jobject> new_val_jobj(self->GetJniEnv(), nullptr); 175 ScopedLocalRef<jobject> res_obj(self->GetJniEnv(), 283 ScopedLocalRef<jstring> dex_path(env, env->NewStringUTF(segment));
|
ti_properties.cc | 38 #include "nativehelper/ScopedLocalRef.h" 182 ScopedLocalRef<jobject> input_str(jni_env, jni_env->NewStringUTF(kPropertyLibraryPath)); 188 ScopedLocalRef<jobject> prop_res(
|
/art/test/907-get-loaded-classes/ |
get_loaded_classes.cc | 37 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls));
|
/art/test/996-breakpoint-obsolete/ |
obsolete_breakpoints.cc | 61 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
|
/cts/hostsidetests/jvmti/base/jni/ |
cts_agent.cpp | 33 ScopedLocalRef<jclass> klass(env, FindClass(jenv, env, class_name, nullptr));
|
/external/conscrypt/common/src/jni/main/include/ |
BioInputStream.h | 65 ScopedLocalRef<jbyteArray> javaBytes(env, env->NewByteArray(len));
|
/libnativehelper/include/nativehelper/ |
toStringArray.h | 21 #include "ScopedLocalRef.h" 36 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i)));
|
/art/test/ti-agent/ |
jni_binder.cc | 146 ScopedLocalRef<jclass> cl_klass(env, env->FindClass("java/lang/ClassLoader")); 159 ScopedLocalRef<jstring> name_str(env, env->NewStringUTF(dot_name.c_str())); 162 ScopedLocalRef<jclass> c_klass(env, env->FindClass("java/lang/Class")); 188 ScopedLocalRef<jobject> system_class_loader(env, GetSystemClassLoader(env)); 254 ScopedLocalRef<jclass> klass(env, FindClass(jvmti_env, env, class_name, class_loader));
|
/art/runtime/ |
reflection_test.cc | 27 #include "nativehelper/ScopedLocalRef.h" 45 ScopedLocalRef<jclass> aioobe(env_, 50 ScopedLocalRef<jclass> ase(env_, env_->FindClass("java/lang/ArrayStoreException")); 54 ScopedLocalRef<jclass> sioobe(env_, 140 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); 149 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); 175 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); 200 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); 225 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); 254 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)) [all...] |
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 23 #include <nativehelper/ScopedLocalRef.h> 275 ScopedLocalRef<jbyteArray> dataArray(env, env->NewByteArray(strlen(value))); 276 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 283 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 284 ScopedLocalRef<jstring> valueString(env, env->NewStringUTF(value.string())); 323 ScopedLocalRef<jstring> keyString(env, env->NewStringUTF(key.string())); 324 ScopedLocalRef<jstring> valueString(env, env->NewStringUTF(value.string())); 451 ScopedLocalRef<jstring> key(env, 453 ScopedLocalRef<jobject> valueObject(env, 455 ScopedLocalRef<jstring> valString(env, NULL) [all...] |