Home
last modified time | relevance | path

Searched refs:Bmessage (Results 1 – 12 of 12) 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.java34 private Bmessage mMsg;
45 RequestPushMessage(String folder, Bmessage msg, CharsetType charset, boolean transparent, in RequestPushMessage()
73 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()
DMapClientContentTest.java80 private Bmessage mTestMessage1;
81 private Bmessage mTestMessage2;
325 mTestMessage1 = new Bmessage(); in testStoreBadMessage()
327 mTestMessage1.setType(Bmessage.Type.SMS_GSM); in testStoreBadMessage()
331 mTestMessage2 = new Bmessage(); in testStoreBadMessage()
333 mTestMessage2.setType(Bmessage.Type.MMS); in testStoreBadMessage()
371 mTestMessage1 = new Bmessage(); in createTestMessages()
373 mTestMessage1.setType(Bmessage.Type.SMS_GSM); in createTestMessages()
377 mTestMessage2 = new Bmessage(); in createTestMessages()
379 mTestMessage2.setType(Bmessage.Type.MMS); in createTestMessages()
DMapClientStateMachineTest.java382 Bmessage testBmessage = new Bmessage(); in testSMSMessageSent()
383 testBmessage.setType(Bmessage.Type.SMS_GSM); in testSMSMessageSent()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientContent.java170 void parseLocalNumber(Bmessage message) { in parseLocalNumber()
193 void storeMessage(Bmessage message, String handle, Long timestamp) { in storeMessage()
207 private void storeSms(Bmessage message, String handle, Long timestamp) { in storeSms()
228 int readStatus = message.getStatus() == Bmessage.Status.READ ? 1 : 0; in storeSms()
304 private void storeMms(Bmessage message, String handle, Long timestamp) { in storeMms()
313 int read = message.getStatus() == Bmessage.Status.READ ? 1 : 0; in storeMms()
380 private void storeAddressPart(Bmessage message, Uri messageUri) { in storeAddressPart()
450 private long getThreadId(Bmessage message) { in getThreadId()
470 private void getRecipientsFromMessage(Bmessage message, Set<String> messageContacts) { in getRecipientsFromMessage()
481 private String getOriginatorNumber(Bmessage message) { in getOriginatorNumber()
[all …]
DMceStateMachine.java136 private HashMap<String, Bmessage> mSentMessageLog = new HashMap<>(MAX_MESSAGES);
137 private HashMap<Bmessage, PendingIntent> mSentReceiptRequested = new HashMap<>(MAX_MESSAGES);
138 private HashMap<Bmessage, PendingIntent> mDeliveryReceiptRequested =
140 private Bmessage.Type mDefaultMessageType = Bmessage.Type.SMS_CDMA;
279 Bmessage bmsg = new Bmessage(); in sendMapMessage()
282 bmsg.setStatus(Bmessage.Status.READ); in sendMapMessage()
400 Bmessage.Type getDefaultMessageType() { in getDefaultMessageType()
413 mDefaultMessageType = Bmessage.Type.MMS; in setDefaultMessageType()
415 mDefaultMessageType = Bmessage.Type.SMS_CDMA; in setDefaultMessageType()
417 mDefaultMessageType = Bmessage.Type.SMS_GSM; in setDefaultMessageType()
[all …]
DMapUtils.java52 static Bmessage.Type sendMessageType() { in sendMessageType()
55 if (messageType > 0 && messageType < Bmessage.Type.values().length) { in sendMessageType()
56 return Bmessage.Type.values()[messageType]; in sendMessageType()
59 return Bmessage.Type.MMS; in sendMessageType()