Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java56 private static Parcel createBroadcastParcel(int serviceCategory) { in createBroadcastParcel() argument
61 p.writeInt(serviceCategory); in createBroadcastParcel()
142 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, in createCmasSmsMessage() argument
166 Parcel p = createBroadcastParcel(serviceCategory); in createCmasSmsMessage()
190 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, in createBroadcastSmsMessage() argument
192 Parcel p = createBroadcastParcel(serviceCategory); in createBroadcastSmsMessage()
395 private static void doTestCmasBroadcast(int serviceCategory, int messageClass, String body) in doTestCmasBroadcast() argument
398 serviceCategory, 1234, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in doTestCmasBroadcast()
403 assertEquals(serviceCategory, cbMessage.getServiceCategory()); in doTestCmasBroadcast()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java155 env.serviceCategory = p.readInt(); //p_cur->uServicecategory in newFromParcel()
500 if (mEnvelope.serviceCategory != 0) { in getMessageType()
524 env.serviceCategory = dis.readInt(); in parsePdu()
609 env.serviceCategory = dis.readUnsignedShort(); in parsePduFromEfRecord()
794 BearerData bData = BearerData.decode(mEnvelope.bearerData, mEnvelope.serviceCategory); in parseBroadcastSms()
809 mEnvelope.serviceCategory, bData.getLanguage(), bData.userData.payloadStr, in parseBroadcastSms()
955 dos.writeInt(env.serviceCategory); in createPdu()
1036 output.write(mEnvelope.serviceCategory); in getIncomingSmsFingerprint()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbMessage.java145 SmsCbLocation location, int serviceCategory, String language, String body, in SmsCbMessage() argument
151 mServiceCategory = serviceCategory; in SmsCbMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DSmsEnvelope.java79 public int serviceCategory; field in SmsEnvelope
DBearerData.java1750 private static int serviceCategoryToCmasMessageClass(int serviceCategory) { in serviceCategoryToCmasMessageClass() argument
1751 switch (serviceCategory) { in serviceCategoryToCmasMessageClass()
1809 private static void decodeCmasUserData(BearerData bData, int serviceCategory) in decodeCmasUserData() argument
1820 int messageClass = serviceCategoryToCmasMessageClass(serviceCategory); in decodeCmasUserData()
1908 public static BearerData decode(byte[] smsData, int serviceCategory) { in decode() argument
2000 if (isCmasAlertCategory(serviceCategory)) { in decode()
2001 decodeCmasUserData(bData, serviceCategory); in decode()