Home
last modified time | relevance | path

Searched refs:msgType (Results 1 – 25 of 28) 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.cpp221 status_t Camera::takePicture(int msgType) in takePicture() argument
223 ALOGV("takePicture: 0x%x", msgType); in takePicture()
226 return c->takePicture(msgType); in takePicture()
292 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
294 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback()
298 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
307 listener->postData(msgType, dataPtr, metadata); in dataCallback()
312 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
321 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
DICamera.cpp282 status_t takePicture(int msgType) in takePicture() argument
284 ALOGV("takePicture: 0x%x", msgType); in takePicture()
287 data.writeInt32(msgType); in takePicture()
519 int msgType = data.readInt32(); in onTransact() local
520 reply->writeInt32(takePicture(msgType)); in onTransact()
DCameraBase.cpp245 void CameraBase<TCam, TCamTraits>::notifyCallback(int32_t msgType, in notifyCallback() argument
255 listener->notify(msgType, ext1, ext2); in notifyCallback()
/frameworks/av/camera/include/camera/
DCamera.h47 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2) = 0;
48 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
50 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
137 status_t takePicture(int msgType);
174 virtual void notifyCallback(int32_t msgType, int32_t ext, int32_t ext2);
175 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
177 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
DCameraBase.h157 virtual void notifyCallback(int32_t msgType, int32_t ext,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp82 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
83 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
85 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
90 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
91 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
98 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
203 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
220 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
221 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
225 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify()
[all …]
/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.h126 virtual status_t takePicture(int msgType) = 0;
/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/tests/
DCameraZSLTests.cpp51 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
52 void dataCallback(int32_t msgType, const sp<IMemory>&,
105 void CameraZSLTests::notifyCallback(int32_t msgType, int32_t, in notifyCallback() argument
107 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback()
112 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in notifyCallback()
116 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, in dataCallback() argument
118 switch (msgType) { in dataCallback()
133 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in dataCallback()
/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()
DTimerTrigger.java45 PeriodicTimer(String name, long periodMs, int msgType) { in PeriodicTimer() argument
48 mMsgType = msgType; in PeriodicTimer()
/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/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp343 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
344 void dataCallback(int32_t msgType, const sp<IMemory> &, camera_frame_metadata_t *) override;
353 void CameraFuzzer::notifyCallback(int32_t msgType, int32_t, int32_t) { in notifyCallback() argument
354 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback()
361 void CameraFuzzer::dataCallback(int32_t msgType, const sp<IMemory> & /*data*/, in dataCallback() argument
363 switch (msgType) { in dataCallback()
647 int msgType; in invokeCameraAPIs() local
649 msgType = mFuzzedDataProvider->ConsumeIntegral<int>(); in invokeCameraAPIs()
651 msgType = kCameraMsg[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeCameraAPIs()
654 cameraDevice->takePicture(msgType); in invokeCameraAPIs()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp1122 uint8_t msgType = data[0] & 0x1f; in parseTSFB() local
1130 switch(msgType) { in parseTSFB()
1169 if (msgType == 3) in parseTSFB()
1172 else if (msgType == 4) in parseTSFB()
1179 notify->setInt32("feedback-type", msgType); in parseTSFB()
1189 ALOGI("Not supported TSFB type %d", msgType); in parseTSFB()
1204 uint8_t msgType = data[0] & 0x1f; in parsePSFB() local
1211 switch(msgType) { in parsePSFB()
1221 notify->setInt32("feedback-type", msgType); in parsePSFB()
1237 notify->setInt32("feedback-type", msgType); in parsePSFB()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java1084 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
1087 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
1088 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
1090 "Unsupported message type: " + msgType); in addCallbackBuffer()
1093 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
1097 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
1433 private native final void native_takePicture(int msgType); in native_takePicture() argument
1475 int msgType = 0; in takePicture() local
1477 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1480 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/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/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java352 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
353 if (msgType != 0) { in processCdmaWapPdu()
384 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/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/camera/tests/fuzzer/
Dcamera_fuzzer.cpp256 int32_t msgType = mFDP->ConsumeIntegral<int32_t>(); in invokeCamera() local
257 mCamera->takePicture(msgType); in invokeCamera()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubServiceUtil.java264 hidlMessage.msgType = message.getMessageType(); in createHidlContextHubMessage()
306 message.appName, message.msgType, messageArray, in createNanoAppMessage()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h77 virtual status_t takePicture(int msgType);

12