Searched defs:msgType (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/camera/
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 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 DCamera.cpp294 status_t Camera::takePicture(int msgType) argument
296 ALOGV("takePicture: 0x%x", msgType);
299 return c->takePicture(msgType);
351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
359 listener->notify(msgType, ext1, ext2);
364 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
373 listener->postData(msgType, dataPtr, metadata);
378 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
389 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
399 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DICamera.cpp205 status_t takePicture(int msgType) argument
207 ALOGV("takePicture: 0x%x", msgType);
210 data.writeInt32(msgType);
371 int msgType = data.readInt32(); local
372 reply->writeInt32(takePicture(msgType));
/frameworks/av/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,
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp289 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
293 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
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
802 dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, const sp<IMemory> &data) argument
860 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DUserData.java134 public int msgType; field in class:UserData
155 builder.append(", msgType=" + msgType);
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp509 status_t CameraClient::takePicture(int msgType) { argument
510 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
516 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
517 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
525 int picMsgType = msgType
633 void CameraClient::enableMsgType(int32_t msgType) { argument
634 android_atomic_or(msgType, &mMsgEnabled);
635 mHardware->enableMsgType(msgType);
638 void CameraClient::disableMsgType(int32_t msgType) { argument
639 android_atomic_and(~msgType,
644 lockIfMessageWanted(int32_t msgType) argument
686 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
711 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
749 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
790 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
873 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
882 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
891 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
900 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 DCamera2Client.cpp1065 status_t Camera2Client::takePicture(int msgType) { argument
H A DCameraHardwareInterface.h32 typedef void (*notify_callback)(int32_t msgType,
37 typedef void (*data_callback)(int32_t msgType,
43 int32_t msgType,
158 void enableMsgType(int32_t msgType) argument
162 mDevice->ops->enable_msg_type(mDevice, msgType);
175 void disableMsgType(int32_t msgType) argument
179 mDevice->ops->disable_msg_type(mDevice, msgType);
187 int msgTypeEnabled(int32_t msgType) argument
191 return mDevice->ops->msg_type_enabled(mDevice, msgType);
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp169 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
170 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
172 int32_t msgType, const sp<IMemory>& data);
177 void assertNotify(int32_t msgType, OP op, int count);
178 void assertData(int32_t msgType, OP op, int count);
179 void waitNotify(int32_t msgType, OP op, int count);
180 void waitData(int32_t msgType, OP op, int count);
181 void assertDataSize(int32_t msgType, OP op, int dataSize);
224 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) { argument
226 int v = mNotifyCount.valueFor(msgType);
230 assertData(int32_t msgType, OP op, int count) argument
236 assertDataSize(int32_t msgType, OP op, int dataSize) argument
242 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
254 dataCallback(int32_t msgType, const sp<IMemory>& data) argument
275 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) argument
280 waitNotify(int32_t msgType, OP op, int count) argument
292 waitData(int32_t msgType, OP op, int count) 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
622 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument
656 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java1507 void notify(int msgType) { argument
1508 mErrorNotification = msgType;
1511 sm.sendMessage(msgType);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp229 static void jniPreviewProgressCallback(void* cookie, M4OSA_UInt32 msgType,
388 static void jniPreviewProgressCallback (void* cookie, M4OSA_UInt32 msgType, argument
405 switch(msgType)
/frameworks/base/core/java/android/hardware/
H A DCamera.java727 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
730 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
731 msgType != CAMERA_MSG_RAW_IMAGE) {
733 "Unsupported message type: " + msgType);
736 _addCallbackBuffer(callbackBuffer, msgType);
740 byte[] callbackBuffer, int msgType);
1042 private native final void native_takePicture(int msgType); argument
1081 int msgType = 0;
1083 msgType |= CAMERA_MSG_SHUTTER;
1086 msgType |
739 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]

Completed in 182 milliseconds