Home
last modified time | relevance | path

Searched refs:JniConstants (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/native/
DJniConstants.cpp128 void JniConstants::Initialize(JNIEnv* env) { in Initialize()
132 void JniConstants::Invalidate() { in Invalidate()
146 jclass JniConstants::GetBooleanClass(JNIEnv* env) { in GetBooleanClass()
151 jclass JniConstants::GetDoubleClass(JNIEnv* env) { in GetDoubleClass()
156 jclass JniConstants::GetErrnoExceptionClass(JNIEnv* env) { in GetErrnoExceptionClass()
161 jclass JniConstants::GetFileDescriptorClass(JNIEnv* env) { in GetFileDescriptorClass()
166 jclass JniConstants::GetGaiExceptionClass(JNIEnv* env) { in GetGaiExceptionClass()
171 jclass JniConstants::GetInet6AddressClass(JNIEnv* env) { in GetInet6AddressClass()
176 jclass JniConstants::GetInet6AddressHolderClass(JNIEnv* env) { in GetInet6AddressHolderClass()
181 jclass JniConstants::GetInetAddressClass(JNIEnv* env) { in GetInetAddressClass()
[all …]
DvalueOf.cpp39 return valueOf(env, JniConstants::GetBooleanClass(env), "(Z)Ljava/lang/Boolean;", value); in booleanValueOf()
43 return valueOf(env, JniConstants::GetDoubleClass(env), "(D)Ljava/lang/Double;", value); in doubleValueOf()
47 return valueOf(env, JniConstants::GetIntegerClass(env), "(I)Ljava/lang/Integer;", value); in integerValueOf()
51 return valueOf(env, JniConstants::GetLongClass(env), "(J)Ljava/lang/Long;", value); in longValueOf()
55 static jfieldID fid = env->GetFieldID(JniConstants::GetBooleanClass(env), "value", "Z"); in booleanValue()
60 static jfieldID fid = env->GetFieldID(JniConstants::GetIntegerClass(env), "value", "I"); in intValue()
DNetworkUtilities.cpp84 …static jmethodID getByAddressMethod = env->GetStaticMethodID(JniConstants::GetInetAddressClass(env… in sockaddrToInetAddress()
89 return env->CallStaticObjectMethod(JniConstants::GetInetAddressClass(env), getByAddressMethod, in sockaddrToInetAddress()
103 …static jfieldID holderFid = env->GetFieldID(JniConstants::GetInetAddressClass(env), "holder", "Lja… in inetAddressToSockaddr()
109 …static jfieldID familyFid = env->GetFieldID(JniConstants::GetInetAddressHolderClass(env), "family"… in inetAddressToSockaddr()
127 …static jmethodID bytesMid = env->GetMethodID(JniConstants::GetInetAddressClass(env), "getAddress",… in inetAddressToSockaddr()
154 static jfieldID holder6Fid = env->GetFieldID(JniConstants::GetInet6AddressClass(env), in inetAddressToSockaddr()
161 static jfieldID scopeFid = env->GetFieldID(JniConstants::GetInet6AddressHolderClass(env), in inetAddressToSockaddr()
Dlibcore_io_Linux.cpp260 jclass errnoExceptionClass = JniConstants::GetErrnoExceptionClass(env); in throwErrnoException()
269 jclass gaiExceptionClass = JniConstants::GetGaiExceptionClass(env); in throwGaiException()
404 static jmethodID ctor = env->GetMethodID(JniConstants::GetInetSocketAddressClass(env), in makeSocketAddress()
409 … return env->NewObject(JniConstants::GetInetSocketAddressClass(env), ctor, inetAddress, port); in makeSocketAddress()
411 static jmethodID ctor = env->GetMethodID(JniConstants::GetUnixSocketAddressClass(env), in makeSocketAddress()
420 return env->NewObject(JniConstants::GetUnixSocketAddressClass(env), ctor, javaSunPath); in makeSocketAddress()
423 static jmethodID ctor = env->GetMethodID(JniConstants::GetNetlinkSocketAddressClass(env), in makeSocketAddress()
428 return env->NewObject(JniConstants::GetNetlinkSocketAddressClass(env), ctor, in makeSocketAddress()
433 static jmethodID ctor = env->GetMethodID(JniConstants::GetPacketSocketAddressClass(env), in makeSocketAddress()
444 … jobject packetSocketAddress = env->NewObject(JniConstants::GetPacketSocketAddressClass(env), ctor, in makeSocketAddress()
[all …]
DRegister.cpp53 JniConstants::Initialize(env); in JNI_OnLoad()
66 JniConstants::Invalidate(); in JNI_OnUnload()
DJniConstants.h25 struct JniConstants { struct
DAndroid.bp23 "JniConstants.cpp",
Dorg_apache_harmony_xml_ExpatParser.cpp1361 …internMethod = env->GetMethodID(JniConstants::GetStringClass(env), "intern", "()Ljava/lang/String;… in ExpatParser_staticInitialize()
/libcore/ojluni/src/main/native/
DJniConstants.cpp73 void JniConstants::Initialize(JNIEnv* env) { in Initialize()
77 void JniConstants::Invalidate() { in Invalidate()
82 jclass JniConstants::GetSocketTaggerClass(JNIEnv* env) { in GetSocketTaggerClass()
DJniConstants.h30 struct JniConstants { struct
Dsocket_tagger_util.cpp37 jclass socketTaggerClass = JniConstants::GetSocketTaggerClass(env); in tagSocket()
DAndroid.bp79 "JniConstants.cpp",