Lines Matching defs:msgType

63     virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
64 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
66 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
67 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
68 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
75 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
91 * set whenever method addCallbackBuffer() with msgType =
171 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
184 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
188 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) {
189 msgType = CAMERA_MSG_RAW_IMAGE;
193 mCameraJObjectWeak, msgType, ext1, ext2, NULL);
224 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType)
239 if (msgType == CAMERA_MSG_RAW_IMAGE) {
241 } else if (msgType == CAMERA_MSG_PREVIEW_FRAME && mManualBufferMode) {
271 mCameraJObjectWeak, msgType, 0, 0, obj);
277 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr,
288 int32_t dataMsgType = msgType & ~CAMERA_MSG_PREVIEW_METADATA;
319 if (metadata && (msgType & CAMERA_MSG_PREVIEW_METADATA)) {
324 void JNICameraContext::postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr)
327 postData(msgType, dataPtr, NULL);
330 void JNICameraContext::postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata)
357 mCameraJObjectWeak, msgType, 0, 0, obj);
389 JNIEnv *env, jbyteArray cbb, int msgType)
391 ALOGV("addCallbackBuffer: 0x%x", msgType);
394 switch (msgType) {
622 static void android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) {
623 ALOGV("addCallbackBuffer: 0x%x", msgType);
628 context->addCallbackBuffer(env, bytes, msgType);
656 static void android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType)
672 if (msgType & CAMERA_MSG_RAW_IMAGE) {
676 msgType &= ~CAMERA_MSG_RAW_IMAGE;
677 msgType |= CAMERA_MSG_RAW_IMAGE_NOTIFY;
681 if (camera->takePicture(msgType) != NO_ERROR) {