Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java28 import com.android.cellbroadcastservice.BearerData;
179 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream()
447 SmsMessage msg = createBroadcastSmsMessage(123, 456, BearerData.PRIORITY_NORMAL, in doTestNonEmergencyBroadcast()
448 BearerData.LANGUAGE_ENGLISH, encoding, TEST_TEXT); in doTestNonEmergencyBroadcast()
482 serviceCategory, 1234, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in doTestCmasBroadcast()
541 5678, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasExtremeAlertType1Elements()
574 12345, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasUnsupportedCharSet()
589 67890, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasUnsupportedCharSet2()
605 BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasNoRecordType0()
739 bos.write(8, BearerData.LANGUAGE_ENGLISH); in testServiceCategoryProgramDataAddCategory()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBearerData.java27 public final class BearerData { class
119 private BearerData() { in BearerData() method in BearerData
182 private static boolean decodeMessageId(BearerData bData, BitwiseInputStream inStream) in decodeMessageId()
224 private static boolean decodeUserData(BearerData bData, BitwiseInputStream inStream) in decodeUserData()
424 private static boolean decodeLanguageIndicator(BearerData bData, BitwiseInputStream inStream)
443 private static boolean decodePriorityIndicator(BearerData bData, BitwiseInputStream inStream) in decodePriorityIndicator()
491 private static void decodeCmasUserData(Context context, BearerData bData, int serviceCategory) in decodeCmasUserData()
579 public static BearerData decode(Context context, byte[] smsData, int serviceCategory) { in decode()
582 BearerData bData = new BearerData(); in decode()
DDefaultCellBroadcastService.java122 BearerData bData = BearerData.decode(context, bearerData, serviceCategory); in parseBroadcastSms()