/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 582 status_t CameraClient::takePicture(int msgType) { in takePicture() argument 583 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); in takePicture() 589 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture() 590 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture() 598 int picMsgType = msgType in takePicture() 714 void CameraClient::enableMsgType(int32_t msgType) { in enableMsgType() argument 715 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType() 716 mHardware->enableMsgType(msgType); in enableMsgType() 719 void CameraClient::disableMsgType(int32_t msgType) { in disableMsgType() argument 720 android_atomic_and(~msgType, &mMsgEnabled); in disableMsgType() [all …]
|
D | 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… 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<IM… 119 int32_t msgType, 168 void enableMsgType(int32_t msgType); [all …]
|
/frameworks/av/camera/ |
D | ICameraClient.cpp | 46 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 51 data.writeInt32(msgType); in notifyCallback() 58 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback() argument 64 data.writeInt32(msgType); in dataCallback() 74 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 80 data.writeInt32(msgType); in dataCallbackTimestamp() 107 int32_t msgType = data.readInt32(); in onTransact() local 110 notifyCallback(msgType, ext1, ext2); in onTransact() 116 int32_t msgType = data.readInt32(); in onTransact() local 125 dataCallback(msgType, imageData, metadata); in onTransact() [all …]
|
D | ICameraRecordingProxyListener.cpp | 41 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 47 data.writeInt32(msgType); in dataCallbackTimestamp() 79 int32_t msgType = data.readInt32(); in onTransact() local 81 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact()
|
D | Camera.cpp | 278 status_t Camera::takePicture(int msgType) in takePicture() argument 280 ALOGV("takePicture: 0x%x", msgType); in takePicture() 283 return c->takePicture(msgType); in takePicture() 343 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 345 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback() 349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument 358 listener->postData(msgType, dataPtr, metadata); in dataCallback() 363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument 374 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 385 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
|
D | ICamera.cpp | 228 status_t takePicture(int msgType) in takePicture() argument 230 ALOGV("takePicture: 0x%x", msgType); in takePicture() 233 data.writeInt32(msgType); in takePicture() 415 int msgType = data.readInt32(); in onTransact() local 416 reply->writeInt32(takePicture(msgType)); in onTransact()
|
D | CameraBase.cpp | 191 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument 201 listener->notify(msgType, ext1, ext2); in notifyCallback()
|
/frameworks/base/core/jni/ |
D | 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); 194 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument 211 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify() 212 msgType = CAMERA_MSG_RAW_IMAGE; in notify() 216 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify() [all …]
|
D | android_hardware_location_ContextHubService.cpp | 557 static void passOnOsResponse(uint32_t hubHandle, uint32_t msgType, in passOnOsResponse() argument 563 ALOGW("Cannot latch to JNI env, dropping OS response %" PRIu32, msgType); in passOnOsResponse() 582 header[HEADER_FIELD_MSG_TYPE] = msgType; in passOnOsResponse() 683 static int handle_os_message(uint32_t msgType, uint32_t hubHandle, in handle_os_message() argument 688 hubHandle, msgType, msgLen); in handle_os_message() 692 switch(msgType) { in handle_os_message() 699 if (msgType == CONTEXT_HUB_LOAD_APP) { in handle_os_message() 702 passOnOsResponse(hubHandle, msgType, &rsp, (int8_t *)(&appInstanceHandle), in handle_os_message() 704 } else if (msgType == CONTEXT_HUB_UNLOAD_APP) { in handle_os_message() 706 passOnOsResponse(hubHandle, msgType, &rsp, nullptr, 0); in handle_os_message() [all …]
|
/frameworks/av/include/camera/ |
D | 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>& d…
|
D | ICameraRecordingProxyListener.h | 36 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubMessage.java | 70 public void setMsgType(int msgType) { in setMsgType() argument 71 mType = msgType; in setMsgType() 99 public ContextHubMessage(int msgType, int version, byte[] data) { in ContextHubMessage() argument 100 mType = msgType; in ContextHubMessage()
|
/frameworks/av/include/camera/android/hardware/ |
D | 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…
|
/frameworks/av/media/libstagefright/ |
D | 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) { in notify() argument 79 UNUSED_UNLESS_VERBOSE(msgType); in notify() 82 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2); in notify() 85 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument 88 msgType, dataPtr->pointer(), dataPtr->size()); in postData() 92 source->dataCallback(msgType, dataPtr); in postData() 97 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument [all …]
|
D | CameraSourceTimeLapse.cpp | 304 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument 308 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data); in dataCallbackTimestamp()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 32 typedef void (*notify_callback)(int32_t msgType, 37 typedef void (*data_callback)(int32_t msgType, 43 int32_t msgType, 203 void enableMsgType(int32_t msgType) in enableMsgType() argument 207 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType() 220 void disableMsgType(int32_t msgType) in disableMsgType() argument 224 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType() 232 int msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument 236 return mDevice->ops->msg_type_enabled(mDevice, msgType); in msgTypeEnabled()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapEventReport.java | 117 private BluetoothMapBmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() argument 119 if (t.name().equals(msgType)) { in parseMsgType() 124 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType); in parseMsgType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
D | UserData.java | 134 public int msgType; field in UserData 155 builder.append(", msgType=" + msgType); in toString()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.h | 54 status_t startCapture(int msgType); 175 sp<Camera2Client> client, int msgType);
|
D | CaptureSequencer.cpp | 67 status_t CaptureSequencer::startCapture(int msgType) { in startCapture() argument 76 mMsgType = msgType; in startCapture() 712 sp<Camera2Client> client, int msgType) { in shutterNotifyLocked() argument 717 && (msgType & CAMERA_MSG_SHUTTER)) { in shutterNotifyLocked()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 923 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument 926 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer() 927 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer() 929 "Unsupported message type: " + msgType); in addCallbackBuffer() 932 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer() 936 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument 1381 private native final void native_takePicture(int msgType); in native_takePicture() argument 1420 int msgType = 0; in takePicture() local 1422 msgType |= CAMERA_MSG_SHUTTER; in takePicture() 1425 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | CameraSource.h | 140 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 222 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback() argument 224 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 264 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local 265 if (msgType != 0) { in processCdmaWapPdu() 296 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
|
/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 344 uint32_t msgType = msg->what(); in onMessageReceived() local 345 ALOGV("msgType = %d", msgType); in onMessageReceived() 346 switch (msgType) { in onMessageReceived() 366 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived() 378 CHECK((msgType == kWhatEmptyThisBuffer in onMessageReceived()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 606 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local 611 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load() 612 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load() 622 switch (msgType) { in load() 664 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load() 668 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load() 1336 int msgType = pdu.getMessageType(); in persist() local 1341 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist() 1342 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist() 1343 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist() [all …]
|