/frameworks/av/camera/ |
ICameraClient.cpp | 46 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) 51 data.writeInt32(msgType); 58 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, 64 data.writeInt32(msgType); 74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 80 data.writeInt32(msgType); 107 int32_t msgType = data.readInt32(); 110 notifyCallback(msgType, ext1, ext2); 116 int32_t msgType = data.readInt32(); 125 dataCallback(msgType, imageData, metadata) [all...] |
ICameraRecordingProxyListener.cpp | 41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 47 data.writeInt32(msgType); 79 int32_t msgType = data.readInt32(); 81 dataCallbackTimestamp(timestamp, msgType, imageData);
|
Camera.cpp | 278 status_t Camera::takePicture(int msgType) 280 ALOGV("takePicture: 0x%x", msgType); 283 return c->takePicture(msgType); 343 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) 345 return CameraBaseT::notifyCallback(msgType, ext1, ext2); 349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 358 listener->postData(msgType, dataPtr, metadata); 363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) 374 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); 385 listener->postDataTimestamp(timestamp, msgType, dataPtr) [all...] |
/frameworks/av/include/camera/android/hardware/ |
ICameraClient.h | 35 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;
|
ICamera.h | 112 * @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/ |
CameraClient.h | 55 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...] |
CameraClient.cpp | 582 status_t CameraClient::takePicture(int msgType) { 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) { 715 android_atomic_or(msgType, &mMsgEnabled); 716 mHardware->enableMsgType(msgType); 719 void CameraClient::disableMsgType(int32_t msgType) { 720 android_atomic_and(~msgType, &mMsgEnabled) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
ContextHubMessage.java | 68 * @param msgType - message type 70 public void setMsgType(int msgType) { 71 mType = msgType; 95 * @param msgType - message type 99 public ContextHubMessage(int msgType, int version, byte[] data) { 100 mType = msgType;
|
/frameworks/av/include/camera/ |
Camera.h | 42 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);
|
ICameraRecordingProxyListener.h | 36 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
|
CameraBase.h | 107 virtual void notifyCallback(int32_t msgType, int32_t ext,
|
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 76 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) 207 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it 211 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) [all...] |
android_hardware_location_ContextHubService.cpp | 557 static void passOnOsResponse(uint32_t hubHandle, uint32_t msgType, 563 ALOGW("Cannot latch to JNI env, dropping OS response %" PRIu32, msgType); 582 header[HEADER_FIELD_MSG_TYPE] = msgType; 683 static int handle_os_message(uint32_t msgType, uint32_t hubHandle, 688 hubHandle, msgType, msgLen); 692 switch(msgType) { 699 if (msgType == CONTEXT_HUB_LOAD_APP) { 702 passOnOsResponse(hubHandle, msgType, &rsp, (int8_t *)(&appInstanceHandle), 704 } else if (msgType == CONTEXT_HUB_UNLOAD_APP) { 706 passOnOsResponse(hubHandle, msgType, &rsp, nullptr, 0) [all...] |
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Rdi.cpp | 138 int msgType = 0; 157 msgType |= CAMERA_MSG_PREVIEW_FRAME; 163 ALOGD("Message enabled = 0x%x", msgType); 164 if(mActive && msgType) { 165 mHalCamCtrl->mDataCb(msgType, data, 0, NULL, mHalCamCtrl->mCallbackCookie);
|
/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 | 653 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) { 655 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); 657 if ( msgType & CAMERA_MSG_FOCUS ) 660 if ( msgType & CAMERA_MSG_SHUTTER ) 663 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1)) 687 void CameraHandler::postData(int32_t msgType, 690 printf("Data cb: %d\n", msgType); 692 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) 695 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { 700 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) [all...] |
/external/deqp/execserver/ |
xsTestDriver.cpp | 192 bool TestDriver::pollBuffer (ByteBuffer& messageBuffer, MessageType msgType) 204 numRead = msgType == MESSAGETYPE_PROCESS_LOG_DATA 217 Message::writeHeader(msgType, msgSize, &m_dataMsgTmpBuf[0], MESSAGE_HEADER_SIZE); 222 DBG_PRINT((" wrote %d bytes of %s data\n", msgSize, msgType == MESSAGETYPE_INFO ? "info" : "log"));
|
xsTestDriver.hpp | 63 bool pollBuffer (ByteBuffer& messageBuffer, MessageType msgType);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMapEventReport.java | 117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { 119 if (t.name().equals(msgType)) { 124 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
CaptureSequencer.h | 54 status_t startCapture(int msgType); 175 sp<Camera2Client> client, int msgType);
|
/device/moto/shamu/camera/QCamera2/HAL/test/ |
qcamera_test.h | 118 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2); 119 virtual void postData(int32_t msgType, 124 int32_t msgType, 127 int32_t msgType,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAppObserver.java | 224 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; 248 msgType = BluetoothMapUtils.TYPE.EMAIL; 251 msgType = BluetoothMapUtils.TYPE.IM; 262 + " application of type " + msgType); 264 false, msgType);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
CameraHardwareInterface.h | 32 typedef void (*notify_callback)(int32_t msgType, 37 typedef void (*data_callback)(int32_t msgType, 43 int32_t msgType, 195 * The following three functions all take a msgtype, 203 void enableMsgType(int32_t msgType) 207 mDevice->ops->enable_msg_type(mDevice, msgType); 220 void disableMsgType(int32_t msgType) 224 mDevice->ops->disable_msg_type(mDevice, msgType); 232 int msgTypeEnabled(int32_t msgType) 236 return mDevice->ops->msg_type_enabled(mDevice, msgType); [all...] |
/frameworks/av/media/libstagefright/ |
CameraSource.cpp | 52 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) { 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, 88 msgType, dataPtr->pointer(), dataPtr->size()); 92 source->dataCallback(msgType, dataPtr); 97 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) [all...] |
/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 145 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|