Home
last modified time | relevance | path

Searched refs:msgType (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/libs/camera/
DICameraClient.cpp42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
47 data.writeInt32(msgType); in notifyCallback()
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback() argument
60 data.writeInt32(msgType); in dataCallback()
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument
76 data.writeInt32(msgType); in dataCallbackTimestamp()
93 int32_t msgType = data.readInt32(); in onTransact() local
96 notifyCallback(msgType, ext1, ext2); in onTransact()
102 int32_t msgType = data.readInt32(); in onTransact() local
111 dataCallback(msgType, imageData, metadata); in onTransact()
[all …]
DICameraRecordingProxyListener.cpp38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument
44 data.writeInt32(msgType); in dataCallbackTimestamp()
62 int32_t msgType = data.readInt32(); in onTransact() local
64 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact()
DCamera.cpp293 status_t Camera::takePicture(int msgType) in takePicture() argument
295 LOGV("takePicture: 0x%x", msgType); in takePicture()
298 return c->takePicture(msgType); in takePicture()
350 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
358 listener->notify(msgType, ext1, ext2); in notifyCallback()
363 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
372 listener->postData(msgType, dataPtr, metadata); in dataCallback()
377 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
388 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
398 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
DICamera.cpp203 status_t takePicture(int msgType) in takePicture() argument
205 LOGV("takePicture: 0x%x", msgType); in takePicture()
208 data.writeInt32(msgType); in takePicture()
369 int msgType = data.readInt32(); in onTransact() local
370 reply->writeInt32(takePicture(msgType)); in onTransact()
/frameworks/base/services/camera/libcameraservice/
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…
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<IM…
164 int32_t msgType,
207 void enableMsgType(int32_t msgType);
[all …]
DCameraService.cpp774 status_t CameraService::Client::takePicture(int msgType) { in takePicture() argument
775 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); in takePicture()
781 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture()
782 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture()
790 int picMsgType = msgType in takePicture()
894 void CameraService::Client::enableMsgType(int32_t msgType) { in enableMsgType() argument
895 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType()
896 mHardware->enableMsgType(msgType); in enableMsgType()
899 void CameraService::Client::disableMsgType(int32_t msgType) { in disableMsgType() argument
900 android_atomic_and(~msgType, &mMsgEnabled); in disableMsgType()
[all …]
DCameraHardwareStub.cpp126 void CameraHardwareStub::enableMsgType(int32_t msgType) in enableMsgType() argument
129 mMsgEnabled |= msgType; in enableMsgType()
132 void CameraHardwareStub::disableMsgType(int32_t msgType) in disableMsgType() argument
135 mMsgEnabled &= ~msgType; in disableMsgType()
138 bool CameraHardwareStub::msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
141 return (mMsgEnabled & msgType); in msgTypeEnabled()
DCameraHardwareStub.h40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
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) in enableMsgType() argument
164 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType()
177 void disableMsgType(int32_t msgType) in disableMsgType() argument
181 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType()
189 int msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
193 return mDevice->ops->msg_type_enabled(mDevice, msgType); in msgTypeEnabled()
/frameworks/base/core/jni/
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);
169 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
186 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
187 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
191 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify()
[all …]
/frameworks/base/services/camera/tests/CameraServiceTest/
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) { in assertNotify() argument
227 int v = mNotifyCount.valueFor(msgType); in assertNotify()
[all …]
/frameworks/base/include/camera/
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>& d…
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…
DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
DICamera.h94 virtual status_t takePicture(int msgType) = 0;
/frameworks/base/media/libstagefright/
DCameraSource.cpp39 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
40 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
44 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
63 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { in notify() argument
64 LOGV("notify(%d, %d, %d)", msgType, ext1, ext2); in notify()
67 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument
70 msgType, dataPtr->pointer(), dataPtr->size()); in postData()
74 source->dataCallback(msgType, dataPtr); in postData()
79 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument
83 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); in postDataTimestamp()
[all …]
DCameraSourceTimeLapse.cpp288 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument
292 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data); in dataCallbackTimestamp()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DUserData.java134 public int msgType; field in UserData
155 builder.append(", msgType=" + msgType); in toString()
DBearerData.java660 outStream.write(8, bData.userData.msgType); in encodeUserData()
902 bData.userData.msgType = 0; in decodeUserData()
906 bData.userData.msgType = inStream.read(8); in decodeUserData()
1153 switch (bData.userData.msgType) { in decodeIs91()
1166 bData.userData.msgType + ")"); in decodeIs91()
/frameworks/base/include/media/stagefright/
DCameraSource.h119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
171 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback() argument
173 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
DCameraSourceTimeLapse.h138 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/base/core/java/android/hardware/
DCamera.java646 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
649 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
650 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
652 "Unsupported message type: " + msgType); in addCallbackBuffer()
655 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
659 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
894 private native final void native_takePicture(int msgType); in native_takePicture() argument
933 int msgType = 0; in takePicture() local
935 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
938 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture()
[all …]
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduPersister.java571 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
576 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load()
577 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load()
588 switch (msgType) { in load()
630 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load()
634 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load()
1102 int msgType = pdu.getMessageType(); in persist() local
1107 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist()
1108 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist()
1109 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java201 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
202 if (msgType != 0) { in processCdmaWapPdu()
233 Log.i(TAG, "Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/frameworks/media/libvideoeditor/lvpp/
DVideoEditorPreviewController.h60 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc);

12