Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/ip/
DIpNeighborMonitor.java94 final short msgType; field in IpNeighborMonitor.NeighborEvent
100 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, in NeighborEvent() argument
103 this.msgType = msgType; in NeighborEvent()
111 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); in isConnected()
115 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); in isValid()
122 .add(stringForNlMsgType(msgType)) in toString()
208 final short msgType = neighMsg.getHeader().nlmsg_type; in evaluateRtNetlinkNeighborMessage() local
218 (msgType == RTM_DELNEIGH) in evaluateRtNetlinkNeighborMessage()
223 whenMs, msgType, ifindex, destination, nudState, in evaluateRtNetlinkNeighborMessage()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java550 final int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
551 final PduBody body = loadBody(msgId, msgType); in load()
552 return createPdu(msgType, headers, body); in load()
618 final int msgType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in load() local
619 final PduBody body = loadBody(msgId, msgType); in load()
620 pdu = createPdu(msgType, headers, body); in load()
660 private GenericPdu createPdu(final int msgType, final PduHeaders headers, final PduBody body) in createPdu() argument
662 switch (msgType) { in createPdu()
696 "Unsupported PDU type: " + Integer.toHexString(msgType)); in createPdu()
700 "Unrecognized PDU type: " + Integer.toHexString(msgType)); in createPdu()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java508 int msgType = 0; in setSent() local
510 msgType = c.getInt(fi.mSmsColFolder); in setSent()
512 msgType = c.getInt(fi.mMmsColFolder); in setSent()
514 msgType = c.getInt(fi.mMessageColFolder); in setSent()
517 if (msgType == 2) { in setSent()
997 int msgType = c.getInt(fi.mSmsColType); in setRecipientAddressing() local
998 if (msgType == Sms.MESSAGE_TYPE_INBOX) { in setRecipientAddressing()
1003 if ((address == null) && msgType == Sms.MESSAGE_TYPE_DRAFT) { in setRecipientAddressing()
1038 int msgType = c.getInt(fi.mSmsColType); in setRecipientName() local
1039 if (msgType != 1) { in setRecipientName()
[all …]
DBluetoothMapAppObserver.java262 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver()
288 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver()
291 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver()
303 + " application of type " + msgType); in createReceiver()
306 mLoader.createAppItem(resolveInfo, false, msgType); in createReceiver()
DBluetoothMapContentObserver.java596 public TYPE msgType; field in BluetoothMapContentObserver.Event
624 Event(String eventType, long handle, String folder, String oldFolder, TYPE msgType) { in Event() argument
627 setFolderPath(folder, msgType); in Event()
629 if (msgType == TYPE.EMAIL || msgType == TYPE.IM) { in Event()
637 this.msgType = msgType; in Event()
640 Event(String eventType, long handle, String folder, TYPE msgType) { in Event() argument
643 setFolderPath(folder, msgType); in Event()
644 this.msgType = msgType; in Event()
648 Event(String eventType, long handle, String folder, TYPE msgType, String datetime, in Event() argument
652 setFolderPath(folder, msgType); in Event()
[all …]
DBluetoothMapAccountLoader.java85 BluetoothMapUtils.TYPE msgType = (Objects.equals(searchIntent.getAction(), in parsePackages() local
96 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages()
DBluetoothMapObexServer.java785 BluetoothMapUtils.TYPE msgType; in setMessageStatus() local
803 msgType = BluetoothMapUtils.getMsgTypeFromHandle(msgHandle); in setMessageStatus()
805 Log.d(TAG, "setMessageStatus. Handle:" + handle + ", MsgType: " + msgType); in setMessageStatus()
816 if (!mObserver.setMessageStatusDeleted(handle, msgType, mCurrentFolder, mBaseUriString, in setMessageStatus()
825 if (!mObserver.setMessageStatusRead(handle, msgType, mBaseUriString, value)) { in setMessageStatus()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java197 public SapMessage(int msgType) { in SapMessage() argument
198 this.mMsgType = msgType; in SapMessage()
217 public void setMsgType(int msgType) { in setMsgType() argument
218 this.mMsgType = msgType; in setMsgType()
1204 public static String getMsgTypeName(int msgType) { in getMsgTypeName() argument
1206 switch (msgType) { in getMsgTypeName()
1262 return "Unknown Message Type (" + msgType + ")"; in getMsgTypeName()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DEventReport.java133 private Bmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType() argument
135 if (t.name().equals(msgType)) { in parseMsgType()
140 throw new IllegalArgumentException("Invalid value for msg_type: " + msgType); in parseMsgType()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3486 final String msgType;
3489 msgType = "new_message";
3492 msgType = "reply";
3495 msgType = "reply_all";
3498 msgType = "forward";
3501 msgType = "unknown";
3504 return msgType;
3514 final String msgType = getActionString(mComposeMode);
3524 Analytics.getInstance().sendEvent(category, msgType, label, value);