Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java169 synchronized void enqueue(int messageType, Object message) { in enqueue() argument
170 if (mSupportedMessageTypes.contains(messageType)) { in enqueue()
171 Message.obtain(mHandler, messageType, message).sendToTarget(); in enqueue()
173 Log.e(TAG, "Unexpected message type: " + VmsMessageType.toString(messageType)); in enqueue()
183 int messageType = msg.what; in handleMessage() local
185 if (DBG) Log.d(TAG, "Sending " + VmsMessageType.toString(messageType) + " message"); in handleMessage()
189 Log.e(TAG, "While sending " + VmsMessageType.toString(messageType)); in handleMessage()
309 int messageType = vec.get(VmsBaseMessageIntegerValuesIndex.MESSAGE_TYPE); in handleHalEvents() local
311 if (DBG) Log.d(TAG, "Received " + VmsMessageType.toString(messageType) + " message"); in handleHalEvents()
313 switch (messageType) { in handleHalEvents()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java71 private int messageType; field in BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder
99 public BluetoothRouteTestParametersBuilder setMessageType(int messageType) { in setMessageType() argument
100 this.messageType = messageType; in setMessageType()
159 messageType, in build()
178 public int messageType; // Any of the commands from the state machine field in BluetoothRouteTransitionTests.BluetoothRouteTestParameters
190 BluetoothDevice initialDevice, int messageType, ListenerUpdate[] in BluetoothRouteTestParameters() argument
199 this.messageType = messageType; in BluetoothRouteTestParameters()
217 ", messageType=" + messageType + in toString()
275 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions()
279 } else if (mParams.messageType == BluetoothRouteManager.LOST_DEVICE) { in testTransitions()
[all …]
DCallAudioModeTransitionTests.java51 public int messageType; // Any of the commands from the state machine field in CallAudioModeTransitionTests.ModeTestParameters
59 public ModeTestParameters(String name, int initialAudioState, int messageType, in ModeTestParameters() argument
65 this.messageType = messageType; in ModeTestParameters()
79 ", messageType=" + messageType + in toString()
128 sm.sendMessage(mParams.messageType, mParams.externalState); in modeTransitionTest()
/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.java656 public void handleMessage(int messageType, Object message) throws ExoPlaybackException { in handleMessage() argument
657 switch (messageType) { in handleMessage()
687 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/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java271 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle() argument
274 if (messageType != null) { in getMapHandle()
275 switch (messageType) { in getMapHandle()
311 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle() argument
313 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/providers/TelephonyProvider/src/com/android/providers/telephony/
DRcsProviderMessageHelper.java349 int messageType = queryParameters.getMessageType(); in performInitialQuery() local
354 boolean isMessageTypeFiltered = (messageType == MESSAGE_TYPE_INCOMING) in performInitialQuery()
355 || (messageType == MESSAGE_TYPE_OUTGOING); in performInitialQuery()
362 if (messageType == MESSAGE_TYPE_INCOMING) { in performInitialQuery()
364 } else if (messageType == MESSAGE_TYPE_OUTGOING) { in performInitialQuery()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java435 public void sendMessage(int messageType) { in sendMessage() argument
436 mHandler.sendEmptyMessage(messageType); in sendMessage()
440 public void sendMessage(int messageType, Object object) { in sendMessage() argument
441 mHandler.obtainMessage(messageType, object).sendToTarget(); in sendMessage()
445 public void sendMessage(int messageType, int arg1, int arg2, Object object) { in sendMessage() argument
446 mHandler.obtainMessage(messageType, arg1, arg2, object).sendToTarget(); in sendMessage()
DTunerSessionWorker.java435 public void sendMessage(int messageType) { in sendMessage() argument
436 mHandler.sendEmptyMessage(messageType); in sendMessage()
440 public void sendMessage(int messageType, Object object) { in sendMessage() argument
441 mHandler.obtainMessage(messageType, object).sendToTarget(); in sendMessage()
445 public void sendMessage(int messageType, int arg1, int arg2, Object object) { in sendMessage() argument
446 mHandler.obtainMessage(messageType, arg1, arg2, object).sendToTarget(); in sendMessage()