Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmessage.java32 public class Bmessage { class
52 public Bmessage() { in Bmessage() method in Bmessage
69 public Bmessage addOriginator(VCardEntry vcard) { in addOriginator()
78 public Bmessage addRecipient(VCardEntry vcard) { in addRecipient()
87 public Bmessage setStatus(Status status) { in setStatus()
96 public Bmessage setType(Type type) { in setType()
105 public Bmessage setFolder(String folder) { in setFolder()
114 public Bmessage setEncoding(String encoding) { in setEncoding()
123 public Bmessage setCharset(String charset) { in setCharset()
132 public Bmessage setLanguage(String language) { in setLanguage()
[all …]
DBmessageParser.java65 private final Bmessage mBmsg;
69 mBmsg = new Bmessage(); in BmessageParser()
72 public static Bmessage createBmessage(String str) { in createBmessage()
168 for (Bmessage.Status s : Bmessage.Status.values()) { in parseProperties()
176 for (Bmessage.Type t : Bmessage.Type.values()) { in parseProperties()
DEventReport.java44 private final Bmessage.Type mMsgType;
133 private Bmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType()
134 for (Bmessage.Type t : Bmessage.Type.values()) { in parseMsgType()
179 public Bmessage.Type getMsgType() { in getMsgType()
DRequestPushMessage.java32 private Bmessage mMsg;
43 RequestPushMessage(String folder, Bmessage msg, CharsetType charset, boolean transparent, in RequestPushMessage()
71 public Bmessage getBMsg() { in getBMsg()
DRequestGetMessage.java43 private Bmessage mBmessage;
95 public Bmessage getMessage() { in getMessage()
DBmessageBuilder.java62 public static String createBmessage(Bmessage bmsg) { in createBmessage()
70 private void build(Bmessage bmsg) { in build()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DBmessageTest.java62 Bmessage message = BmessageParser.createBmessage(SIMPLE_MMS_MESSAGE); in testNormalMessages()
68 Bmessage message = BmessageParser.createBmessage(WRONG_LENGTH_MESSAGE); in testParseWrongLengthMessage()
74 Bmessage message = BmessageParser.createBmessage(NO_END_MESSAGE); in testParseNoEndMessage()
81 Bmessage message = BmessageParser.createBmessage(testMessage); in testParseReallyLongMessage()
87 Bmessage message = BmessageParser.createBmessage(NO_BODY_MESSAGE); in testNoBodyMessage()
93 Bmessage message = BmessageParser.createBmessage(NEGATIVE_LENGTH_MESSAGE); in testNegativeLengthMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java126 private HashMap<String, Bmessage> mSentMessageLog = new HashMap<>(MAX_MESSAGES);
127 private HashMap<Bmessage, PendingIntent> mSentReceiptRequested = new HashMap<>(MAX_MESSAGES);
128 private HashMap<Bmessage, PendingIntent> mDeliveryReceiptRequested =
130 private Bmessage.Type mDefaultMessageType = Bmessage.Type.SMS_CDMA;
268 Bmessage bmsg = new Bmessage(); in sendMapMessage()
271 bmsg.setStatus(Bmessage.Status.READ); in sendMapMessage()
384 Bmessage.Type getDefaultMessageType() { in getDefaultMessageType()
397 mDefaultMessageType = Bmessage.Type.MMS; in setDefaultMessageType()
399 mDefaultMessageType = Bmessage.Type.SMS_CDMA; in setDefaultMessageType()
401 mDefaultMessageType = Bmessage.Type.SMS_GSM; in setDefaultMessageType()
[all …]
DMapUtils.java47 static Bmessage.Type sendMessageType() { in sendMessageType()
50 if (messageType > 0 && messageType < Bmessage.Type.values().length) { in sendMessageType()
51 return Bmessage.Type.values()[messageType]; in sendMessageType()
54 return Bmessage.Type.MMS; in sendMessageType()