Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp214 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) { in notify()
215 msgType = CAMERA_MSG_RAW_IMAGE; in notify()
269 if (msgType == CAMERA_MSG_RAW_IMAGE) { in copyAndPost()
301 mCameraJObjectWeak, msgType, 0, 0, obj); in copyAndPost()
357 postData(msgType, dataPtr, NULL); in postDataTimestamp()
474 JNIEnv *env, jbyteArray cbb, int msgType) in addCallbackBuffer() argument
476 ALOGV("addCallbackBuffer: 0x%x", msgType); in addCallbackBuffer()
479 switch (msgType) { in addCallbackBuffer()
788 ALOGV("addCallbackBuffer: 0x%x", msgType); in android_hardware_Camera_addCallbackBuffer()
837 if (msgType & CAMERA_MSG_RAW_IMAGE) { in android_hardware_Camera_takePicture()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/location/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/powerstats/
H A DPowerStatsLogTrigger.java34 protected void logPowerStatsData(int msgType) { in logPowerStatsData() argument
35 Message.obtain(mPowerStatsLogger, msgType).sendToTarget(); in logPowerStatsData()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DUserData.java151 public int msgType; field in UserData
175 builder.append(", msgType=" + msgType); in toString()
/aosp14/frameworks/base/core/java/android/hardware/
H A DCamera.java998 if (msgType != CAMERA_MSG_PREVIEW_FRAME && in addCallbackBuffer()
999 msgType != CAMERA_MSG_RAW_IMAGE) { in addCallbackBuffer()
1001 "Unsupported message type: " + msgType); in addCallbackBuffer()
1004 _addCallbackBuffer(callbackBuffer, msgType); in addCallbackBuffer()
1470 private native final void native_takePicture(int msgType); in native_takePicture() argument
1512 int msgType = 0; in takePicture() local
1514 msgType |= CAMERA_MSG_SHUTTER; in takePicture()
1517 msgType |= CAMERA_MSG_RAW_IMAGE; in takePicture()
1520 msgType |= CAMERA_MSG_POSTVIEW_FRAME; in takePicture()
1523 msgType |= CAMERA_MSG_COMPRESSED_IMAGE; in takePicture()
[all …]
/aosp14/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A 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 …]
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A 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()
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()
1455 bData.userData.msgType + ")"); in decodeIs91()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/
H A DContextHubServiceUtil.java254 hidlMessage.msgType = message.getMessageType(); in createHidlContextHubMessage()
294 message.appName, message.msgType, messageArray, in createNanoAppMessage()
H A DContextHubService.java1304 int msgType, int contextHubHandle, int appInstance, byte[] data) {
1315 Log.v(TAG, "Sending message " + msgType + " version " + msgVersion
1327 ContextHubMessage msg = new ContextHubMessage(msgType, msgVersion, data);