Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp523 status_t CameraClient::takePicture(int msgType) { in takePicture() argument
524 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); in takePicture()
530 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture()
531 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture()
539 int picMsgType = msgType in takePicture()
656 void CameraClient::enableMsgType(int32_t msgType) { in enableMsgType() argument
657 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType()
658 mHardware->enableMsgType(msgType); in enableMsgType()
661 void CameraClient::disableMsgType(int32_t msgType) { in disableMsgType() argument
662 android_atomic_and(~msgType, &mMsgEnabled); in disableMsgType()
[all …]
DCameraClient.h54 virtual status_t takePicture(int msgType);
98 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
99 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
101 …static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory…
104 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
109 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
110 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
112 …void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IM…
115 int32_t msgType,
158 void enableMsgType(int32_t msgType);
[all …]
/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.cpp232 status_t Camera::takePicture(int msgType) in takePicture() argument
234 ALOGV("takePicture: 0x%x", msgType); in takePicture()
237 return c->takePicture(msgType); in takePicture()
297 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
299 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback()
303 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
312 listener->postData(msgType, dataPtr, metadata); in dataCallback()
317 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
328 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
339 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
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.cpp169 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument
179 listener->notify(msgType, ext1, ext2); in notifyCallback()
/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;
118 status_t takePicture(int msgType);
147 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
148 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
150 …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…
DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
DCameraBase.h93 virtual void notifyCallback(int32_t msgType, int32_t ext,
DICamera.h101 virtual status_t takePicture(int msgType) = 0;
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp76 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
80 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
81 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
88 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
193 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
210 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
211 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
215 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify()
[all …]
/frameworks/av/media/libstagefright/
DCameraSource.cpp49 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
50 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
54 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
73 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { in notify() argument
74 UNUSED_UNLESS_VERBOSE(msgType); in notify()
77 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2); in notify()
80 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument
83 msgType, dataPtr->pointer(), dataPtr->size()); in postData()
87 source->dataCallback(msgType, dataPtr); in postData()
92 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument
[all …]
DCameraSourceTimeLapse.cpp302 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument
306 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,
165 void enableMsgType(int32_t msgType) in enableMsgType() argument
169 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType()
182 void disableMsgType(int32_t msgType) in disableMsgType() argument
186 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType()
194 int msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
198 return mDevice->ops->msg_type_enabled(mDevice, msgType); in msgTypeEnabled()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapEventReport.java117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() argument
119 if (t.name().equals(msgType)) { in parseMsgType()
124 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType); in parseMsgType()
/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,
185 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback() argument
187 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.h55 status_t startCapture(int msgType);
180 sp<Camera2Client> client, int msgType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java281 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
282 if (msgType != 0) { in processCdmaWapPdu()
313 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/frameworks/base/core/java/android/hardware/
DCamera.java923 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
926 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
927 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
929 "Unsupported message type: " + msgType); in addCallbackBuffer()
932 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
936 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
1381 private native final void native_takePicture(int msgType); in native_takePicture() argument
1420 int msgType = 0; in takePicture() local
1422 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1425 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture()
[all …]
/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/telephony/src/java/com/google/android/mms/pdu/
DPduPersister.java605 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
610 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load()
611 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load()
621 switch (msgType) { in load()
663 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load()
667 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load()
1335 int msgType = pdu.getMessageType(); in persist() local
1340 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist()
1341 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist()
1342 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist()
[all …]
/frameworks/base/core/java/android/net/
DIpReachabilityMonitor.java420 final short msgType = neighMsg.getHeader().nlmsg_type; in evaluateRtNetlinkNeighborMessage() local
426 + NetlinkConstants.stringForNlMsgType(msgType) + ", " in evaluateRtNetlinkNeighborMessage()
439 (msgType == NetlinkConstants.RTM_DELNEIGH) in evaluateRtNetlinkNeighborMessage()

12