Searched defs:msgType (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/camera/
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 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 DCameraBase.cpp191 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, argument
201 listener->notify(msgType, ext1, ext2);
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));
/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/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/include/media/stagefright/
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/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp304 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument
308 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
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...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp67 status_t CaptureSequencer::startCapture(int msgType) { argument
76 mMsgType = msgType;
712 sp<Camera2Client> client, int msgType) {
717 && (msgType & CAMERA_MSG_SHUTTER)) {
711 shutterNotifyLocked(const Parameters &params, sp<Camera2Client> client, int msgType) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DUserData.java134 public int msgType; field in class:UserData
155 builder.append(", msgType=" + msgType);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp1376 status_t Camera2Client::takePicture(int msgType) { argument
1475 res = mCaptureSequencer->startCapture(msgType);
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/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/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...]
H A Dandroid_hardware_location_ContextHubService.cpp364 int handle_os_message(uint32_t msgType, uint32_t hubHandle, argument
369 // hubHandle, msgType, msgLen);
371 switch(msgType) {
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java2021 void notify(int msgType) { argument
2022 mErrorNotification = msgType;
2025 sm.sendMessage(msgType);
/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...]

Completed in 8157 milliseconds