Home
last modified time | relevance | path

Searched refs:bufferObj (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp292 static jcharArray allocCharArrayBuffer(JNIEnv* env, jobject bufferObj, size_t size) { in allocCharArrayBuffer() argument
293 jcharArray dataObj = jcharArray(env->GetObjectField(bufferObj, in allocCharArrayBuffer()
309 env->SetObjectField(bufferObj, gCharArrayBufferClassInfo.data, dataObj); in allocCharArrayBuffer()
315 static void fillCharArrayBufferUTF(JNIEnv* env, jobject bufferObj, in fillCharArrayBufferUTF() argument
321 jcharArray dataObj = allocCharArrayBuffer(env, bufferObj, size); in fillCharArrayBufferUTF()
329 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, size); in fillCharArrayBufferUTF()
333 static void clearCharArrayBuffer(JNIEnv* env, jobject bufferObj) { in clearCharArrayBuffer() argument
334 jcharArray dataObj = allocCharArrayBuffer(env, bufferObj, 0); in clearCharArrayBuffer()
336 env->SetIntField(bufferObj, gCharArrayBufferClassInfo.sizeCopied, 0); in clearCharArrayBuffer()
341 jint row, jint column, jobject bufferObj) { in nativeCopyStringToBuffer() argument
[all …]
/frameworks/av/media/libstagefright/
DFrameCaptureProcessor.cpp195 sp<RefBase> layerObj, bufferObj; in onMessageReceived() local
199 CHECK(msg->findObject("buffer", &bufferObj)); in onMessageReceived()
201 sp<GraphicBuffer> buffer = static_cast<GraphicBuffer*>(bufferObj.get()); in onMessageReceived()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2060 static jobject android_media_MediaCodec_mapHardwareBuffer(JNIEnv *env, jclass, jobject bufferObj) { in android_media_MediaCodec_mapHardwareBuffer() argument
2063 env, bufferObj); in android_media_MediaCodec_mapHardwareBuffer()
2289 JNIEnv *env, jobject thiz, jint index, jobject bufferObj, in android_media_MediaCodec_native_queueLinearBlock() argument
2310 ScopedLocalRef<jobject> lock{env, env->GetObjectField(bufferObj, gLinearBlockInfo.lockId)}; in android_media_MediaCodec_native_queueLinearBlock()
2312 if (env->GetBooleanField(bufferObj, gLinearBlockInfo.validId)) { in android_media_MediaCodec_native_queueLinearBlock()
2314 (JMediaCodecLinearBlock *)env->GetLongField(bufferObj, gLinearBlockInfo.contextId); in android_media_MediaCodec_native_queueLinearBlock()
2369 JNIEnv *env, jobject thiz, jint index, jobject bufferObj, in android_media_MediaCodec_native_queueHardwareBuffer() argument
2388 env, bufferObj); in android_media_MediaCodec_native_queueHardwareBuffer()