Home
last modified time | relevance | path

Searched refs:messageType (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java171 synchronized void enqueue(int messageType, Object message) { in enqueue() argument
172 if (mSupportedMessageTypes.contains(messageType)) { in enqueue()
173 Message.obtain(mHandler, messageType, message).sendToTarget(); in enqueue()
175 Log.e(TAG, "Unexpected message type: " + VmsMessageType.toString(messageType)); in enqueue()
185 int messageType = msg.what; in handleMessage() local
187 if (DBG) Log.d(TAG, "Sending " + VmsMessageType.toString(messageType) + " message"); in handleMessage()
355 int messageType = vec.get(VmsBaseMessageIntegerValuesIndex.MESSAGE_TYPE); in handleHalEvents() local
357 if (DBG) Log.d(TAG, "Received " + VmsMessageType.toString(messageType) + " message"); in handleHalEvents()
359 switch (messageType) { in handleHalEvents()
393 Log.e(TAG, "Unexpected message type: " + messageType); in handleHalEvents()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java72 private int messageType; field in BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder
100 public BluetoothRouteTestParametersBuilder setMessageType(int messageType) { in setMessageType() argument
101 this.messageType = messageType; in setMessageType()
160 messageType, in build()
179 public int messageType; // Any of the commands from the state machine field in BluetoothRouteTransitionTests.BluetoothRouteTestParameters
191 BluetoothDevice initialDevice, int messageType, ListenerUpdate[] in BluetoothRouteTestParameters() argument
200 this.messageType = messageType; in BluetoothRouteTestParameters()
218 ", messageType=" + messageType + in toString()
282 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions()
286 } else if (mParams.messageType == BluetoothRouteManager.LOST_DEVICE) { in testTransitions()
[all …]
DCallAudioModeTransitionTests.java53 public int messageType; // Any of the commands from the state machine field in CallAudioModeTransitionTests.ModeTestParameters
61 public ModeTestParameters(String name, int initialAudioState, int messageType, in ModeTestParameters() argument
67 this.messageType = messageType; in ModeTestParameters()
81 ", messageType=" + messageType + in toString()
146 sm.sendMessage(mParams.messageType, mParams.externalState); in modeTransitionTest()
149 && mParams.messageType != CallAudioModeStateMachine.AUDIO_OPERATIONS_COMPLETE) { in modeTransitionTest()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapUtils.java49 int messageType = SystemProperties.getInt(SEND_MESSAGE_TYPE, -1); in sendMessageType() local
50 if (messageType > 0 && messageType < Bmessage.Type.values().length) { in sendMessageType()
51 return Bmessage.Type.values()[messageType]; in sendMessageType()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsMediaCodecAudioTrackRenderer.java56 public void handleMessage(int messageType, Object message) throws ExoPlaybackException { in handleMessage() argument
57 if (messageType == MSG_SET_PLAYBACK_PARAMS) { in handleMessage()
59 super.handleMessage(messageType, message); in handleMessage()
67 super.handleMessage(messageType, message); in handleMessage()
DMpegTsDefaultAudioTrackRenderer.java659 public void handleMessage(int messageType, Object message) throws ExoPlaybackException { in handleMessage() argument
660 switch (messageType) { in handleMessage()
690 super.handleMessage(messageType, message); in handleMessage()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsSubscriberManagerTest.java369 int messageType = values.get(VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE); in testComplexAvailableLayers() local
374 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testComplexAvailableLayers()
414 int messageType = values.get(VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE); in testDoubleOfferingAvailableLayers() local
419 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testDoubleOfferingAvailableLayers()
435 messageType = values.get(VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE); in testDoubleOfferingAvailableLayers()
440 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testDoubleOfferingAvailableLayers()
DVmsPublisherClientServiceTest.java64 int messageType = rawValue.int32Values.get( in testPublish() local
74 assertEquals(VmsMessageType.DATA, messageType); in testPublish()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java120 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse() local
128 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || in parse()
129 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType)) { in parse()
138 switch (messageType) { in parse()
256 int messageType = extractByteValue(pduDataStream); in parseHeaders() local
258 Log.v(LOG_TAG, "parseHeaders: messageType: " + messageType); in parseHeaders()
260 switch (messageType) { in parseHeaders()
280 headers.setOctet(messageType, headerField); in parseHeaders()
282 log("Set invalid Octet value: " + messageType + in parseHeaders()
1804 int messageType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in checkMandatoryHeader() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduParser.java135 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse() local
149 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || in parse()
150 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType && in parse()
160 switch (messageType) { in parse()
280 int messageType = extractByteValue(pduDataStream); in parseHeaders() local
282 Log.v(LOG_TAG, "parseHeaders: messageType: " + messageType + in parseHeaders()
285 switch (messageType) { in parseHeaders()
305 headers.setOctet(messageType, headerField); in parseHeaders()
307 log("Set invalid Octet value: " + messageType + in parseHeaders()
1840 int messageType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in checkMandatoryHeader() local
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java792 private boolean isSupportedType(int messageType) { in isSupportedType() argument
793 return (messageType == Sms.MESSAGE_TYPE_INBOX) in isSupportedType()
794 || (messageType == Sms.MESSAGE_TYPE_OUTBOX) in isSupportedType()
795 || (messageType == Sms.MESSAGE_TYPE_SENT); in isSupportedType()
798 private int getMessageStatusForIcc(int messageType, boolean isRead) { in getMessageStatusForIcc() argument
799 if (messageType == Sms.MESSAGE_TYPE_SENT) { in getMessageStatusForIcc()
801 } else if (messageType == Sms.MESSAGE_TYPE_OUTBOX) { in getMessageStatusForIcc()
825 int messageType, boolean isRead, long date) { in insertMessageToIcc() argument
831 int status = getMessageStatusForIcc(messageType, isRead); in insertMessageToIcc()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DMessage.java95 boolean isReadOnPhone, String handle, MessageType messageType, in Message() argument
101 boolean missingType = (messageType == null); in Message()
128 this.mMessageType = messageType; in Message()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java266 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle() argument
269 if (messageType != null) { in getMapHandle()
270 switch (messageType) { in getMapHandle()
306 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle() argument
308 switch (messageType) { in getMapConvoHandle()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DCea708TextTrackRenderer.java282 public void handleMessage(int messageType, Object message) throws ExoPlaybackException { in handleMessage() argument
283 switch (messageType) { in handleMessage()
302 super.handleMessage(messageType, message); in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DMessagesFilter.java27 public byte messageType = MESSAGE_TYPE_ALL; field in MessagesFilter
45 messageType = filter; in setMessageType()
DRequestGetMessagesListing.java63 if (filter.messageType != MessagesFilter.MESSAGE_TYPE_ALL) { in RequestGetMessagesListing()
64 oap.add(OAP_TAGID_FILTER_MESSAGE_TYPE, filter.messageType); in RequestGetMessagesListing()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java186 int messageType = pdu[0]; in SmsCbHeader() local
188 if (messageType != MESSAGE_TYPE_CBS_MESSAGE) { in SmsCbHeader()
189 throw new IllegalArgumentException("Unsupported message type " + messageType); in SmsCbHeader()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java461 public void sendMessage(int messageType) { in sendMessage() argument
462 mHandler.sendEmptyMessage(messageType); in sendMessage()
466 public void sendMessage(int messageType, Object object) { in sendMessage() argument
467 mHandler.obtainMessage(messageType, object).sendToTarget(); in sendMessage()
471 public void sendMessage(int messageType, int arg1, int arg2, Object object) { in sendMessage() argument
472 mHandler.obtainMessage(messageType, arg1, arg2, object).sendToTarget(); in sendMessage()
DTunerSessionWorker.java461 public void sendMessage(int messageType) { in sendMessage() argument
462 mHandler.sendEmptyMessage(messageType); in sendMessage()
466 public void sendMessage(int messageType, Object object) { in sendMessage() argument
467 mHandler.obtainMessage(messageType, object).sendToTarget(); in sendMessage()
471 public void sendMessage(int messageType, int arg1, int arg2, Object object) { in sendMessage() argument
472 mHandler.obtainMessage(messageType, arg1, arg2, object).sendToTarget(); in sendMessage()