Searched refs:serviceCategory (Results 1 - 5 of 5) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DSmsEnvelope.java79 public int serviceCategory; field in class:SmsEnvelope
H A DBearerData.java1750 private static int serviceCategoryToCmasMessageClass(int serviceCategory) { argument
1751 switch (serviceCategory) {
1807 * @param serviceCategory is the service category from the SMS envelope
1809 private static void decodeCmasUserData(BearerData bData, int serviceCategory) argument
1820 int messageClass = serviceCategoryToCmasMessageClass(serviceCategory);
1905 * @param serviceCategory the envelope service category (for CMAS alert handling)
1908 public static BearerData decode(byte[] smsData, int serviceCategory) { argument
2000 if (isCmasAlertCategory(serviceCategory)) {
2001 decodeCmasUserData(bData, serviceCategory);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbMessage.java145 SmsCbLocation location, int serviceCategory, String language, String body,
151 mServiceCategory = serviceCategory;
367 + mSerialNumber + ", location=" + mLocation + ", serviceCategory="
144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java53 * @param serviceCategory the CDMA service category
56 private static Parcel createBroadcastParcel(int serviceCategory) { argument
61 p.writeInt(serviceCategory);
130 * @param serviceCategory the CDMA service category
142 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, argument
166 Parcel p = createBroadcastParcel(serviceCategory);
182 * @param serviceCategory the CDMA service category
190 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, argument
192 Parcel p = createBroadcastParcel(serviceCategory);
395 private static void doTestCmasBroadcast(int serviceCategory, in argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java155 env.serviceCategory = p.readInt(); //p_cur->uServicecategory
500 if (mEnvelope.serviceCategory != 0) {
524 env.serviceCategory = dis.readInt();
609 env.serviceCategory = dis.readUnsignedShort();
794 BearerData bData = BearerData.decode(mEnvelope.bearerData, mEnvelope.serviceCategory);
809 mEnvelope.serviceCategory, bData.getLanguage(), bData.userData.payloadStr,
917 dos.writeInt(0); //serviceCategory
955 dos.writeInt(env.serviceCategory);
1036 output.write(mEnvelope.serviceCategory);

Completed in 55 milliseconds