Home
last modified time | relevance | path

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

12

/frameworks/av/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.cpp205 status_t Camera::takePicture(int msgType) in takePicture() argument
207 ALOGV("takePicture: 0x%x", msgType); in takePicture()
210 return c->takePicture(msgType); in takePicture()
270 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
272 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback()
276 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
285 listener->postData(msgType, dataPtr, metadata); in dataCallback()
290 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
301 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
312 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
DIProCameraCallbacks.cpp50 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
55 data.writeInt32(msgType); in notifyCallback()
93 int32_t msgType = data.readInt32(); in onTransact() local
96 notifyCallback(msgType, ext1, ext2); in onTransact()
DICamera.cpp207 status_t takePicture(int msgType) in takePicture() argument
209 ALOGV("takePicture: 0x%x", msgType); in takePicture()
212 data.writeInt32(msgType); in takePicture()
376 int msgType = data.readInt32(); in onTransact() local
377 reply->writeInt32(takePicture(msgType)); in onTransact()
DCameraBase.cpp170 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument
180 listener->notify(msgType, ext1, ext2); in notifyCallback()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp516 status_t CameraClient::takePicture(int msgType) { in takePicture() argument
517 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); in takePicture()
523 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture()
524 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture()
532 int picMsgType = msgType in takePicture()
640 void CameraClient::enableMsgType(int32_t msgType) { in enableMsgType() argument
641 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType()
642 mHardware->enableMsgType(msgType); in enableMsgType()
645 void CameraClient::disableMsgType(int32_t msgType) { in disableMsgType() argument
646 android_atomic_and(~msgType, &mMsgEnabled); in disableMsgType()
[all …]
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…
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<IM…
114 int32_t msgType,
153 void enableMsgType(int32_t msgType);
[all …]
/frameworks/av/include/camera/
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>& d…
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…
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,
DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
DIProCameraCallbacks.h39 virtual void notifyCallback(int32_t msgType,
DCameraBase.h93 virtual void notifyCallback(int32_t msgType, int32_t ext,
/frameworks/base/core/jni/
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);
171 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
188 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
189 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
193 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify()
[all …]
/frameworks/av/media/libstagefright/
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) { in notify() argument
66 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2); in notify()
69 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument
72 msgType, dataPtr->pointer(), dataPtr->size()); in postData()
76 source->dataCallback(msgType, dataPtr); in postData()
81 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument
85 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); in postDataTimestamp()
[all …]
DCameraSourceTimeLapse.cpp299 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument
303 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data); in dataCallbackTimestamp()
/frameworks/av/services/camera/libcameraservice/device1/
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) in enableMsgType() argument
157 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType()
170 void disableMsgType(int32_t msgType) in disableMsgType() argument
174 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType()
182 int msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
186 return mDevice->ops->msg_type_enabled(mDevice, msgType); in msgTypeEnabled()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DUserData.java134 public int msgType; field in UserData
155 builder.append(", msgType=" + msgType); in toString()
/frameworks/av/include/media/stagefright/
DCameraSource.h128 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
183 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback() argument
185 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.h54 status_t startCapture(int msgType);
172 sp<Camera2Client> client, int msgType);
/frameworks/base/core/java/android/hardware/
DCamera.java749 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
752 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
753 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
755 "Unsupported message type: " + msgType); in addCallbackBuffer()
758 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
762 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
1192 private native final void native_takePicture(int msgType); in native_takePicture() argument
1231 int msgType = 0; in takePicture() local
1233 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1236 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java277 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
278 if (msgType != 0) { in processCdmaWapPdu()
309 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp336 uint32_t msgType = msg->what(); in onMessageReceived() local
337 ALOGV("msgType = %d", msgType); in onMessageReceived()
338 switch (msgType) { in onMessageReceived()
358 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived()
370 CHECK((msgType == kWhatEmptyThisBuffer in onMessageReceived()
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduPersister.java602 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
607 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load()
608 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load()
618 switch (msgType) { in load()
660 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load()
664 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load()
1329 int msgType = pdu.getMessageType(); in persist() local
1334 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist()
1335 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist()
1336 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist()
[all …]

12