Lines Matching defs:format
81 * Indicates a 3GPP format SMS message.
87 * Indicates a 3GPP2 format SMS message.
129 * intent <b>must</b> now pass the new {@code format} String extra from the intent
131 * extra format parameter. This is required in order to correctly decode the PDU on
137 String format = (PHONE_TYPE_CDMA == activePhone) ? FORMAT_3GPP2 : FORMAT_3GPP;
138 return createFromPdu(pdu, format);
142 * Create an SmsMessage from a raw PDU with the specified message format. The
143 * message format is passed in the {@code SMS_RECEIVED_ACTION} as the {@code format}
144 * String extra, and will be either "3gpp" for GSM/UMTS/LTE messages in 3GPP format
145 * or "3gpp2" for CDMA/LTE messages in 3GPP2 format.
148 * @param format the format extra from the SMS_RECEIVED_ACTION intent
151 public static SmsMessage createFromPdu(byte[] pdu, String format) {
154 if (FORMAT_3GPP2.equals(format)) {
156 } else if (FORMAT_3GPP.equals(format)) {
159 Log.e(LOG_TAG, "createFromPdu(): unsupported message format " + format);
176 // received SMS in 3GPP format
185 // received SMS in 3GPP2 format
500 * Returns the service centre timestamp in currentTimeMillis() format