Searched refs:gHardwareBufferClassInfo (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 58 } gHardwareBufferClassInfo; variable 221 if (env->IsInstanceOf(hardwareBufferObj, gHardwareBufferClassInfo.clazz)) { in android_hardware_HardwareBuffer_getNativeHardwareBuffer() 223 env->GetLongField(hardwareBufferObj, gHardwareBufferClassInfo.mNativeObject)); in android_hardware_HardwareBuffer_getNativeHardwareBuffer() 235 jobject hardwareBufferObj = env->NewObject(gHardwareBufferClassInfo.clazz, in android_hardware_HardwareBuffer_createFromAHardwareBuffer() 236 gHardwareBufferClassInfo.ctor, reinterpret_cast<jlong>(wrapper)); in android_hardware_HardwareBuffer_createFromAHardwareBuffer() 302 gHardwareBufferClassInfo.clazz = MakeGlobalRefOrDie(env, clazz); in register_android_hardware_HardwareBuffer() 303 gHardwareBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, in register_android_hardware_HardwareBuffer() 304 gHardwareBufferClassInfo.clazz, "mNativeObject", "J"); in register_android_hardware_HardwareBuffer() 305 gHardwareBufferClassInfo.ctor = GetMethodIDOrDie(env, in register_android_hardware_HardwareBuffer() 306 gHardwareBufferClassInfo.clazz, "<init>", "(J)V"); in register_android_hardware_HardwareBuffer()
|