Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java80 final short msgType; field in IpNeighborMonitor.NeighborEvent
86 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, in NeighborEvent() argument
89 this.msgType = msgType; in NeighborEvent()
97 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateConnected(nudState); in isConnected()
101 return (msgType != RTM_DELNEIGH) && StructNdMsg.isNudStateValid(nudState); in isValid()
108 .add(stringForNlMsgType(msgType)) in toString()
138 final short msgType = neighMsg.getHeader().nlmsg_type; in processNetlinkMessage() local
148 (msgType == RTM_DELNEIGH) in processNetlinkMessage()
153 whenMs, msgType, ifindex, destination, nudState, in processNetlinkMessage()
/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/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.java598 public TYPE msgType; field in BluetoothMapContentObserver.Event
626 Event(String eventType, long handle, String folder, String oldFolder, TYPE msgType) { in Event() argument
629 setFolderPath(folder, msgType); in Event()
631 if (msgType == TYPE.EMAIL || msgType == TYPE.IM) { in Event()
639 this.msgType = msgType; in Event()
642 Event(String eventType, long handle, String folder, TYPE msgType) { in Event() argument
645 setFolderPath(folder, msgType); in Event()
646 this.msgType = msgType; in Event()
650 Event(String eventType, long handle, String folder, TYPE msgType, String datetime, in Event() argument
654 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.java790 BluetoothMapUtils.TYPE msgType; in setMessageStatus() local
808 msgType = BluetoothMapUtils.getMsgTypeFromHandle(msgHandle); in setMessageStatus()
810 Log.d(TAG, "setMessageStatus. Handle:" + handle + ", MsgType: " + msgType); in setMessageStatus()
821 if (!mObserver.setMessageStatusDeleted(handle, msgType, mCurrentFolder, mBaseUriString, in setMessageStatus()
830 if (!mObserver.setMessageStatusRead(handle, msgType, mBaseUriString, value)) { in setMessageStatus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestErrorDialogFragment.java59 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local
61 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog()
65 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/Settings/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragment.java62 ERROR_DIALOG_TYPE msgType = ERROR_DIALOG_TYPE.TIME_OUT; in onCreateDialog() local
64 msgType = (ERROR_DIALOG_TYPE) getArguments().getSerializable(DIALOG_TYPE); in onCreateDialog()
68 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()