Home
last modified time | relevance | path

Searched refs:msgType (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/camera/
DICameraClient.cpp47 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
154 dataCallback(msgType, imageData, &metadata); in onTransact()
[all …]
DCamera.cpp225 status_t Camera::takePicture(int msgType) in takePicture() argument
227 ALOGV("takePicture: 0x%x", msgType); in takePicture()
230 return c->takePicture(msgType); in takePicture()
298 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
300 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback()
304 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
313 listener->postData(msgType, dataPtr, metadata); in dataCallback()
318 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
327 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
DICamera.cpp264 status_t takePicture(int msgType) in takePicture() argument
266 ALOGV("takePicture: 0x%x", msgType); in takePicture()
269 data.writeInt32(msgType); in takePicture()
464 int msgType = data.readInt32(); in onTransact() local
465 reply->writeInt32(takePicture(msgType)); in onTransact()
DCameraBase.cpp230 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument
240 listener->notify(msgType, ext1, ext2); in notifyCallback()
/frameworks/av/camera/include/camera/
DCamera.h41 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
42 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
44 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
130 status_t takePicture(int msgType);
168 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
169 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
171 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
DCameraBase.h139 virtual void notifyCallback(int32_t msgType, int32_t ext,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp76 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/tests/
DCameraZSLTests.cpp47 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/
DContextHubMessage.java77 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/
DICameraClient.h35 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…
DICamera.h122 virtual status_t takePicture(int msgType) = 0;
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsLogTrigger.java34 protected void logPowerStatsData(int msgType) { in logPowerStatsData() argument
35 Message.obtain(mPowerStatsLogger, msgType).sendToTarget(); in logPowerStatsData()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp130 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
131 void dataCallback(int32_t msgType, const sp<IMemory> &, camera_frame_metadata_t *) override;
140 void CameraFuzzer::notifyCallback(int32_t msgType, int32_t, int32_t) { in notifyCallback() argument
141 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback()
148 void CameraFuzzer::dataCallback(int32_t msgType, const sp<IMemory> & /*data*/, in dataCallback() argument
150 switch (msgType) { in dataCallback()
392 int msgType; in invokeCameraAPIs() local
394 msgType = mFuzzedDataProvider->ConsumeIntegral<int>(); in invokeCameraAPIs()
396 msgType = kCameraMsg[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeCameraAPIs()
399 cameraDevice->takePicture(msgType); in invokeCameraAPIs()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DUserData.java151 public int msgType; field in UserData
175 builder.append(", msgType=" + msgType); in toString()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp969 uint8_t msgType = data[0] & 0x1f; in parseTSFB() local
977 switch(msgType) { in parseTSFB()
1016 if (msgType == 3) in parseTSFB()
1019 else if (msgType == 4) in parseTSFB()
1026 notify->setInt32("feedback-type", msgType); in parseTSFB()
1036 ALOGI("Not supported TSFB type %d", msgType); in parseTSFB()
1051 uint8_t msgType = data[0] & 0x1f; in parsePSFB() local
1058 switch(msgType) { in parsePSFB()
1068 notify->setInt32("feedback-type", msgType); in parsePSFB()
1084 notify->setInt32("feedback-type", msgType); in parsePSFB()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java977 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
980 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
981 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
983 "Unsupported message type: " + msgType); in addCallbackBuffer()
986 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
990 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
1452 private native final void native_takePicture(int msgType); in native_takePicture() argument
1494 int msgType = 0; in takePicture() local
1496 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1499 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture()
[all …]
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp400 uint32_t msgType = msg->what(); in onMessageReceived() local
401 ALOGV("msgType = %d", msgType); in onMessageReceived()
402 switch (msgType) { in onMessageReceived()
426 size_t portIndex = (kWhatEmptyThisBuffer == msgType)? in onMessageReceived()
439 CHECK((msgType == kWhatEmptyThisBuffer in onMessageReceived()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java617 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/base/services/core/java/com/android/server/location/contexthub/
DContextHubServiceUtil.java184 hidlMessage.msgType = message.getMessageType(); in createHidlContextHubMessage()
201 message.appName, message.msgType, messageArray, in createNanoAppMessage()
DContextHubService.java981 int msgType, int contextHubHandle, int appInstance, byte[] data) {
989 Log.v(TAG, "Sending message " + msgType + " version " + msgVersion + " from hubHandle "
1001 ContextHubMessage msg = new ContextHubMessage(msgType, msgVersion, data);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java345 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
346 if (msgType != 0) { in processCdmaWapPdu()
377 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java849 outStream.write(8, bData.userData.msgType); in encodeUserData()
1141 bData.userData.msgType = 0; in decodeUserData()
1145 bData.userData.msgType = inStream.read(8); in decodeUserData()
1256 private static String decodeGsmDcs(byte[] data, int offset, int numFields, int msgType) in decodeGsmDcs() argument
1259 if ((msgType & 0xC0) != 0) { in decodeGsmDcs()
1261 + msgType + ")"); in decodeGsmDcs()
1264 switch ((msgType >> 2) & 0x3) { in decodeGsmDcs()
1273 + msgType + ")"); in decodeGsmDcs()
1334 userData.numFields, userData.msgType); in decodeUserDataPayload()
1442 switch (bData.userData.msgType) { in decodeIs91()
[all …]
/frameworks/rs/
DrsHidlAdaptation.cpp365 RsMessageToClientType msgType; in ContextGetMessage() local
367 [&msgType, receiveLen](MessageToClientType retMessageType, uint64_t retReceiveLen) { in ContextGetMessage()
368 msgType = (RsMessageToClientType) retMessageType; in ContextGetMessage()
371 return msgType; in ContextGetMessage()
378 RsMessageToClientType msgType; in ContextPeekMessage() local
380 …[&msgType, receiveLen, subID](MessageToClientType retMessageType, uint64_t retReceiveLen, uint32_t… in ContextPeekMessage()
381 msgType = (RsMessageToClientType) retMessageType; in ContextPeekMessage()
386 return msgType; in ContextPeekMessage()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h79 virtual status_t takePicture(int msgType);
/frameworks/av/services/camera/libcameraservice/
DCameraService.h426 virtual status_t takePicture(int msgType) = 0;

12