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

12

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h57 virtual status_t takePicture(int msgType);
106 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
109 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
111 int32_t msgType, const std::vector<HandleTimestampMessage>&, void* user);
114 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
119 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
122 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
125 int32_t msgType,
[all...]
H A DCameraClient.cpp638 status_t CameraClient::takePicture(int msgType) { argument
639 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
645 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
646 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
654 int picMsgType = msgType
770 void CameraClient::enableMsgType(int32_t msgType) { argument
771 android_atomic_or(msgType, &mMsgEnabled);
772 mHardware->enableMsgType(msgType);
775 void CameraClient::disableMsgType(int32_t msgType) { argument
776 android_atomic_and(~msgType,
781 lockIfMessageWanted(int32_t msgType) argument
832 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
852 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
885 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
903 handleCallbackTimestampBatch( int32_t msgType, const std::vector<HandleTimestampMessage>& msgs, void* user) argument
970 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
1053 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument
1062 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
1071 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
1100 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/camera/
H A DICameraClient.cpp47 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
52 data.writeInt32(msgType);
59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, argument
65 data.writeInt32(msgType);
75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
81 data.writeInt32(msgType);
131 int32_t msgType = data.readInt32(); local
134 notifyCallback(msgType, ext1, ext2);
140 int32_t msgType = data.readInt32(); local
149 dataCallback(msgType, imageDat
157 int32_t msgType = data.readInt32(); local
[all...]
H A DICameraRecordingProxyListener.cpp42 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
48 data.writeInt32(msgType);
110 int32_t msgType = data.readInt32(); local
112 dataCallbackTimestamp(timestamp, msgType, imageData);
H A DCamera.cpp286 status_t Camera::takePicture(int msgType) argument
288 ALOGV("takePicture: 0x%x", msgType);
291 return c->takePicture(msgType);
351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument
353 return CameraBaseT::notifyCallback(msgType, ext1, ext2);
357 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
366 listener->postData(msgType, dataPtr, metadata);
371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
382 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
393 listener->postDataTimestamp(timestamp, msgType, dataPt
[all...]
/frameworks/av/camera/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.h117 * @param msgType the message type an application selectively turn on/off
122 virtual status_t takePicture(int msgType) = 0;
/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.h117 * @param msgType the message type an application selectively turn on/off
122 virtual status_t takePicture(int msgType) = 0;
/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);
84 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
85 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
92 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
109 * set whenever method addCallbackBuffer() with msgType =
197 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument
210 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
214 if (msgType
250 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
303 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
350 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
384 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
469 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument
791 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) argument
825 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, jint msgType) argument
[all...]
/frameworks/av/camera/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;
135 status_t takePicture(int msgType);
171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
H A DICameraRecordingProxyListener.h37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t 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;
135 status_t takePicture(int msgType);
171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
H A DICameraRecordingProxyListener.h37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h35 typedef void (*notify_callback)(int32_t msgType,
40 typedef void (*data_callback)(int32_t msgType,
46 int32_t msgType,
56 int32_t msgType,
134 void enableMsgType(int32_t msgType);
146 void disableMsgType(int32_t msgType);
153 int msgTypeEnabled(int32_t msgType);
414 hardware::camera::device::V1_0::NotifyCallbackMsg msgType,
421 hardware::camera::device::V1_0::DataCallbackMsg msgType,
425 hardware::camera::device::V1_0::DataCallbackMsg msgType,
[all...]
H A DCameraHardwareInterface.cpp85 NotifyCallbackMsg msgType, int32_t ext1, int32_t ext2) {
86 sNotifyCb((int32_t) msgType, ext1, ext2, (void*) this);
127 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex,
136 sDataCb((int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, &md, this);
141 DataCallbackMsg msgType, uint32_t data,
147 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this);
152 DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data,
162 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this);
167 DataCallbackMsg msgType,
192 mDataCbTimestampBatch((int32_t) msgType, msg
84 notifyCallback( NotifyCallbackMsg msgType, int32_t ext1, int32_t ext2) argument
126 dataCallback( DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, const hardware::camera::device::V1_0::CameraFrameMetadata& metadata) argument
140 dataCallbackTimestamp( DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument
151 handleCallbackTimestamp( DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument
166 handleCallbackTimestampBatch( DataCallbackMsg msgType, const hardware::hidl_vec<hardware::camera::device::V1_0::HandleTimestampMessage>& messages) argument
492 enableMsgType(int32_t msgType) argument
502 disableMsgType(int32_t msgType) argument
512 msgTypeEnabled(int32_t msgType) argument
[all...]
/frameworks/av/camera/tests/
H A DCameraZSLTests.cpp47 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
48 void dataCallback(int32_t msgType, const sp<IMemory>&,
98 void CameraZSLTests::notifyCallback(int32_t msgType, int32_t, argument
100 if (CAMERA_MSG_FOCUS == msgType) {
105 ALOGV("%s: msgType: %d", __FUNCTION__, msgType);
109 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, argument
112 switch (msgType) {
127 ALOGV("%s: msgType: %d", __FUNCTION__, msgType);
[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/base/services/core/jni/
H A Dcom_android_server_location_ContextHubService.cpp117 uint32_t msgType,
252 msgHeader[HEADER_FIELD_MSG_TYPE] = msg.msgType;
713 uint32_t msgType,
721 msgType);
740 header[HEADER_FIELD_MSG_TYPE] = msgType;
1073 uint32_t msgType = header[HEADER_FIELD_MSG_TYPE]; local
1077 if (msgType == CONTEXT_HUB_UNLOAD_APP) {
1079 } else if (msgType == CONTEXT_HUB_LOAD_APP) {
1098 if (msgType == CONTEXT_HUB_LOAD_APP ||
1099 msgType
712 passOnOsResponse(uint32_t hubHandle, uint32_t msgType, TransactionResult result, const int8_t *additionalData, size_t additionalDataLen) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.h54 status_t startCapture(int msgType);
175 const sp<Camera2Client>& client, int msgType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java265 int msgType = (0xFF & pdu[index++]);
266 if (msgType != 0) {
297 log("Received WAP PDU. Type = " + msgType + ", originator = " + address
/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);
82 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { argument
83 UNUSED_UNLESS_VERBOSE(msgType);
86 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
89 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
92 msgType, dataPtr->pointer(), dataPtr->size());
96 source->dataCallback(msgType, dataPtr);
101 nsecs_t timestamp, int32_t msgType, cons
100 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
1386 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java937 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument
940 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
941 msgType != CAMERA_MSG_RAW_IMAGE) {
943 "Unsupported message type: " + msgType);
946 _addCallbackBuffer(callbackBuffer, msgType);
950 byte[] callbackBuffer, int msgType);
1395 private native final void native_takePicture(int msgType); argument
1434 int msgType = 0;
1436 msgType |= CAMERA_MSG_SHUTTER;
1439 msgType |
949 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DContextHubService.java277 int msgType = header[HEADER_FIELD_MSG_TYPE];
282 Log.d(TAG, "Sending message " + msgType + " version " + msgVersion + " from hubHandle " +
290 ContextHubMessage msg = new ContextHubMessage(msgType, msgVersion, data);

Completed in 597 milliseconds

12