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

1 2 3 4 5

  /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);
  /frameworks/base/core/jni/
android_view_InputDevice.cpp 23 #include <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 "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));
android_os_SELinux.cpp 27 #include <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);
  /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"));
  /libcore/luni/src/main/native/
ExecStrings.cpp 25 #include "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)));
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_avrcp_controller.cpp 62 ScopedLocalRef<jbyteArray> addr(
90 ScopedLocalRef<jbyteArray> addr(
110 ScopedLocalRef<jbyteArray> addr(
129 ScopedLocalRef<jbyteArray> addr(
149 ScopedLocalRef<jbyteArray> addr(
167 ScopedLocalRef<jbyteArray> playerattribs(
196 ScopedLocalRef<jbyteArray> addr(
206 ScopedLocalRef<jbyteArray> playerattribs(
234 ScopedLocalRef<jbyteArray> addr(
253 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));
108 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
119 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
130 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
141 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
152 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
155 ScopedLocalRef<jstring> js_name(sCallbackEnv.get(),
165 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr));
177 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), marshall_bda(bd_addr))
    [all...]
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...]
  /art/runtime/interpreter/
interpreter.cc 28 #include "ScopedLocalRef.h"
57 ScopedLocalRef<jclass> klass(soa.Env(),
68 ScopedLocalRef<jclass> klass(soa.Env(),
75 ScopedLocalRef<jclass> klass(soa.Env(),
82 ScopedLocalRef<jclass> klass(soa.Env(),
89 ScopedLocalRef<jclass> klass(soa.Env(),
96 ScopedLocalRef<jclass> klass(soa.Env(),
98 ScopedLocalRef<jobject> arg0(soa.Env(),
109 ScopedLocalRef<jclass> klass(soa.Env(),
117 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);
  /art/test/984-obsolete-invoke/
obsolete_invoke.cc 64 ScopedLocalRef<jclass> rt_exception(env, env->FindClass("java/lang/RuntimeException"));
  /art/dalvikvm/
dalvikvm.cc 26 #include "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()));

Completed in 287 milliseconds

1 2 3 4 5