Searched refs:msgType (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/av/camera/
H A DICameraClient.cpp42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
47 data.writeInt32(msgType);
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, argument
60 data.writeInt32(msgType);
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
76 data.writeInt32(msgType);
93 int32_t msgType = data.readInt32(); local
96 notifyCallback(msgType, ext1, ext2);
102 int32_t msgType = data.readInt32(); local
111 dataCallback(msgType, imageDat
119 int32_t msgType = data.readInt32(); local
[all...]
H A DICameraRecordingProxyListener.cpp38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
44 data.writeInt32(msgType);
62 int32_t msgType = data.readInt32(); local
64 dataCallbackTimestamp(timestamp, msgType, imageData);
H A DIProCameraCallbacks.cpp50 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
55 data.writeInt32(msgType);
93 int32_t msgType = data.readInt32(); local
96 notifyCallback(msgType, ext1, ext2);
H A DCamera.cpp205 status_t Camera::takePicture(int msgType) argument
207 ALOGV("takePicture: 0x%x", msgType);
210 return c->takePicture(msgType);
270 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
272 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
276 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
285 listener->postData(msgType, dataPtr, metadata);
290 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
301 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
312 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DICamera.cpp207 status_t takePicture(int msgType) argument
209 ALOGV("takePicture: 0x%x", msgType);
212 data.writeInt32(msgType);
376 int msgType = data.readInt32(); local
377 reply->writeInt32(takePicture(msgType));
H A DCameraBase.cpp170 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, argument
180 listener->notify(msgType, ext1, ext2);
/frameworks/av/include/camera/
H A DICameraClient.h37 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
38 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data,
40 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
H A DCamera.h40 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
41 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
43 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
114 status_t takePicture(int msgType);
143 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
144 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
146 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
H A DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
H A DIProCameraCallbacks.h39 virtual void notifyCallback(int32_t msgType,
H A DProCamera.h47 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
57 virtual void onTriggerNotify(int32_t msgType, int32_t ext1, int32_t ext2)
248 virtual void notifyCallback(int32_t msgType,
H A DCameraBase.h93 virtual void notifyCallback(int32_t msgType, int32_t ext,
H A DICamera.h96 * @param msgType the message type an application selectively turn on/off
101 virtual status_t takePicture(int msgType) = 0;
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h54 virtual status_t takePicture(int msgType);
97 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
98 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
100 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
103 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
108 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
109 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
111 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
114 int32_t msgType,
153 void enableMsgType(int32_t msgType);
[all...]
H A DCameraClient.cpp516 status_t CameraClient::takePicture(int msgType) { argument
517 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
523 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
524 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
532 int picMsgType = msgType
640 void CameraClient::enableMsgType(int32_t msgType) { argument
641 android_atomic_or(msgType, &mMsgEnabled);
642 mHardware->enableMsgType(msgType);
645 void CameraClient::disableMsgType(int32_t msgType) { argument
646 android_atomic_and(~msgType,
651 lockIfMessageWanted(int32_t msgType) argument
693 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
718 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
756 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
797 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
880 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
889 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
898 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
907 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp63 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) argument
184 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
188 if (msgType
224 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
277 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
324 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
330 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
388 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
654 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument
688 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp41 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
42 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
46 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
65 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { argument
66 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
69 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
72 msgType, dataPtr->pointer(), dataPtr->size());
76 source->dataCallback(msgType, dataPtr);
81 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
85 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPt
80 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
813 dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, const sp<IMemory> &data) argument
871 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraSourceTimeLapse.cpp295 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
299 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h32 typedef void (*notify_callback)(int32_t msgType,
37 typedef void (*data_callback)(int32_t msgType,
43 int32_t msgType,
153 void enableMsgType(int32_t msgType) argument
157 mDevice->ops->enable_msg_type(mDevice, msgType);
170 void disableMsgType(int32_t msgType) argument
174 mDevice->ops->disable_msg_type(mDevice, msgType);
182 int msgTypeEnabled(int32_t msgType) argument
186 return mDevice->ops->msg_type_enabled(mDevice, msgType);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.h54 status_t startCapture(int msgType);
172 sp<Camera2Client> client, int msgType);
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h136 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
H A DCameraSource.h128 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
183 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument
185 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java267 int msgType = (0xFF & pdu[index++]);
268 if (msgType != 0) {
299 log("Received WAP PDU. Type = " + msgType + ", originator = " + address
/frameworks/base/core/java/android/hardware/
H A DCamera.java748 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
751 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
752 msgType != CAMERA_MSG_RAW_IMAGE) {
754 "Unsupported message type: " + msgType);
757 _addCallbackBuffer(callbackBuffer, msgType);
761 byte[] callbackBuffer, int msgType);
1191 private native final void native_takePicture(int msgType); argument
1230 int msgType = 0;
1232 msgType |= CAMERA_MSG_SHUTTER;
1235 msgType |
760 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h26 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc);

Completed in 237 milliseconds

12