HomeSort by relevance Sort by last modified time
    Searched refs:ScopedLocalRef (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /external/conscrypt/common/src/jni/unbundled/include/
ScopedLocalRef.h 27 class ScopedLocalRef {
29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) {
32 ~ScopedLocalRef() {
61 ScopedLocalRef(const ScopedLocalRef&);
62 void operator=(const ScopedLocalRef&);
  /art/test/ti-agent/
scoped_local_ref.h 29 class ScopedLocalRef {
31 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) {
34 ~ScopedLocalRef() {
61 DISALLOW_COPY_AND_ASSIGN(ScopedLocalRef);
jni_helper.h 35 ScopedLocalRef<jclass> obj_class(env, env->FindClass(component_type_descriptor));
40 ScopedLocalRef<jobjectArray> ret(env, env->NewObjectArray(length, obj_class.get(), nullptr));
62 ScopedLocalRef<jclass> exc_class(env, env->FindClass("java/lang/NullPointerException"));
  /libnativehelper/include/nativehelper/
ScopedLocalRef.h 27 class ScopedLocalRef {
29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) {
32 ~ScopedLocalRef() {
59 DISALLOW_COPY_AND_ASSIGN(ScopedLocalRef);
  /frameworks/av/media/libstagefright/http/
HTTPHelper.cpp 27 #include <nativehelper/ScopedLocalRef.h>
41 ScopedLocalRef<jclass> clazz(
48 ScopedLocalRef<jobject> httpServiceObj(
57 ScopedLocalRef<jobject> httpServiceBinderObj(
  /packages/apps/Nfc/nci/jni/
NfcJniUtil.cpp 24 #include <ScopedLocalRef.h>
83 ScopedLocalRef<jclass> cls(e, e->FindClass(className));
91 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor));
121 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o));
140 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o));
158 ScopedLocalRef<jclass> cls(e, e->FindClass(className));
NativeLlcpConnectionlessSocket.cpp 24 #include <ScopedLocalRef.h>
66 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o));
178 ScopedLocalRef<jclass> clsLlcpPacket(e, NULL);
236 ScopedLocalRef<jbyteArray> receivedData(e, e->NewByteArray(sConnlessRecvLen));
266 ScopedLocalRef<jclass> c(e, e->GetObjectClass(o));
  /art/test/986-native-method-bind/
native_bind.cc 36 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986"));
61 ScopedLocalRef<jclass> method_class(env, env->FindClass("java/lang/reflect/Method"));
62 ScopedLocalRef<jobject> method_obj(env, env->ToReflectedMethod(method_class.get(), m, false));
65 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception"));
69 ScopedLocalRef<jstring> sym_name(env, env->NewStringUTF(addr_info.dli_sname));
70 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986"));
78 ScopedLocalRef<jstring> new_symbol(env,
88 ScopedLocalRef<jclass> exception_class(env, env->FindClass("java/lang/Exception"));
  /cts/tests/tests/security/jni/
android_security_cts_SELinuxTest.cpp 20 #include <ScopedLocalRef.h>
52 ScopedLocalRef<jstring> securityString(env, NULL);
  /libcore/luni/src/main/native/
ExecStrings.cpp 25 #include <nativehelper/ScopedLocalRef.h>
37 ScopedLocalRef<jstring> java_string(env_, reinterpret_cast<jstring>(env_->GetObjectArrayElement(java_array_, i)));
57 ScopedLocalRef<jstring> java_string(env_, reinterpret_cast<jstring>(env_->GetObjectArrayElement(java_array_, i)));
IcuUtilities.cpp 22 #include <nativehelper/ScopedLocalRef.h>
48 ScopedLocalRef<jstring> javaString(env, jniCreateString(env, string->getBuffer(), string->length()));
  /frameworks/base/core/jni/
android_view_InputDevice.cpp 23 #include <nativehelper/ScopedLocalRef.h>
40 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().string()));
45 ScopedLocalRef<jstring> descriptorObj(env,
51 ScopedLocalRef<jobject> kcmObj(env,
63 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz,
android_view_PointerIcon.cpp 27 #include <nativehelper/ScopedLocalRef.h>
68 ScopedLocalRef<jobject> loadedPointerIconObj(env, env->CallObjectMethod(pointerIconObj,
88 ScopedLocalRef<jobject> bitmapObj(
94 ScopedLocalRef<jobjectArray> bitmapFramesObj(env, reinterpret_cast<jobjectArray>(
102 ScopedLocalRef<jobject> bitmapObj(env, env->GetObjectArrayElement(bitmapFramesObj.get(), i));
  /art/runtime/native/
native_util.h 24 #include "nativehelper/ScopedLocalRef.h"
32 ScopedLocalRef<jclass> c(env, env->FindClass(jni_class_name));
  /art/test/987-agent-bind/
agent_bind.cc 36 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test987"));
  /external/conscrypt/common/src/jni/main/include/
BioOutputStream.h 42 ScopedLocalRef<jbyteArray> javaBytes(env, env->NewByteArray(len));
JniUtil.h 22 #include "ScopedLocalRef.h"
54 ScopedLocalRef<jclass> localClass(env, env->FindClass(className));
84 ScopedLocalRef<jclass> localClass(env, env->FindClass(name));
101 ScopedLocalRef<jclass> c(env, env->FindClass(className));
120 ScopedLocalRef<jclass> localClass(env, env->FindClass("java/io/FileDescriptor"));
  /art/test/1909-per-agent-tls/
agent_tls.cc 61 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
67 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
  /art/test/1900-track-alloc/
alloc.cc 72 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
102 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
108 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
120 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
150 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_avrcp_controller.cpp 62 ScopedLocalRef<jbyteArray> addr(
90 ScopedLocalRef<jbyteArray> addr(
109 ScopedLocalRef<jbyteArray> addr(
128 ScopedLocalRef<jbyteArray> addr(
148 ScopedLocalRef<jbyteArray> addr(
166 ScopedLocalRef<jbyteArray> playerattribs(
195 ScopedLocalRef<jbyteArray> addr(
205 ScopedLocalRef<jbyteArray> playerattribs(
233 ScopedLocalRef<jbyteArray> addr(
252 ScopedLocalRef<jbyteArray> addr
    [all...]
com_android_bluetooth_hfpclient.cpp 74 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
88 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
107 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
118 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
129 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
140 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
151 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
154 ScopedLocalRef<jstring> js_name(sCallbackEnv.get(),
164 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
176 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr))
    [all...]
  /art/runtime/interpreter/
interpreter.cc 30 #include "nativehelper/ScopedLocalRef.h"
58 ScopedLocalRef<jclass> klass(soa.Env(),
69 ScopedLocalRef<jclass> klass(soa.Env(),
76 ScopedLocalRef<jclass> klass(soa.Env(),
83 ScopedLocalRef<jclass> klass(soa.Env(),
90 ScopedLocalRef<jclass> klass(soa.Env(),
97 ScopedLocalRef<jclass> klass(soa.Env(),
99 ScopedLocalRef<jobject> arg0(soa.Env(),
110 ScopedLocalRef<jclass> klass(soa.Env(),
118 ScopedLocalRef<jclass> klass(soa.Env()
    [all...]
  /art/test/904-object-allocation/
tracking.cc 38 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls));
40 ScopedLocalRef<jstring> str(
56 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object));
  /cts/hostsidetests/jvmti/base/jni/
tracking.cpp 32 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls));
34 ScopedLocalRef<jstring> str(
50 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object));
  /art/test/931-agent-thread/
agent_thread.cc 95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread"));
100 ScopedLocalRef<jclass> thread_klass(env, env->FindClass("java/lang/Thread"));
104 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get()));
118 ScopedLocalRef<jobject> thread_group(env, cur_thread_info.thread_group);

Completed in 2919 milliseconds

1 2 3 4 5 6