Home
last modified time | relevance | path

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

123

/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DFiraConnectorMessage.java84 @NonNull public final MessageType messageType; field in FiraConnectorMessage
144 MessageType messageType = in fromBytes() local
152 return new FiraConnectorMessage(messageType, instructionCode, payload); in fromBytes()
164 (((messageType.getValue() & MESSAGE_TYPE_BITMASK) in toBytes()
175 .append(messageType) in toString()
184 MessageType messageType, InstructionCode instructionCode, byte[] payload) { in FiraConnectorMessage() argument
185 if (messageType == null) { in FiraConnectorMessage()
191 this.messageType = messageType; in FiraConnectorMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DMessagesFilter.java27 public byte messageType = MESSAGE_TYPE_ALL; field in MessagesFilter
44 this.messageType = filter.messageType; in MessagesFilter()
54 messageType = filter; in setMessageType()
101 public Builder setMessageType(byte messageType) { in setMessageType() argument
102 mMessagesFilter.setMessageType(messageType); in setMessageType()
DRequestGetMessagesListingForOwnNumber.java254 byte messageType = in messageTypeBasedOnFolder()
267 messageType = in messageTypeBasedOnFolder()
273 return messageType; in messageTypeBasedOnFolder()
DRequestGetMessagesListing.java69 if (filter.messageType != MessagesFilter.MESSAGE_TYPE_ALL) { in RequestGetMessagesListing()
70 oap.add(OAP_TAGID_FILTER_MESSAGE_TYPE, filter.messageType); in RequestGetMessagesListing()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java292 int messageType; in onHalEvents() local
294 messageType = v.getInt32Value(VmsBaseMessageIntegerValuesIndex.MESSAGE_TYPE); in onHalEvents()
302 + DebugUtils.constantToString(VmsMessageType.class, messageType) in onHalEvents()
306 switch (messageType) { in onHalEvents()
341 Slogf.e(TAG, "Unexpected message type: " + messageType); in onHalEvents()
345 + DebugUtils.constantToString(VmsMessageType.class, messageType), e); in onHalEvents()
653 int messageType = vehicleProp.getInt32Value( in setPropertyValue() local
659 + DebugUtils.constantToString(VmsMessageType.class, messageType)); in setPropertyValue()
668 + DebugUtils.constantToString(VmsMessageType.class, messageType), e); in setPropertyValue()
738 int messageType, VmsSubscriptionState subscriptionState) { in createSubscriptionStateMessage() argument
[all …]
/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()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMessagesFilterTest.java88 byte messageType = MessagesFilter.MESSAGE_TYPE_EMAIL; in testBuilder()
100 .setMessageType(messageType) in testBuilder()
108 assertThat(filter.messageType).isEqualTo(messageType); in testBuilder()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java79 private int messageType; field in BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder
108 public BluetoothRouteTestParametersBuilder setMessageType(int messageType) { in setMessageType() argument
109 this.messageType = messageType; in setMessageType()
174 messageType, in build()
194 public int messageType; // Any of the commands from the state machine field in BluetoothRouteTransitionTests.BluetoothRouteTestParameters
208 BluetoothDevice initialDevice, int messageType, ListenerUpdate[] in BluetoothRouteTestParameters() argument
217 this.messageType = messageType; in BluetoothRouteTestParameters()
239 ", messageType=" + messageType + in toString()
316 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions()
319 } else if (mParams.messageType == BluetoothRouteManager.LOST_DEVICE) { in testTransitions()
[all …]
DCallAudioModeTransitionTests.java56 public int messageType; // Any of the commands from the state machine field in CallAudioModeTransitionTests.ModeTestParameters
64 public ModeTestParameters(String name, int initialAudioState, int messageType, in ModeTestParameters() argument
70 this.messageType = messageType; in ModeTestParameters()
84 ", messageType=" + messageType + in toString()
151 sm.sendMessage(mParams.messageType, mParams.externalState); in modeTransitionTest()
154 && mParams.messageType != CallAudioModeStateMachine.AUDIO_OPERATIONS_COMPLETE) { in modeTransitionTest()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsSubscriberManagerTest.java371 int messageType = values[VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE]; in testComplexAvailableLayers() local
376 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testComplexAvailableLayers()
416 int messageType = values[VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE]; in testDoubleOfferingAvailableLayers() local
421 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testDoubleOfferingAvailableLayers()
460 messageType = values[VmsAvailabilityStateIntegerValuesIndex.MESSAGE_TYPE]; in testDoubleOfferingAvailableLayers()
465 assertEquals(messageType, VmsMessageType.AVAILABILITY_CHANGE); in testDoubleOfferingAvailableLayers()
/packages/modules/Uwb/service/support_lib/test/
DDlTDoATests.java36 int messageType = 0x02; in dlTDoAMeasurementTest() local
52 .setMessageType(messageType) in dlTDoAMeasurementTest()
70 assertEquals(fromBundle.getMessageType(), messageType); in dlTDoAMeasurementTest() local
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppResponseMessage.java58 protected SppResponseMessage(@NonNull SoapObject response, int messageType) in SppResponseMessage() argument
64 mMessageType = messageType; in SppResponseMessage()
69 throw new IllegalArgumentException("Incomplete request: " + messageType); in SppResponseMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DFrameParser.java265 private static String decodeDhcpMessageType(short messageType) { in decodeDhcpMessageType() argument
266 switch (messageType) { in decodeDhcpMessageType()
284 return "Unknown type " + messageType; in decodeDhcpMessageType()
295 short messageType = getUnsignedByte(data); in parseIcmpPacket() local
296 switch (messageType) { in parseIcmpPacket()
310 mTypeString = "Type " + messageType; in parseIcmpPacket()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/dltdoa/
DDlTDoAMeasurement.java67 public DlTDoAMeasurement(int messageType, int messageControl, int blockIndex, int roundIndex, in DlTDoAMeasurement() argument
71 mMessageType = messageType; in DlTDoAMeasurement()
241 public DlTDoAMeasurement.Builder setMessageType(int messageType) { in setMessageType() argument
242 mMessageType = messageType; in setMessageType()
/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/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/modules/Connectivity/service-t/src/com/android/server/
DIpSecXfrmController.java179 final int messageType = msg.getHeader().nlmsg_type; in ipSecGetSa() local
180 if (messageType != XFRM_MSG_NEWSA) { in ipSecGetSa()
181 throw new IOException("unexpected response type " + messageType); in ipSecGetSa()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java309 private void setMessage(int messageType, String title, Exception e) { in setMessage() argument
314 setMessage(messageType, messageTextBuilder.toString()); in setMessage()
317 private void setMessage(int messageType, Exception e) { in setMessage() argument
318 setMessage(messageType, e.getMessage()); in setMessage()
321 private void setMessage(int messageType, String message) { in setMessage() argument
323 switch (messageType) { in setMessage()
/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/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DDlTdoaMeasurement.java39 public DlTdoaMeasurement(int messageType, int messageControl, int blockIndex, int roundIndex, in DlTdoaMeasurement() argument
43 mMessageType = messageType; in DlTdoaMeasurement()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbDlTDoAMeasurement.java46 public UwbDlTDoAMeasurement(byte[] macAddress, int status, int messageType, int messageControl, in UwbDlTDoAMeasurement() argument
53 mMessageType = messageType; in UwbDlTDoAMeasurement()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapUtils.java274 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle() argument
277 if (messageType != null) { in getMapHandle()
278 switch (messageType) { in getMapHandle()
317 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle() argument
319 switch (messageType) { in getMapConvoHandle()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransportProvider.java114 MessageType messageType, in sendData() argument
120 messageType, in sendData()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallDiagnosticServiceController.java156 public void onReceivedDeviceToDeviceMessage(Call call, int messageType, int messageValue) {
157 handleReceivedDeviceToDeviceMessage(call, messageType, messageValue);
666 private void handleReceivedDeviceToDeviceMessage(@NonNull Call call, int messageType, in handleReceivedDeviceToDeviceMessage() argument
670 mCallDiagnosticService.receiveDeviceToDeviceMessage(call.getId(), messageType, in handleReceivedDeviceToDeviceMessage() local
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java921 private boolean isSupportedType(int messageType) { in isSupportedType() argument
922 return (messageType == Sms.MESSAGE_TYPE_INBOX) in isSupportedType()
923 || (messageType == Sms.MESSAGE_TYPE_OUTBOX) in isSupportedType()
924 || (messageType == Sms.MESSAGE_TYPE_SENT); in isSupportedType()
927 private int getMessageStatusForIcc(int messageType, boolean isRead) { in getMessageStatusForIcc() argument
928 if (messageType == Sms.MESSAGE_TYPE_SENT) { in getMessageStatusForIcc()
930 } else if (messageType == Sms.MESSAGE_TYPE_OUTBOX) { in getMessageStatusForIcc()
954 int messageType, boolean isRead, long date) { in insertMessageToIcc() argument
960 int status = getMessageStatusForIcc(messageType, isRead); in insertMessageToIcc()

123