/frameworks/av/camera/ |
H A D | ICameraClient.cpp | 42 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument 47 data.writeInt32(msgType); 54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, argument 60 data.writeInt32(msgType); 70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument 76 data.writeInt32(msgType); 93 int32_t msgType = data.readInt32(); local 96 notifyCallback(msgType, ext1, ext2); 102 int32_t msgType = data.readInt32(); local 111 dataCallback(msgType, imageDat 119 int32_t msgType = data.readInt32(); local [all...] |
H A D | ICameraRecordingProxyListener.cpp | 38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument 44 data.writeInt32(msgType); 62 int32_t msgType = data.readInt32(); local 64 dataCallbackTimestamp(timestamp, msgType, imageData);
|
H A D | Camera.cpp | 294 status_t Camera::takePicture(int msgType) argument 296 ALOGV("takePicture: 0x%x", msgType); 299 return c->takePicture(msgType); 351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument 359 listener->notify(msgType, ext1, ext2); 364 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument 373 listener->postData(msgType, dataPtr, metadata); 378 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 389 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); 399 listener->postDataTimestamp(timestamp, msgType, dataPt [all...] |
H A D | ICamera.cpp | 205 status_t takePicture(int msgType) argument 207 ALOGV("takePicture: 0x%x", msgType); 210 data.writeInt32(msgType); 371 int msgType = data.readInt32(); local 372 reply->writeInt32(takePicture(msgType));
|
/frameworks/av/include/camera/ |
H A D | 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;
|
H A D | 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);
|
H A D | ICameraRecordingProxyListener.h | 35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
|
H A D | 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/ |
H A D | CameraClient.h | 48 virtual status_t takePicture(int msgType); 89 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user); 90 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 92 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user); 95 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 100 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2); 101 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 103 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 106 int32_t msgType, 145 void enableMsgType(int32_t msgType); [all...] |
H A D | CameraClient.cpp | 509 status_t CameraClient::takePicture(int msgType) { argument 510 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); 516 if ((msgType & CAMERA_MSG_RAW_IMAGE) && 517 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { 525 int picMsgType = msgType 633 void CameraClient::enableMsgType(int32_t msgType) { argument 634 android_atomic_or(msgType, &mMsgEnabled); 635 mHardware->enableMsgType(msgType); 638 void CameraClient::disableMsgType(int32_t msgType) { argument 639 android_atomic_and(~msgType, 644 lockIfMessageWanted(int32_t msgType) argument 686 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument 711 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument 749 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument 790 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument 873 handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2) argument 882 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument 891 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 900 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument [all...] |
H A D | CameraHardwareInterface.h | 32 typedef void (*notify_callback)(int32_t msgType, 37 typedef void (*data_callback)(int32_t msgType, 43 int32_t msgType, 158 void enableMsgType(int32_t msgType) argument 162 mDevice->ops->enable_msg_type(mDevice, msgType); 175 void disableMsgType(int32_t msgType) argument 179 mDevice->ops->disable_msg_type(mDevice, msgType); 187 int msgTypeEnabled(int32_t msgType) argument 191 return mDevice->ops->msg_type_enabled(mDevice, msgType);
|
H A D | CameraService.h | 96 virtual status_t takePicture(int msgType) = 0;
|
H A D | Camera2Client.h | 64 virtual status_t takePicture(int msgType);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 63 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2); 64 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 66 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 67 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata); 68 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType); 75 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 91 * set whenever method addCallbackBuffer() with msgType = 171 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) argument 184 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it 188 if (msgType 224 copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument 277 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument 324 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 330 postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument 388 addCallbackBuffer( JNIEnv *env, jbyteArray cbb, int msgType) argument 622 android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, int msgType) argument 656 android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, int msgType) argument [all...] |
/frameworks/av/services/camera/tests/CameraServiceTest/ |
H A D | 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) { argument 226 int v = mNotifyCount.valueFor(msgType); 230 assertData(int32_t msgType, OP op, int count) argument 236 assertDataSize(int32_t msgType, OP op, int dataSize) argument 242 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) argument 254 dataCallback(int32_t msgType, const sp<IMemory>& data) argument 275 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) argument 280 waitNotify(int32_t msgType, OP op, int count) argument 292 waitData(int32_t msgType, OP op, int count) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | 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) { argument 66 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2); 69 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument 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, dataPt 80 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 802 dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, const sp<IMemory> &data) argument 860 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument [all...] |
H A D | CameraSourceTimeLapse.cpp | 289 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, argument 293 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);
|
/frameworks/av/include/media/stagefright/ |
H A D | CameraSource.h | 119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 174 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} argument 176 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|
H A D | CameraSourceTimeLapse.h | 131 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 727 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) argument 730 if (msgType != CAMERA_MSG_PREVIEW_FRAME && 731 msgType != CAMERA_MSG_RAW_IMAGE) { 733 "Unsupported message type: " + msgType); 736 _addCallbackBuffer(callbackBuffer, msgType); 740 byte[] callbackBuffer, int msgType); 1042 private native final void native_takePicture(int msgType); argument 1081 int msgType = 0; 1083 msgType |= CAMERA_MSG_SHUTTER; 1086 msgType | 739 _addCallbackBuffer( byte[] callbackBuffer, int msgType) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPreviewController.h | 26 typedef void (*jni_progress_callback_fct)(void* cookie, M4OSA_UInt32 msgType, void *argc);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SimpleSoftOMXComponent.cpp | 336 uint32_t msgType = msg->what(); 337 ALOGV("msgType = %d", msgType); 338 switch (msgType) { 358 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? 370 CHECK((msgType == kWhatEmptyThisBuffer
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 602 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); 607 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) 608 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { 618 switch (msgType) { 660 "Unsupported PDU type: " + Integer.toHexString(msgType)); 664 "Unrecognized PDU type: " + Integer.toHexString(msgType)); 1329 int msgType = pdu.getMessageType(); 1334 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) 1335 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) 1336 || (msgType [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 244 int msgType = (0xFF & pdu[index++]); 245 if (msgType != 0) { 276 Log.i(TAG, "Received WAP PDU. Type = " + msgType + ", originator = " + address
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 717 outStream.write(8, bData.userData.msgType); 978 bData.userData.msgType = 0; 982 bData.userData.msgType = inStream.read(8); 1241 switch (bData.userData.msgType) { 1254 bData.userData.msgType + ")"); 1787 alertUserData.msgType = 0;
|