Lines Matching refs:SmsMessage
61 import android.telephony.SmsMessage;
480 SmsMessage sms = (SmsMessage) ar.result;
504 SmsMessage sms = (SmsMessage) ar.result;
741 SmsMessage msg = SmsMessage.createFromPdu(pdu, SmsConstants.FORMAT_3GPP);
1227 final SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent);
1232 // Sometimes, SmsMessage.mWrappedSmsMessage is null causing NPE when we access
1233 // the methods on it although the SmsMessage itself is not null. So do this check
1235 for (final SmsMessage sms : messages) {
1239 loge("NPE inside SmsMessage");
1256 * Convert SmsMessage[] into SMS database schema columns
1258 * @param msgs The SmsMessage array of the received SMS
1261 private static ContentValues parseSmsMessage(SmsMessage[] msgs) {
1262 final SmsMessage sms = msgs[0];
1281 * Build up the SMS message body from the SmsMessage array of received SMS
1283 * @param msgs The SmsMessage array of the received SMS
1286 private static String buildMessageBodyFromPdus(SmsMessage[] msgs) {
1293 for (SmsMessage msg: msgs) {