/frameworks/base/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/base/libs/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 | 293 status_t Camera::takePicture(int msgType) 295 LOGV("takePicture: 0x%x", msgType); 298 return c->takePicture(msgType); 350 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) 358 listener->notify(msgType, ext1, ext2); 363 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 372 listener->postData(msgType, dataPtr, metadata); 377 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) 388 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); 398 listener->postDataTimestamp(timestamp, msgType, dataPtr) [all...] |
ICamera.cpp | 203 status_t takePicture(int msgType) 205 LOGV("takePicture: 0x%x", msgType); 208 data.writeInt32(msgType); 369 int msgType = data.readInt32(); 370 reply->writeInt32(takePicture(msgType));
|
/frameworks/base/services/camera/libcameraservice/ |
CameraService.h | 106 virtual status_t takePicture(int msgType); 144 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user); 145 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 147 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user); 152 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 157 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2); 158 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 160 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 163 int32_t msgType, 206 void enableMsgType(int32_t msgType); [all...] |
CameraService.cpp | 764 status_t CameraService::Client::takePicture(int msgType) { 765 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); 771 if ((msgType & CAMERA_MSG_RAW_IMAGE) && 772 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { 780 int picMsgType = msgType 884 void CameraService::Client::enableMsgType(int32_t msgType) { 885 android_atomic_or(msgType, &mMsgEnabled); 886 mHardware->enableMsgType(msgType); 889 void CameraService::Client::disableMsgType(int32_t msgType) { 890 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 | 34 typedef void (*notify_callback)(int32_t msgType, 39 typedef void (*data_callback)(int32_t msgType, 45 int32_t msgType, 152 * The following three functions all take a msgtype, 160 void enableMsgType(int32_t msgType) 164 mDevice->ops->enable_msg_type(mDevice, msgType); 177 void disableMsgType(int32_t msgType) 181 mDevice->ops->disable_msg_type(mDevice, msgType); 189 int msgTypeEnabled(int32_t msgType) 193 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/base/services/camera/tests/CameraServiceTest/ |
CameraServiceTest.cpp | 170 virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2); 171 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data); 173 int32_t msgType, const sp<IMemory>& data); 178 void assertNotify(int32_t msgType, OP op, int count); 179 void assertData(int32_t msgType, OP op, int count); 180 void waitNotify(int32_t msgType, OP op, int count); 181 void waitData(int32_t msgType, OP op, int count); 182 void assertDataSize(int32_t msgType, OP op, int dataSize); 225 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) { 227 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 | 655 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) { 657 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); 659 if ( msgType & CAMERA_MSG_FOCUS ) 662 if ( msgType & CAMERA_MSG_SHUTTER ) 665 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1)) 689 void CameraHandler::postData(int32_t msgType, 692 printf("Data cb: %d\n", msgType); 694 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) 697 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { 702 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) [all...] |
/frameworks/base/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 LOGV("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/base/include/media/stagefright/ |
CameraSource.h | 119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 174 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} 176 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|
CameraSourceTimeLapse.h | 134 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportActivity.java | 147 String msgType = null; 150 msgType = icicle.getString("message_type"); 153 if (msgType == null) { 154 msgType = intent.getStringExtra("message_type"); 157 return msgType;
|
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/ |
LCML_Types.h | 123 DSP_EventType msgType;
|
/frameworks/base/core/java/android/hardware/ |
Camera.java | 646 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) 649 if (msgType != CAMERA_MSG_PREVIEW_FRAME && 650 msgType != CAMERA_MSG_RAW_IMAGE) { 652 "Unsupported message type: " + msgType); 655 _addCallbackBuffer(callbackBuffer, msgType); 659 byte[] callbackBuffer, int msgType); [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DockService.java | 255 int msgType = msg.what; 263 if(DEBUG) Log.d(TAG, "processMessage: " + msgType + " state: " + state + " device = " 268 switch (msgType) { 290 if (mDialog == null && mPendingDevice == null && msgType != MSG_TYPE_UNDOCKED_TEMPORARY 435 int msgType; 438 msgType = MSG_TYPE_UNDOCKED_TEMPORARY; 445 msgType = MSG_TYPE_SHOW_UI; 447 msgType = MSG_TYPE_DOCKED; 454 return mServiceHandler.obtainMessage(msgType, state, 0, device); [all...] |