Searched refs:gNativeHandleFields (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_NativeHandle.cpp | 36 } gNativeHandleFields; variable 50 return env->NewObject(gNativeHandleFields.clazz, in MakeJavaNativeHandleObj() 51 gNativeHandleFields.constructID, fds.get(), ints.get(), false /*own*/); in MakeJavaNativeHandleObj() 58 if (!env->IsInstanceOf(jHandle, gNativeHandleFields.clazz)) { in MakeCppNativeHandle() 65 jHandle, gNativeHandleFields.getFdsID)); in MakeCppNativeHandle() 68 jHandle, gNativeHandleFields.getIntsID)); in MakeCppNativeHandle() 89 return env->NewObjectArray(length, gNativeHandleFields.clazz, nullptr); in AllocJavaNativeHandleObjArray() 94 gNativeHandleFields.clazz = MakeGlobalRefOrDie(env, clazz); in register_android_os_NativeHandle() 96 gNativeHandleFields.constructID = GetMethodIDOrDie(env, clazz, "<init>", "([I[IZ)V"); in register_android_os_NativeHandle() 97 gNativeHandleFields.getFdsID = GetMethodIDOrDie(env, clazz, "getFdsAsIntArray", "()[I"); in register_android_os_NativeHandle() [all …]
|