HomeSort by relevance Sort by last modified time
    Searched refs:msgType (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/av/camera/
ICameraClient.cpp 42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2)
47 data.writeInt32(msgType);
54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData,
60 data.writeInt32(msgType);
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData)
76 data.writeInt32(msgType);
93 int32_t msgType = data.readInt32();
96 notifyCallback(msgType, ext1, ext2);
102 int32_t msgType = data.readInt32();
111 dataCallback(msgType, imageData, metadata)
    [all...]
ICameraRecordingProxyListener.cpp 38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData)
44 data.writeInt32(msgType);
62 int32_t msgType = data.readInt32();
64 dataCallbackTimestamp(timestamp, msgType, imageData);
Camera.cpp 294 status_t Camera::takePicture(int msgType)
296 ALOGV("takePicture: 0x%x", msgType);
299 return c->takePicture(msgType);
351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2)
359 listener->notify(msgType, ext1, ext2);
364 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
373 listener->postData(msgType, dataPtr, metadata);
378 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr)
389 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
399 listener->postDataTimestamp(timestamp, msgType, dataPtr)
    [all...]
ICamera.cpp 205 status_t takePicture(int msgType)
207 ALOGV("takePicture: 0x%x", msgType);
210 data.writeInt32(msgType);
371 int msgType = data.readInt32();
372 reply->writeInt32(takePicture(msgType));
  /frameworks/av/include/camera/
ICameraClient.h 34 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
35 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data,
37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
ICameraRecordingProxyListener.h 35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
Camera.h 61 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
62 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
64 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
120 status_t takePicture(int msgType);
141 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
142 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
144 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
ICamera.h 89 * @param msgType the message type an application selectively turn on/off
94 virtual status_t takePicture(int msgType) = 0;
  /frameworks/av/services/camera/libcameraservice/
CameraService.h 110 virtual status_t takePicture(int msgType);
148 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
149 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
151 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
157 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
162 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2);
163 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
165 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
168 int32_t msgType,
221 void enableMsgType(int32_t msgType);
    [all...]
CameraService.cpp 791 status_t CameraService::Client::takePicture(int msgType) {
792 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType);
801 if ((msgType & CAMERA_MSG_RAW_IMAGE) &&
802 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) {
810 picMsgType = msgType
921 void CameraService::Client::enableMsgType(int32_t msgType) {
922 android_atomic_or(msgType, &mMsgEnabled);
923 mHardware->enableMsgType(msgType);
926 void CameraService::Client::disableMsgType(int32_t msgType) {
927 android_atomic_and(~msgType, &mMsgEnabled)
    [all...]
CameraHardwareStub.h 40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
CameraHardwareStub.cpp 126 void CameraHardwareStub::enableMsgType(int32_t msgType)
129 mMsgEnabled |= msgType;
132 void CameraHardwareStub::disableMsgType(int32_t msgType)
135 mMsgEnabled &= ~msgType;
138 bool CameraHardwareStub::msgTypeEnabled(int32_t msgType)
141 return (mMsgEnabled & msgType);
CameraHardwareInterface.h 32 typedef void (*notify_callback)(int32_t msgType,
37 typedef void (*data_callback)(int32_t msgType,
43 int32_t msgType,
150 * The following three functions all take a msgtype,
158 void enableMsgType(int32_t msgType)
162 mDevice->ops->enable_msg_type(mDevice, msgType);
175 void disableMsgType(int32_t msgType)
179 mDevice->ops->disable_msg_type(mDevice, msgType);
187 int msgTypeEnabled(int32_t msgType)
191 return mDevice->ops->msg_type_enabled(mDevice, msgType);
    [all...]
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 61 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
62 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
64 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
65 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
66 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
73 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
89 * set whenever method addCallbackBuffer() with msgType =
169 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
182 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
186 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY)
    [all...]
  /frameworks/av/services/camera/tests/CameraServiceTest/
CameraServiceTest.cpp 169 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2);
170 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data);
172 int32_t msgType, const sp<IMemory>& data);
177 void assertNotify(int32_t msgType, OP op, int count);
178 void assertData(int32_t msgType, OP op, int count);
179 void waitNotify(int32_t msgType, OP op, int count);
180 void waitData(int32_t msgType, OP op, int count);
181 void assertDataSize(int32_t msgType, OP op, int dataSize);
224 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) {
226 int v = mNotifyCount.valueFor(msgType);
    [all...]
  /hardware/ti/omap4xxx/test/CameraHal/
camera_test.h 69 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
70 virtual void postData(int32_t msgType,
74 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
camera_test_menu.cpp 651 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) {
653 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2);
655 if ( msgType & CAMERA_MSG_FOCUS )
658 if ( msgType & CAMERA_MSG_SHUTTER )
661 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1))
685 void CameraHandler::postData(int32_t msgType,
688 printf("Data cb: %d\n", msgType);
690 if ( msgType & CAMERA_MSG_PREVIEW_FRAME )
693 if ( msgType & CAMERA_MSG_RAW_IMAGE ) {
698 if (msgType & CAMERA_MSG_POSTVIEW_FRAME)
    [all...]
  /frameworks/av/media/libstagefright/
CameraSource.cpp 41 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
42 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
46 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
65 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) {
66 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2);
69 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr,
72 msgType, dataPtr->pointer(), dataPtr->size());
76 source->dataCallback(msgType, dataPtr);
81 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
85 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr)
    [all...]
  /device/samsung/crespo/libcamera/
SecCameraHWInterface.h 40 virtual void enableMsgType(int32_t msgType);
41 virtual void disableMsgType(int32_t msgType);
42 virtual bool msgTypeEnabled(int32_t msgType);
  /frameworks/av/include/media/stagefright/
CameraSource.h 119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
173 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {}
175 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
CameraSourceTimeLapse.h 131 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
  /hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/
IFmRadio.aidl 135 boolean txSetRdsTextRtMsg(int msgType, String msg, int msgLength);
  /hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/
LCML_Types.h 123 DSP_EventType msgType;
  /packages/apps/Mms/src/com/android/mms/ui/
DeliveryReportActivity.java 151 String msgType = null;
154 msgType = icicle.getString("message_type");
157 if (msgType == null) {
158 msgType = intent.getStringExtra("message_type");
161 return msgType;
  /frameworks/base/core/java/android/hardware/
Camera.java 693 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType)
696 if (msgType != CAMERA_MSG_PREVIEW_FRAME &&
697 msgType != CAMERA_MSG_RAW_IMAGE) {
699 "Unsupported message type: " + msgType);
702 _addCallbackBuffer(callbackBuffer, msgType);
706 byte[] callbackBuffer, int msgType);
    [all...]

Completed in 421 milliseconds

1 2