Lines Matching refs:header
97 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage() argument
109 if (header.isEtwsPrimaryNotification()) { in createSmsCbMessage()
114 return new SmsCbMessage(SmsCbMessage.MESSAGE_FORMAT_3GPP, header.getGeographicalScope(), in createSmsCbMessage()
115 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage()
116 header.getDataCodingScheme(), getEtwsPrimaryMessage(context, in createSmsCbMessage()
117 header.getEtwsInfo().getWarningType()), SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY, in createSmsCbMessage()
118 header.getEtwsInfo(), header.getCmasInfo(), 0, null, receivedTimeMillis, in createSmsCbMessage()
120 } else if (header.isUmtsFormat()) { in createSmsCbMessage()
123 Pair<String, String> cbData = parseUmtsBody(header, pdu); in createSmsCbMessage()
126 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
150 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
151 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage()
152 priority, header.getEtwsInfo(), header.getCmasInfo(), maximumWaitingTimeSec, in createSmsCbMessage()
158 Pair<String, String> p = parseGsmBody(header, pdu); in createSmsCbMessage()
162 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY in createSmsCbMessage()
166 header.getGeographicalScope(), header.getSerialNumber(), location, in createSmsCbMessage()
167 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
168 sb.toString(), priority, header.getEtwsInfo(), header.getCmasInfo(), 0, null, in createSmsCbMessage()
319 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, in parseUmtsBody() argument
323 String language = header.getDataCodingSchemeStructedData().language; in parseUmtsBody()
345 header.getDataCodingSchemeStructedData()); in parseUmtsBody()
359 private static Pair<String, String> parseGsmBody(SmsCbHeader header, in parseGsmBody() argument
364 return unpackBody(pdu, offset, length, header.getDataCodingSchemeStructedData()); in parseGsmBody()