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

12

/frameworks/base/include/camera/
H A DICameraClient.h34 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
35 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data,
37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
H A DCamera.h61 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
62 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
64 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
120 status_t takePicture(int msgType);
141 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
142 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
144 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 DICamera.h89 * @param msgType the message type an application selectively turn on/off
94 virtual status_t takePicture(int msgType) = 0;
/frameworks/base/libs/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 DCamera.cpp293 status_t Camera::takePicture(int msgType) argument
295 LOGV("takePicture: 0x%x", msgType);
298 return c->takePicture(msgType);
350 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
358 listener->notify(msgType, ext1, ext2);
363 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
372 listener->postData(msgType, dataPtr, metadata);
377 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
388 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
398 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DICamera.cpp203 status_t takePicture(int msgType) argument
205 LOGV("takePicture: 0x%x", msgType);
208 data.writeInt32(msgType);
369 int msgType = data.readInt32(); local
370 reply->writeInt32(takePicture(msgType));
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.h107 virtual status_t takePicture(int msgType);
145 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
146 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
148 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
153 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
158 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
159 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
161 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
164 int32_t msgType,
207 void enableMsgType(int32_t msgType);
[all...]
H A DCameraService.cpp774 status_t CameraService::Client::takePicture(int msgType) { argument
775 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
781 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
782 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
790 int picMsgType = msgType
894 void CameraService::Client::enableMsgType(int32_t msgType) { argument
895 android_atomic_or(msgType, &mMsgEnabled);
896 mHardware->enableMsgType(msgType);
899 void CameraService::Client::disableMsgType(int32_t msgType) { argument
900 android_atomic_and(~msgType,
905 lockIfMessageWanted(int32_t msgType) argument
974 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
993 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
1026 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
1061 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
1144 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
1153 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
1162 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
1171 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...]
H A DCameraHardwareStub.h40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
H A DCameraHardwareStub.cpp126 void CameraHardwareStub::enableMsgType(int32_t msgType) argument
129 mMsgEnabled |= msgType;
132 void CameraHardwareStub::disableMsgType(int32_t msgType) argument
135 mMsgEnabled &= ~msgType;
138 bool CameraHardwareStub::msgTypeEnabled(int32_t msgType) argument
141 return (mMsgEnabled & msgType);
H A DCameraHardwareInterface.h34 typedef void (*notify_callback)(int32_t msgType,
39 typedef void (*data_callback)(int32_t msgType,
45 int32_t msgType,
160 void enableMsgType(int32_t msgType) argument
164 mDevice->ops->enable_msg_type(mDevice, msgType);
177 void disableMsgType(int32_t msgType) argument
181 mDevice->ops->disable_msg_type(mDevice, msgType);
189 int msgTypeEnabled(int32_t msgType) argument
193 return mDevice->ops->msg_type_enabled(mDevice, msgType);
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp61 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
62 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
64 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
65 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
66 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
73 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
89 * set whenever method addCallbackBuffer() with msgType =
169 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
182 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
186 if (msgType
222 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
275 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
322 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
328 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
386 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
604 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument
638 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument
[all...]
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp170 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
171 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
173 int32_t msgType, const sp<IMemory>& data);
178 void assertNotify(int32_t msgType, OP op, int count);
179 void assertData(int32_t msgType, OP op, int count);
180 void waitNotify(int32_t msgType, OP op, int count);
181 void waitData(int32_t msgType, OP op, int count);
182 void assertDataSize(int32_t msgType, OP op, int dataSize);
225 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) { argument
227 int v = mNotifyCount.valueFor(msgType);
231 assertData(int32_t msgType, OP op, int count) argument
237 assertDataSize(int32_t msgType, OP op, int dataSize) argument
243 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
255 dataCallback(int32_t msgType, const sp<IMemory>& data) argument
276 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) argument
281 waitNotify(int32_t msgType, OP op, int count) argument
293 waitData(int32_t msgType, OP op, int count) argument
[all...]
/frameworks/base/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 LOGV("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
771 dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, const sp<IMemory> &data) argument
829 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraSourceTimeLapse.cpp294 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
298 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
/frameworks/base/include/media/stagefright/
H A DCameraSource.h119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
174 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument
176 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
H A DCameraSourceTimeLapse.h134 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/base/core/java/android/hardware/
H A DCamera.java646 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
649 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
650 msgType != CAMERA_MSG_RAW_IMAGE) {
652 "Unsupported message type: " + msgType);
655 _addCallbackBuffer(callbackBuffer, msgType);
659 byte[] callbackBuffer, int msgType);
894 private native final void native_takePicture(int msgType); argument
933 int msgType = 0;
935 msgType |= CAMERA_MSG_SHUTTER;
938 msgType |
658 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduPersister.java571 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE);
576 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)
577 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) {
588 switch (msgType) {
630 "Unsupported PDU type: " + Integer.toHexString(msgType));
634 "Unrecognized PDU type: " + Integer.toHexString(msgType));
1102 int msgType = pdu.getMessageType();
1107 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND)
1108 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF)
1109 || (msgType
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java201 int msgType = (0xFF & pdu[index++]);
202 if (msgType != 0) {
233 Log.i(TAG, "Received WAP PDU. Type = " + msgType + ", originator = " + address
/frameworks/media/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h60 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java660 outStream.write(8, bData.userData.msgType);
902 bData.userData.msgType = 0;
906 bData.userData.msgType = inStream.read(8);
1153 switch (bData.userData.msgType) {
1166 bData.userData.msgType + ")");
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java1451 void notify(int msgType) { argument
1452 mErrorNotification = msgType;
1455 sm.sendMessage(msgType);

Completed in 397 milliseconds

12