Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DIpNeighborMonitor.java85 public final short msgType; field in IpNeighborMonitor.NeighborEvent
93 public NeighborEvent(long elapsedMs, short msgType, int ifindex, @NonNull InetAddress ip, in NeighborEvent() argument
96 this.msgType = msgType; in NeighborEvent()
104 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); in isConnected()
108 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); in isValid()
115 .add(stringForNlMsgType(msgType, NETLINK_ROUTE)) in toString()
153 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage() local
163 (msgType == RTM_DELNEIGH) in processNetlinkMessage()
168 whenMs, msgType, ifindex, destination, nudState, in processNetlinkMessage()
DConntrackMonitor.java66 public final short msgType; field in ConntrackMonitor.ConntrackEvent
85 this.msgType = msg.getHeader().nlmsg_type; in ConntrackEvent()
93 public ConntrackEvent(short msgType, ConntrackMessage.Tuple tupleOrig, in ConntrackEvent() argument
95 this.msgType = msgType; in ConntrackEvent()
107 return this.msgType == that.msgType in equals()
116 return Objects.hash(msgType, tupleOrig, tupleReply, status, timeoutSec); in hashCode()
123 + NetlinkConstants.stringForNlMsgType(msgType, OsConstants.NETLINK_NETFILTER) in toString()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DStructMrt6Msg.java30 public final byte msgType; // message type field in StructMrt6Msg
38 public StructMrt6Msg(final byte mbz, final byte msgType, final int mif, in StructMrt6Msg() argument
41 this.msgType = msgType; in StructMrt6Msg()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java47 Bmessage.Type msgType = Bmessage.Type.MMS; in fromStream() local
55 xml.append("msg_type=\"" + msgType + "\"\n"); in fromStream()
67 assertThat(report.getMsgType()).isEqualTo(msgType); in fromStream()
89 Bmessage.Type msgType = Bmessage.Type.MMS; in fromStreamWithDateTime() local
98 xml.append("msg_type=\"" + msgType + "\"\n"); in fromStreamWithDateTime()
111 assertThat(report.getMsgType()).isEqualTo(msgType); in fromStreamWithDateTime()
DRequestGetMessagesListingForOwnNumberTest.java113 byte msgType = listingElementGetType(element); in getMessageListingAsInputStream()
114 if ((msgTypeFilter & msgType) > 0) { in getMessageListingAsInputStream()
125 + msgType in getMessageListingAsInputStream()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/
DConntrackMonitorTest.java201 private ConntrackEvent makeTestConntrackEvent(short msgType, int status, int timeoutSec) { in makeTestConntrackEvent() argument
210 (short) (NetlinkConstants.NFNL_SUBSYS_CTNETLINK << 8 | msgType), in makeTestConntrackEvent()
241 final ConntrackEvent typeNotEqual = new ConntrackEvent((short) (e.msgType + 1) /* diff */, in testConntrackEventNotEquals()
245 final ConntrackEvent tupleOrigNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals()
249 final ConntrackEvent tupleReplyNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals()
253 final ConntrackEvent statusNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals()
257 final ConntrackEvent timeoutSecNotEqual = new ConntrackEvent(e.msgType, in testConntrackEventNotEquals()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBearerData.java230 bData.userData.msgType = 0; in decodeUserData()
234 bData.userData.msgType = inStream.read(8); in decodeUserData()
339 int msgType) in decodeGsmDcs() argument
341 if ((msgType & 0xC0) != 0) { in decodeGsmDcs()
343 + msgType + ")"); in decodeGsmDcs()
346 switch ((msgType >> 2) & 0x3) { in decodeGsmDcs()
355 + msgType + ")"); in decodeGsmDcs()
416 userData.numFields, userData.msgType); in decodeUserDataPayload()
517 alertUserData.msgType = 0; in decodeCmasUserData()
DUserData.java128 public int msgType; field in UserData
149 builder.append(", msgType=" + msgType); in toString()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DEventTest.java97 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor()
108 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_withNullOldFolder()
120 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_withNonNullOldFolder()
139 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_forExtendedEventTypeOnePointOne()
165 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_forExtendedEventTypeOnePointTwo_withMessageEvents()
195 assertThat(event.msgType).isEqualTo(TEST_TYPE); in constructor_forExtendedEventTypeOnePointTwo_withConversationEvents()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/
DNetworkRequestErrorDialogFragment.java54 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local
56 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog()
60 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestErrorDialogFragment.java58 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local
60 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog()
65 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragment.java58 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local
60 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog()
64 if (msgType == ERROR_DIALOG_TYPE.TIME_OUT) { in onCreateDialog()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapMessageTest.java72 int msgType = ID_CONNECT_REQ; in settersAndGetters() local
88 mMessage.setMsgType(msgType); in settersAndGetters()
104 assertThat(mMessage.getMsgType()).isEqualTo(msgType); in settersAndGetters()
143 int msgType = ID_CONNECT_REQ; in writeAndRead() local
156 mMessage.setMsgType(msgType); in writeAndRead()
178 assertThat(msgFromInputStream.getMsgType()).isEqualTo(msgType); in writeAndRead()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java551 final int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
552 final PduBody body = loadBody(msgId, msgType); in load()
553 return createPdu(msgType, headers, body); in load()
619 final int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
620 final PduBody body = loadBody(msgId, msgType); in load()
621 pdu = createPdu(msgType, headers, body); in load()
661 private GenericPdu createPdu(final int msgType, final PduHeaders headers, final PduBody body) in createPdu() argument
663 switch (msgType) { in createPdu()
697 "Unsupported PDU type: " + Integer.toHexString(msgType)); in createPdu()
701 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in createPdu()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java243 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver()
277 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver()
282 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver()
297 + msgType); in createReceiver()
299 mLoader.createAppItem(resolveInfo, false, msgType); in createReceiver()
DBluetoothMapContent.java531 int msgType = 0; in setSent() local
533 msgType = c.getInt(fi.mSmsColFolder); in setSent()
535 msgType = c.getInt(fi.mMmsColFolder); in setSent()
537 msgType = c.getInt(fi.mMessageColFolder); in setSent()
540 if (msgType == 2) { in setSent()
936 int msgType = c.getInt(fi.mSmsColType); in setRecipientAddressing() local
937 if (msgType == Sms.MESSAGE_TYPE_INBOX) { in setRecipientAddressing()
942 if ((address == null) && msgType == Sms.MESSAGE_TYPE_DRAFT) { in setRecipientAddressing()
976 int msgType = c.getInt(fi.mSmsColType); in setRecipientName() local
977 if (msgType != 1) { in setRecipientName()
[all …]
DBluetoothMapContentObserver.java645 public TYPE msgType; field in BluetoothMapContentObserver.Event
674 Event(String eventType, long handle, String folder, String oldFolder, TYPE msgType) { in Event() argument
677 setFolderPath(folder, msgType); in Event()
679 if (msgType == TYPE.EMAIL || msgType == TYPE.IM) { in Event()
687 this.msgType = msgType; in Event()
690 Event(String eventType, long handle, String folder, TYPE msgType) { in Event() argument
693 setFolderPath(folder, msgType); in Event()
694 this.msgType = msgType; in Event()
702 TYPE msgType, in Event() argument
709 setFolderPath(folder, msgType); in Event()
[all …]
DBluetoothMapAccountLoader.java92 BluetoothMapUtils.TYPE msgType = in parsePackages() local
104 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DUserDataTest.java35 userdata.msgType = UserData.ENCODING_GSM_DCS_7BIT; in testToString()
43 userdataForComp.msgType = UserData.ENCODING_GSM_DCS_8BIT; in testToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DEventReport.java141 private static Bmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() argument
143 if (t.name().equals(msgType)) { in parseMsgType()
148 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType); in parseMsgType()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapMessage.java194 public SapMessage(int msgType) { in SapMessage() argument
195 this.mMsgType = msgType; in SapMessage()
215 public void setMsgType(int msgType) { in setMsgType() argument
216 this.mMsgType = msgType; in setMsgType()
1221 public static String getMsgTypeName(int msgType) { in getMsgTypeName() argument
1222 switch (msgType) { in getMsgTypeName()
1278 return "Unknown Message Type (" + msgType + ")"; in getMsgTypeName()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkConstants.java236 final byte msgType = (byte) nlmType; in stringForNfMsgType()
239 switch (msgType) { in stringForNfMsgType()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/appcard/
DAppCardService.kt75 val msgType = MessageType.fromInt(msg.what) in <lambda>() constant
77 when (msgType) { in <lambda>()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/
DAppCardServiceManager.kt145 val msgType = MessageType.fromInt(msg.what) in handleMessage() constant
147 when (msgType) { in handleMessage()
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecXfrmController.java156 final int msgType = msg.getHeader().nlmsg_type; in sendRequestAndGetResponse() local
157 if (msgType == NetlinkConstants.NLMSG_ERROR) { in sendRequestAndGetResponse()

12