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

12

/frameworks/av/camera/
H A DICameraClient.cpp46 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
51 data.writeInt32(msgType);
58 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, argument
64 data.writeInt32(msgType);
74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
80 data.writeInt32(msgType);
107 int32_t msgType = data.readInt32(); local
110 notifyCallback(msgType, ext1, ext2);
116 int32_t msgType = data.readInt32(); local
125 dataCallback(msgType, imageDat
133 int32_t msgType = data.readInt32(); local
[all...]
H A DICameraRecordingProxyListener.cpp41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
47 data.writeInt32(msgType);
79 int32_t msgType = data.readInt32(); local
81 dataCallbackTimestamp(timestamp, msgType, imageData);
H A DCamera.cpp278 status_t Camera::takePicture(int msgType) argument
280 ALOGV("takePicture: 0x%x", msgType);
283 return c->takePicture(msgType);
343 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
345 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
358 listener->postData(msgType, dataPtr, metadata);
363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
374 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
385 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
H A DICamera.cpp228 status_t takePicture(int msgType) argument
230 ALOGV("takePicture: 0x%x", msgType);
233 data.writeInt32(msgType);
415 int msgType = data.readInt32(); local
416 reply->writeInt32(takePicture(msgType));
H A DCameraBase.cpp191 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, argument
201 listener->notify(msgType, ext1, ext2);
/frameworks/av/include/camera/android/hardware/
H A DICameraClient.h35 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
36 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data,
38 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
H A DICamera.h112 * @param msgType the message type an application selectively turn on/off
117 virtual status_t takePicture(int msgType) = 0;
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h55 virtual status_t takePicture(int msgType);
102 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
103 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
105 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
108 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
113 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
114 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
116 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
119 int32_t msgType,
168 void enableMsgType(int32_t msgType);
[all...]
H A DCameraClient.cpp582 status_t CameraClient::takePicture(int msgType) { argument
583 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
589 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
590 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
598 int picMsgType = msgType
714 void CameraClient::enableMsgType(int32_t msgType) { argument
715 android_atomic_or(msgType, &mMsgEnabled);
716 mHardware->enableMsgType(msgType);
719 void CameraClient::disableMsgType(int32_t msgType) { argument
720 android_atomic_and(~msgType,
725 lockIfMessageWanted(int32_t msgType) argument
766 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
786 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
819 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
861 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
944 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
953 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
962 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DContextHubMessage.java68 * @param msgType - message type
70 public void setMsgType(int msgType) { argument
71 mType = msgType;
95 * @param msgType - message type
99 public ContextHubMessage(int msgType, int version, byte[] data) { argument
100 mType = msgType;
/frameworks/av/include/camera/
H A DCamera.h42 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
43 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
45 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
128 status_t takePicture(int msgType);
164 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
165 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
167 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
H A DICameraRecordingProxyListener.h36 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
H A DCameraBase.h107 virtual void notifyCallback(int32_t msgType, int32_t ext,
/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);
81 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
82 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
89 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
106 * set whenever method addCallbackBuffer() with msgType =
194 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
207 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
211 if (msgType
247 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
300 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
347 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
358 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
443 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
765 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) argument
799 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,
203 void enableMsgType(int32_t msgType) argument
207 mDevice->ops->enable_msg_type(mDevice, msgType);
220 void disableMsgType(int32_t msgType) argument
224 mDevice->ops->disable_msg_type(mDevice, msgType);
232 int msgTypeEnabled(int32_t msgType) argument
236 return mDevice->ops->msg_type_enabled(mDevice, msgType);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp52 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
53 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
57 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
78 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { argument
79 UNUSED_UNLESS_VERBOSE(msgType);
82 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
85 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
88 msgType, dataPtr->pointer(), dataPtr->size());
92 source->dataCallback(msgType, dataPtr);
97 nsecs_t timestamp, int32_t msgType, cons
96 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
1266 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraSourceTimeLapse.cpp304 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
308 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.h54 status_t startCapture(int msgType);
175 sp<Camera2Client> client, int msgType);
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h145 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
H A DCameraSource.h140 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
222 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument
224 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java264 int msgType = (0xFF & pdu[index++]);
265 if (msgType != 0) {
296 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.cpp344 uint32_t msgType = msg->what();
345 ALOGV("msgType = %d", msgType);
346 switch (msgType) {
366 size_t portIndex = (kWhatEmptyThisBuffer == msgType)?
378 CHECK((msgType == kWhatEmptyThisBuffer
/frameworks/base/services/net/java/android/net/ip/
H A DIpReachabilityMonitor.java532 final short msgType = neighMsg.getHeader().nlmsg_type;
538 + NetlinkConstants.stringForNlMsgType(msgType) + ", "
551 (msgType == NetlinkConstants.RTM_DELNEIGH)

Completed in 499 milliseconds

12