/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 57 virtual status_t takePicture(int msgType); 106 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user); 107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 109 …static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory… 111 … int32_t msgType, const std::vector<HandleTimestampMessage>&, void* user); 114 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 119 void handleGenericNotify(int32_t msgType, int32_t ext1, int32_t ext2); 120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 122 …void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IM… 125 int32_t msgType, [all …]
|
D | CameraClient.cpp | 651 status_t CameraClient::takePicture(int msgType) { in takePicture() argument 652 LOG1("takePicture (pid %d): 0x%x", CameraThreadState::getCallingPid(), msgType); in takePicture() 658 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture() 659 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture() 667 int picMsgType = msgType in takePicture() 765 void CameraClient::enableMsgType(int32_t msgType) { in enableMsgType() argument 766 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType() 767 mHardware->enableMsgType(msgType); in enableMsgType() 770 void CameraClient::disableMsgType(int32_t msgType) { in disableMsgType() argument 771 android_atomic_and(~msgType, &mMsgEnabled); in disableMsgType() [all …]
|
/frameworks/av/camera/ |
D | ICameraClient.cpp | 47 void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 52 data.writeInt32(msgType); in notifyCallback() 59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback() argument 65 data.writeInt32(msgType); in dataCallback() 75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 81 data.writeInt32(msgType); in dataCallbackTimestamp() 131 int32_t msgType = data.readInt32(); in onTransact() local 134 notifyCallback(msgType, ext1, ext2); in onTransact() 140 int32_t msgType = data.readInt32(); in onTransact() local 149 dataCallback(msgType, imageData, metadata); in onTransact() [all …]
|
D | Camera.cpp | 286 status_t Camera::takePicture(int msgType) in takePicture() argument 288 ALOGV("takePicture: 0x%x", msgType); in takePicture() 291 return c->takePicture(msgType); in takePicture() 351 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument 353 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback() 357 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument 366 listener->postData(msgType, dataPtr, metadata); in dataCallback() 371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument 382 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 393 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
|
D | ICameraRecordingProxyListener.cpp | 42 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 48 data.writeInt32(msgType); in dataCallbackTimestamp() 110 int32_t msgType = data.readInt32(); in onTransact() local 112 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact()
|
D | ICamera.cpp | 247 status_t takePicture(int msgType) in takePicture() argument 249 ALOGV("takePicture: 0x%x", msgType); in takePicture() 252 data.writeInt32(msgType); in takePicture() 447 int msgType = data.readInt32(); in onTransact() local 448 reply->writeInt32(takePicture(msgType)); in onTransact()
|
D | CameraBase.cpp | 216 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument 226 listener->notify(msgType, ext1, ext2); in notifyCallback()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 35 typedef void (*notify_callback)(int32_t msgType, 40 typedef void (*data_callback)(int32_t msgType, 46 int32_t msgType, 56 int32_t msgType, 133 void enableMsgType(int32_t msgType); 145 void disableMsgType(int32_t msgType); 152 int msgTypeEnabled(int32_t msgType); 377 hardware::camera::device::V1_0::NotifyCallbackMsg msgType, 384 hardware::camera::device::V1_0::DataCallbackMsg msgType, 388 hardware::camera::device::V1_0::DataCallbackMsg msgType, [all …]
|
D | CameraHardwareInterface.cpp | 74 NotifyCallbackMsg msgType, int32_t ext1, int32_t ext2) { in notifyCallback() argument 75 sNotifyCb((int32_t) msgType, ext1, ext2, (void*) this); in notifyCallback() 121 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, in dataCallback() argument 135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this); in dataCallback() 140 DataCallbackMsg msgType, uint32_t data, in dataCallbackTimestamp() argument 151 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in dataCallbackTimestamp() 156 DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data, in handleCallbackTimestamp() argument 171 sDataCbTimestamp(timestamp, (int32_t) msgType, mem, bufferIndex, this); in handleCallbackTimestamp() 176 DataCallbackMsg msgType, in handleCallbackTimestampBatch() argument 202 mDataCbTimestampBatch((int32_t) msgType, msgs, mCbUser); in handleCallbackTimestampBatch() [all …]
|
/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); 84 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata); 85 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType); 92 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 197 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument 214 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify() 215 msgType = CAMERA_MSG_RAW_IMAGE; in notify() 219 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify() [all …]
|
/frameworks/av/camera/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; 135 status_t takePicture(int msgType); 171 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2); 172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 174 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
|
D | ICameraRecordingProxyListener.h | 37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
|
/frameworks/av/camera/tests/ |
D | CameraZSLTests.cpp | 47 void notifyCallback(int32_t msgType, int32_t, int32_t) override; 48 void dataCallback(int32_t msgType, const sp<IMemory>&, 98 void CameraZSLTests::notifyCallback(int32_t msgType, int32_t, in notifyCallback() argument 100 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback() 105 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in notifyCallback() 109 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, in dataCallback() argument 112 switch (msgType) { in dataCallback() 127 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in dataCallback()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubMessage.java | 77 public void setMsgType(int msgType) { in setMsgType() argument 78 mType = msgType; in setMsgType() 106 public ContextHubMessage(int msgType, int version, byte[] data) { in ContextHubMessage() argument 107 mType = msgType; in ContextHubMessage()
|
/frameworks/av/camera/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); 82 void CameraSourceListener::notify(int32_t msgType, int32_t ext1, int32_t ext2) { in notify() argument 83 UNUSED_UNLESS_VERBOSE(msgType); in notify() 86 ALOGV("notify(%d, %d, %d)", msgType, ext1, ext2); in notify() 89 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument 92 msgType, dataPtr->pointer(), dataPtr->size()); in postData() 96 source->dataCallback(msgType, dataPtr); in postData() 101 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument [all …]
|
D | CameraSourceTimeLapse.cpp | 321 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument 325 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data); in dataCallbackTimestamp()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | UserData.java | 151 public int msgType; field in UserData 175 builder.append(", msgType=" + msgType); in toString()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 1039 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument 1042 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer() 1043 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer() 1045 "Unsupported message type: " + msgType); in addCallbackBuffer() 1048 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer() 1052 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument 1514 private native final void native_takePicture(int msgType); in native_takePicture() argument 1556 int msgType = 0; in takePicture() local 1558 msgType |= CAMERA_MSG_SHUTTER; in takePicture() 1561 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubServiceUtil.java | 175 hidlMessage.msgType = message.getMessageType(); in createHidlContextHubMessage() 192 message.appName, message.msgType, messageArray, in createNanoAppMessage()
|
/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 383 uint32_t msgType = msg->what(); in onMessageReceived() local 384 ALOGV("msgType = %d", msgType); in onMessageReceived() 385 switch (msgType) { in onMessageReceived() 409 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived() 422 CHECK((msgType == kWhatEmptyThisBuffer in onMessageReceived()
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduPersister.java | 617 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local 622 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load() 623 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load() 633 switch (msgType) { in load() 675 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load() 679 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load() 1300 int msgType = pdu.getMessageType(); in persist() local 1305 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist() 1306 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist() 1307 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 344 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local 345 if (msgType != 0) { in processCdmaWapPdu() 376 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 848 outStream.write(8, bData.userData.msgType); in encodeUserData() 1140 bData.userData.msgType = 0; in decodeUserData() 1144 bData.userData.msgType = inStream.read(8); in decodeUserData() 1255 private static String decodeGsmDcs(byte[] data, int offset, int numFields, int msgType) in decodeGsmDcs() argument 1258 if ((msgType & 0xC0) != 0) { in decodeGsmDcs() 1260 + msgType + ")"); in decodeGsmDcs() 1263 switch ((msgType >> 2) & 0x3) { in decodeGsmDcs() 1272 + msgType + ")"); in decodeGsmDcs() 1333 userData.numFields, userData.msgType); in decodeUserDataPayload() 1441 switch (bData.userData.msgType) { in decodeIs91() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSource.h | 142 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 232 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
|