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

12

/frameworks/av/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.cpp232 status_t Camera::takePicture(int msgType) argument
234 ALOGV("takePicture: 0x%x", msgType);
237 return c->takePicture(msgType);
297 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
299 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
303 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
312 listener->postData(msgType, dataPtr, metadata);
317 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
328 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
339 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DICamera.cpp207 status_t takePicture(int msgType) argument
209 ALOGV("takePicture: 0x%x", msgType);
212 data.writeInt32(msgType);
376 int msgType = data.readInt32(); local
377 reply->writeInt32(takePicture(msgType));
H A DCameraBase.cpp169 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, argument
179 listener->notify(msgType, ext1, ext2);
/frameworks/av/include/camera/
H A 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>& data) = 0;
H A 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>& dataPtr);
H A DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
H A DCameraBase.h93 virtual void notifyCallback(int32_t msgType, int32_t ext,
H A DICamera.h96 * @param msgType the message type an application selectively turn on/off
101 virtual status_t takePicture(int msgType) = 0;
/frameworks/av/services/camera/libcameraservice/api1/
H A 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>& dataPtr, void* user);
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<IMemory>& dataPtr);
115 int32_t msgType,
158 void enableMsgType(int32_t msgType);
[all...]
H A DCameraClient.cpp532 status_t CameraClient::takePicture(int msgType) { argument
533 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
539 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
540 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
548 int picMsgType = msgType
665 void CameraClient::enableMsgType(int32_t msgType) { argument
666 android_atomic_or(msgType, &mMsgEnabled);
667 mHardware->enableMsgType(msgType);
670 void CameraClient::disableMsgType(int32_t msgType) { argument
671 android_atomic_and(~msgType,
676 lockIfMessageWanted(int32_t msgType) argument
717 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
737 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
770 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
812 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
895 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
904 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
913 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
922 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...]
/frameworks/base/core/jni/
H A 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);
105 * set whenever method addCallbackBuffer() with msgType =
193 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
206 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
210 if (msgType
246 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
299 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
346 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
352 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
437 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
720 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) argument
754 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, jint msgType) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapEventReport.java117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { argument
119 if (t.name().equals(msgType)) {
124 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType);
/frameworks/av/services/camera/libcameraservice/device1/
H A 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) argument
169 mDevice->ops->enable_msg_type(mDevice, msgType);
182 void disableMsgType(int32_t msgType) argument
186 mDevice->ops->disable_msg_type(mDevice, msgType);
194 int msgTypeEnabled(int32_t msgType) argument
198 return mDevice->ops->msg_type_enabled(mDevice, msgType);
/frameworks/av/media/libstagefright/
H A 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) { argument
74 UNUSED_UNLESS_VERBOSE(msgType);
77 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
80 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
83 msgType, dataPtr->pointer(), dataPtr->size());
87 source->dataCallback(msgType, dataPtr);
92 nsecs_t timestamp, int32_t msgType, cons
91 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
937 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraSourceTimeLapse.cpp302 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
306 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.h55 status_t startCapture(int msgType);
180 sp<Camera2Client> client, int msgType);
H A DCaptureSequencer.cpp67 status_t CaptureSequencer::startCapture(int msgType) { argument
76 mMsgType = msgType;
773 sp<Camera2Client> client, int msgType) {
778 && (msgType & CAMERA_MSG_SHUTTER)) {
772 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h138 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
H A DCameraSource.h128 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
185 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument
187 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java281 int msgType = (0xFF & pdu[index++]);
282 if (msgType != 0) {
313 log("Received WAP PDU. Type = " + msgType + ", originator = " + address
/frameworks/base/core/java/android/hardware/
H A DCamera.java923 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
926 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
927 msgType != CAMERA_MSG_RAW_IMAGE) {
929 "Unsupported message type: " + msgType);
932 _addCallbackBuffer(callbackBuffer, msgType);
936 byte[] callbackBuffer, int msgType);
1381 private native final void native_takePicture(int msgType); argument
1420 int msgType = 0;
1422 msgType |= CAMERA_MSG_SHUTTER;
1425 msgType |
935 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp336 uint32_t msgType = msg->what();
337 ALOGV("msgType = %d", msgType);
338 switch (msgType) {
358 size_t portIndex = (kWhatEmptyThisBuffer == msgType)?
370 CHECK((msgType == kWhatEmptyThisBuffer
/frameworks/base/core/java/android/net/
H A DIpReachabilityMonitor.java453 final short msgType = neighMsg.getHeader().nlmsg_type;
459 + NetlinkConstants.stringForNlMsgType(msgType) + ", "
472 (msgType == NetlinkConstants.RTM_DELNEIGH)

Completed in 468 milliseconds

12