/libcore/include/ |
ScopedLocalRef.h | 24 class ScopedLocalRef { 26 ScopedLocalRef(JNIEnv* env, T localRef) 31 ~ScopedLocalRef() { 51 ScopedLocalRef(const ScopedLocalRef&); 52 void operator=(const ScopedLocalRef&);
|
/libcore/luni/src/main/native/ |
toStringArray.h | 18 #include "ScopedLocalRef.h" 31 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i))); 53 ScopedLocalRef<jstring> s(env, env->NewString(chars, charCount));
|
libcore_icu_TimeZones.cpp | 26 #include "ScopedLocalRef.h" 56 ScopedLocalRef<jstring> idString(env, env->NewString(id->getBuffer(), id->length())); 75 ScopedLocalRef<jstring> javaString(env, env->NewString(s.getBuffer(), s.length())); 131 ScopedLocalRef<jstring> javaZoneId(env, 211 ScopedLocalRef<jobjectArray> javaRow(env, env->NewObjectArray(5, JniConstants::stringClass, NULL)); 212 ScopedLocalRef<jstring> id(env, reinterpret_cast<jstring>(env->GetObjectArrayElement(timeZoneIds, i)));
|
org_apache_harmony_xml_ExpatParser.cpp | 23 #include "ScopedLocalRef.h" 268 ScopedLocalRef<jstring> newString(env, env->NewStringUTF(bytes)); 274 ScopedLocalRef<jstring> interned(env, 821 ScopedLocalRef<jstring> javaInstructionData(env, env->NewStringUTF(instructionData)); 868 ScopedLocalRef<jstring> javaSystemId(env, env->NewStringUTF(systemId)); 872 ScopedLocalRef<jstring> javaPublicId(env, env->NewStringUTF(publicId)); 876 ScopedLocalRef<jstring> javaContext(env, env->NewStringUTF(context)); 909 ScopedLocalRef<jstring> javaName(env, env->NewStringUTF(name)); 911 ScopedLocalRef<jstring> javaPublicId(env, env->NewStringUTF(publicId)); 913 ScopedLocalRef<jstring> javaSystemId(env, env->NewStringUTF(systemId)) [all...] |
NetworkUtilities.cpp | 22 #include "ScopedLocalRef.h" 74 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(addressLength)); 114 ScopedLocalRef<jbyteArray> addressBytes(env, reinterpret_cast<jbyteArray>(env->GetObjectField(inetAddress, bytesFid)));
|
java_lang_ProcessManager.cpp | 30 #include "ScopedLocalRef.h" 195 ScopedLocalRef<jstring> javaEntry(env, reinterpret_cast<jstring>(env->GetObjectArrayElement(javaArray, i))); 212 ScopedLocalRef<jstring> javaEntry(env, reinterpret_cast<jstring>(env->GetObjectArrayElement(javaArray, i)));
|
JniConstants.cpp | 18 #include "ScopedLocalRef.h" 65 ScopedLocalRef<jclass> localClass(env, env->FindClass(name));
|
java_lang_RealToString.cpp | 26 #include "ScopedLocalRef.h" 172 ScopedLocalRef<jintArray> javaDigits(env, reinterpret_cast<jintArray>(env->GetObjectField(obj, digitsFid)));
|
libcore_icu_ICU.cpp | 24 #include "ScopedLocalRef.h" 308 ScopedLocalRef<jstring> s(env, env->NewString(chars, charCount)); 358 ScopedLocalRef<jstring> emptyString(env, env->NewStringUTF("")); 364 ScopedLocalRef<jobject> integerValue(env, integerValueOf(env, value)); [all...] |
libcore_io_Posix.cpp | 25 #include "ScopedLocalRef.h" 114 ScopedLocalRef<jstring> detailMessage(env, env->NewStringUTF(functionName)); 593 ScopedLocalRef<jobject> inetAddress(env, sockaddrToInetAddress(env, address, NULL)); [all...] |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 43 #include "ScopedLocalRef.h" 994 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(len)); 1039 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(len)); [all...] |
libcore_icu_NativeConverter.cpp | 21 #include "ScopedLocalRef.h" 283 ScopedLocalRef<jstring> javaCanonicalName(env, getJavaCanonicalName(env, name));
|
/external/webkit/Source/WebKit/android/jni/ |
WebCoreFrameBridge.cpp | 97 #include <ScopedLocalRef.h> [all...] |
/frameworks/base/core/jni/ |
android_util_Binder.cpp | 43 #include <ScopedLocalRef.h> 460 ScopedLocalRef<jclass> objClassRef(env, env->GetObjectClass(mObject)); 461 ScopedLocalRef<jstring> nameRef(env, [all...] |