Home
last modified time | relevance | path

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

/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.java513 int msgType = 0; in setSent() local
515 msgType = c.getInt(fi.mSmsColFolder); in setSent()
517 msgType = c.getInt(fi.mMmsColFolder); in setSent()
520 msgType = c.getInt(fi.mMessageColFolder); in setSent()
523 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()
968 int msgType = c.getInt(fi.mSmsColType); in setRecipientName() local
969 if (msgType != 1) { in setRecipientName()
[all …]
DBluetoothMapContentObserver.java582 TYPE msgType; field in BluetoothMapContentObserver.Event
611 String oldFolder, TYPE msgType) { in Event() argument
614 setFolderPath(folder, msgType); in Event()
616 if(msgType == TYPE.EMAIL || msgType == TYPE.IM) { in Event()
624 this.msgType = msgType; in Event()
627 public Event(String eventType, long handle, String folder, TYPE msgType) { in Event() argument
630 setFolderPath(folder, msgType); in Event()
631 this.msgType = msgType; in Event()
635 public Event(String eventType, long handle, String folder, TYPE msgType, in Event() argument
639 setFolderPath(folder, msgType); in Event()
[all …]
DBluetoothMapAppObserver.java218 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver()
242 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver()
245 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver()
256 + " application of type " + msgType); in createReceiver()
258 false, msgType); in createReceiver()
DBluetoothMapObexServer.java656 BluetoothMapUtils.TYPE msgType; in setMessageStatus() local
672 msgType = BluetoothMapUtils.getMsgTypeFromHandle(msgHandle); in setMessageStatus()
673 if(D) Log.d(TAG,"setMessageStatus. Handle:" + handle+", MsgType: "+ msgType); in setMessageStatus()
683 if (!mObserver.setMessageStatusDeleted(handle, msgType, mCurrentFolder, in setMessageStatus()
690 if (!mObserver.setMessageStatusRead(handle, msgType, mBaseUriString, value)) { in setMessageStatus()
DBluetoothMapAccountLoader.java91 BluetoothMapUtils.TYPE msgType = (searchIntent.getAction().toString() == in parsePackages() local
100 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java266 int msgType = msg.what; in processMessage() local
274 if(DEBUG) Log.d(TAG, "processMessage: " + msgType + " state: " + state + " device = " in processMessage()
279 switch (msgType) { in processMessage()
303 if (mDialog == null && mPendingDevice == null && msgType != MSG_TYPE_UNDOCKED_TEMPORARY in processMessage()
457 int msgType; in parseIntent() local
460 msgType = MSG_TYPE_UNDOCKED_TEMPORARY; in parseIntent()
476 msgType = MSG_TYPE_SHOW_UI; in parseIntent()
478 msgType = MSG_TYPE_DOCKED; in parseIntent()
485 return mServiceHandler.obtainMessage(msgType, state, 0, device); in parseIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java185 public SapMessage(int msgType){ in SapMessage() argument
186 this.mMsgType = msgType; in SapMessage()
205 public void setMsgType(int msgType) { in setMsgType() argument
206 this.mMsgType = msgType; in setMsgType()
1207 public static String getMsgTypeName(int msgType) { in getMsgTypeName() argument
1209 switch (msgType) in getMsgTypeName()
1239 default: return "Unknown Message Type (" + msgType + ")"; in getMsgTypeName()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3448 final String msgType;
3451 msgType = "new_message";
3454 msgType = "reply";
3457 msgType = "reply_all";
3460 msgType = "forward";
3463 msgType = "unknown";
3466 return msgType;
3476 final String msgType = getActionString(mComposeMode);
3486 Analytics.getInstance().sendEvent(category, msgType, label, value);