/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 | 638 status_t CameraClient::takePicture(int msgType) { in takePicture() argument 639 LOG1("takePicture (pid %d): 0x%x", getCallingPid(), msgType); in takePicture() 645 if ((msgType & CAMERA_MSG_RAW_IMAGE) && in takePicture() 646 (msgType & CAMERA_MSG_RAW_IMAGE_NOTIFY)) { in takePicture() 654 int picMsgType = msgType in takePicture() 770 void CameraClient::enableMsgType(int32_t msgType) { in enableMsgType() argument 771 android_atomic_or(msgType, &mMsgEnabled); in enableMsgType() 772 mHardware->enableMsgType(msgType); in enableMsgType() 775 void CameraClient::disableMsgType(int32_t msgType) { in disableMsgType() argument 776 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()
|
/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/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, 134 void enableMsgType(int32_t msgType); 146 void disableMsgType(int32_t msgType); 153 int msgTypeEnabled(int32_t msgType); 414 hardware::camera::device::V1_0::NotifyCallbackMsg msgType, 421 hardware::camera::device::V1_0::DataCallbackMsg msgType, 425 hardware::camera::device::V1_0::DataCallbackMsg msgType, [all …]
|
D | CameraHardwareInterface.cpp | 85 NotifyCallbackMsg msgType, int32_t ext1, int32_t ext2) { in notifyCallback() argument 86 sNotifyCb((int32_t) msgType, ext1, ext2, (void*) this); in notifyCallback() 127 DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, in dataCallback() argument 136 sDataCb((int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, &md, this); in dataCallback() 141 DataCallbackMsg msgType, uint32_t data, in dataCallbackTimestamp() argument 147 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); in dataCallbackTimestamp() 152 DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data, in handleCallbackTimestamp() argument 162 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); in handleCallbackTimestamp() 167 DataCallbackMsg msgType, in handleCallbackTimestampBatch() argument 192 mDataCbTimestampBatch((int32_t) msgType, msgs, mCbUser); in handleCallbackTimestampBatch() [all …]
|
/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/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/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/base/services/core/jni/ |
D | com_android_server_location_ContextHubService.cpp | 117 uint32_t msgType, 252 msgHeader[HEADER_FIELD_MSG_TYPE] = msg.msgType; in handleClientMsg() 713 uint32_t msgType, in passOnOsResponse() argument 721 msgType); in passOnOsResponse() 740 header[HEADER_FIELD_MSG_TYPE] = msgType; in passOnOsResponse() 1073 uint32_t msgType = header[HEADER_FIELD_MSG_TYPE]; in nativeSendMessage() local 1077 if (msgType == CONTEXT_HUB_UNLOAD_APP) { in nativeSendMessage() 1079 } else if (msgType == CONTEXT_HUB_LOAD_APP) { in nativeSendMessage() 1098 if (msgType == CONTEXT_HUB_LOAD_APP || in nativeSendMessage() 1099 msgType == CONTEXT_HUB_UNLOAD_APP) { in nativeSendMessage() [all …]
|
/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/base/telephony/java/com/android/internal/telephony/cdma/ |
D | UserData.java | 142 public int msgType; field in UserData 163 builder.append(", msgType=" + msgType); in toString()
|
D | BearerData.java | 723 outStream.write(8, bData.userData.msgType); in encodeUserData() 1004 bData.userData.msgType = 0; in decodeUserData() 1008 bData.userData.msgType = inStream.read(8); in decodeUserData() 1116 private static String decodeGsmDcs(byte[] data, int offset, int numFields, int msgType) in decodeGsmDcs() argument 1119 if ((msgType & 0xC0) != 0) { in decodeGsmDcs() 1121 + msgType + ")"); in decodeGsmDcs() 1124 switch ((msgType >> 2) & 0x3) { in decodeGsmDcs() 1133 + msgType + ")"); in decodeGsmDcs() 1193 userData.numFields, userData.msgType); in decodeUserDataPayload() 1301 switch (bData.userData.msgType) { in decodeIs91() [all …]
|
/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 …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.h | 54 status_t startCapture(int msgType); 175 const sp<Camera2Client>& client, int msgType);
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 937 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument 940 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer() 941 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer() 943 "Unsupported message type: " + msgType); in addCallbackBuffer() 946 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer() 950 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument 1395 private native final void native_takePicture(int msgType); in native_takePicture() argument 1434 int msgType = 0; in takePicture() local 1436 msgType |= CAMERA_MSG_SHUTTER; in takePicture() 1439 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 265 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local 266 if (msgType != 0) { in processCdmaWapPdu() 297 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubService.java | 277 int msgType = header[HEADER_FIELD_MSG_TYPE]; in onMessageReceipt() local 282 Log.d(TAG, "Sending message " + msgType + " version " + msgVersion + " from hubHandle " + in onMessageReceipt() 290 ContextHubMessage msg = new ContextHubMessage(msgType, msgVersion, data); in onMessageReceipt()
|
/frameworks/av/media/libstagefright/omx/ |
D | SimpleSoftOMXComponent.cpp | 359 uint32_t msgType = msg->what(); in onMessageReceived() local 360 ALOGV("msgType = %d", msgType); in onMessageReceived() 361 switch (msgType) { in onMessageReceived() 381 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived() 393 CHECK((msgType == kWhatEmptyThisBuffer in onMessageReceived()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 604 int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local 609 if ((msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in load() 610 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in load() 620 switch (msgType) { in load() 662 "Unsupported PDU type: " + Integer.toHexString(msgType)); in load() 666 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in load() 1335 int msgType = pdu.getMessageType(); in persist() local 1340 if ((msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) in persist() 1341 || (msgType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) in persist() 1342 || (msgType == PduHeaders.MESSAGE_TYPE_SEND_REQ)) { in persist() [all …]
|