Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsParser.java53 public static WrappedMessageData parse(String clientPrefix, String smsBody) { in parse() argument
55 if (!smsBody.startsWith(clientPrefix)) { in parse()
59 if (!(smsBody.charAt(prefixEnd) == ':')) { in parse()
62 int eventTypeEnd = smsBody.indexOf(":", prefixEnd + 1); in parse()
66 String eventType = smsBody.substring(prefixEnd + 1, eventTypeEnd); in parse()
67 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parse()
125 public static WrappedMessageData parseAlternativeFormat(String smsBody) { in parseAlternativeFormat() argument
127 int eventTypeEnd = smsBody.indexOf("?"); in parseAlternativeFormat()
131 String eventType = smsBody.substring(0, eventTypeEnd); in parseAlternativeFormat()
135 Bundle fields = parseSmsBody(smsBody.substring(eventTypeEnd + 1)); in parseAlternativeFormat()