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.cpp226 status_t Camera::takePicture(int msgType) in takePicture() argument
228 ALOGV("takePicture: 0x%x", msgType); in takePicture()
231 return c->takePicture(msgType); in takePicture()
299 void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) in notifyCallback() argument
301 return CameraBaseT::notifyCallback(msgType, ext1, ext2); in notifyCallback()
305 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
314 listener->postData(msgType, dataPtr, metadata); in dataCallback()
319 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
328 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.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.h42 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;
133 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…
DCameraBase.h155 virtual void notifyCallback(int32_t msgType, int32_t ext,
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp75 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
76 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
78 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
83 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
84 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
91 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
196 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
213 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
214 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
218 mCameraJObjectWeak, msgType, ext1, ext2, NULL); in notify()
[all …]
/frameworks/av/camera/tests/
DCameraZSLTests.cpp49 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
50 void dataCallback(int32_t msgType, const sp<IMemory>&,
101 void CameraZSLTests::notifyCallback(int32_t msgType, int32_t, in notifyCallback() argument
103 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback()
108 ALOGV("%s: msgType: %d", __FUNCTION__, msgType); in notifyCallback()
112 void CameraZSLTests::dataCallback(int32_t msgType, const sp<IMemory>& /*data*/, in dataCallback() argument
114 switch (msgType) { in dataCallback()
129 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()
DTimerTrigger.java45 PeriodicTimer(String name, long periodMs, int msgType) { in PeriodicTimer() argument
48 mMsgType = msgType; in PeriodicTimer()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp138 void notifyCallback(int32_t msgType, int32_t, int32_t) override;
139 void dataCallback(int32_t msgType, const sp<IMemory> &, camera_frame_metadata_t *) override;
148 void CameraFuzzer::notifyCallback(int32_t msgType, int32_t, int32_t) { in notifyCallback() argument
149 if (CAMERA_MSG_FOCUS == msgType) { in notifyCallback()
156 void CameraFuzzer::dataCallback(int32_t msgType, const sp<IMemory> & /*data*/, in dataCallback() argument
158 switch (msgType) { in dataCallback()
431 int msgType; in invokeCameraAPIs() local
433 msgType = mFuzzedDataProvider->ConsumeIntegral<int>(); in invokeCameraAPIs()
435 msgType = kCameraMsg[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeCameraAPIs()
438 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.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.java1052 private final void addCallbackBuffer(byte[] callbackBuffer, int msgType) in addCallbackBuffer() argument
1055 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
1056 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
1058 "Unsupported message type: " + msgType); in addCallbackBuffer()
1061 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
1065 byte[] callbackBuffer, int msgType); in _addCallbackBuffer() argument
1401 private native final void native_takePicture(int msgType); in native_takePicture() argument
1443 int msgType = 0; in takePicture() local
1445 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1448 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.java350 int msgType = (0xFF & pdu[index++]); in processCdmaWapPdu() local
351 if (msgType != 0) { in processCdmaWapPdu()
382 log("Received WAP PDU. Type = " + msgType + ", originator = " + address in processCdmaWapPdu()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubServiceUtil.java254 hidlMessage.msgType = message.getMessageType(); in createHidlContextHubMessage()
296 message.appName, message.msgType, messageArray, in createNanoAppMessage()
/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.cpp245 int32_t msgType = mFDP->ConsumeIntegral<int32_t>(); in invokeCamera() local
246 mCamera->takePicture(msgType); in invokeCamera()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h75 virtual status_t takePicture(int msgType);

12