Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java70 private static ArrayList<CellBroadcastChannelRange> sAllCellBroadcastChannelRanges = null;
80 public static class CellBroadcastChannelRange { class in CellBroadcastChannelManager
129 public CellBroadcastChannelRange(Context context, int subId, String channelRange) { in CellBroadcastChannelRange() method in CellBroadcastChannelManager.CellBroadcastChannelRange
247 public @NonNull ArrayList<CellBroadcastChannelRange> getCellBroadcastChannelRanges(int key) { in getCellBroadcastChannelRanges()
248 ArrayList<CellBroadcastChannelRange> result = new ArrayList<>(); in getCellBroadcastChannelRanges()
254 result.add(new CellBroadcastChannelRange(mContext, mSubId, range)); in getCellBroadcastChannelRanges()
268 public @NonNull ArrayList<CellBroadcastChannelRange> getAllCellBroadcastChannelRanges() { in getAllCellBroadcastChannelRanges()
271 ArrayList<CellBroadcastChannelRange> result = new ArrayList<>(); in getAllCellBroadcastChannelRanges()
289 ArrayList<CellBroadcastChannelRange> ranges = getCellBroadcastChannelRanges(key); in checkCellBroadcastChannelRange()
291 for (CellBroadcastChannelRange range : ranges) { in checkCellBroadcastChannelRange()
[all …]
DCellBroadcastConfigService.java34 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
263 ArrayList<CellBroadcastChannelRange> ranges = in enableCellBroadcastChannels()
267 for (CellBroadcastChannelRange range: ranges) { in enableCellBroadcastChannels()
289 List<CellBroadcastChannelRange> ranges) { in setCellBroadcastRange()
298 for (CellBroadcastChannelRange range: ranges) { in setCellBroadcastRange()
DCellBroadcastAlertService.java56 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
210 CellBroadcastChannelRange range = channelManager in shouldDisplayMessage()
312 CellBroadcastChannelRange range = channelManager in handleCellBroadcastIntent()
411 ArrayList<CellBroadcastChannelRange> ranges = channelManager.getCellBroadcastChannelRanges( in isChannelEnabled()
414 for (CellBroadcastChannelRange range : ranges) { in isChannelEnabled()
547 ArrayList<CellBroadcastChannelRange> ranges = channelManager in openEmergencyAlertNotification()
549 for (CellBroadcastChannelRange range : ranges) { in openEmergencyAlertNotification()
556 CellBroadcastChannelRange range = channelManager in openEmergencyAlertNotification()
DCellBroadcastResources.java29 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
364 ArrayList<CellBroadcastChannelRange> ranges = in getDialogTitleResource()
368 for (CellBroadcastChannelRange range : ranges) { in getDialogTitleResource()
419 ArrayList<CellBroadcastChannelRange> ranges = in getDialogPictogramResource()
422 for (CellBroadcastChannelRange range : ranges) { in getDialogPictogramResource()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java26 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
66 ArrayList<CellBroadcastChannelRange> list = channelManager.getCellBroadcastChannelRanges( in testGetCellBroadcastChannelRanges()
72 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(0).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
77 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(1).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
82 assertEquals(CellBroadcastChannelRange.LEVEL_NOT_EMERGENCY, list.get(2).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
87 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(3).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
92 assertEquals(CellBroadcastChannelRange.LEVEL_UNKNOWN, list.get(4).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
97 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(5).mEmergencyLevel); in testGetCellBroadcastChannelRanges()
DCellBroadcastConfigServiceTest.java36 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
144 List<CellBroadcastChannelRange> ranges) in setCellBroadcastRange()
165 ArrayList<CellBroadcastChannelRange> result = new ArrayList<>(); in testEnableCellBroadcastRange()
166 result.add(new CellBroadcastChannelRange(mContext, in testEnableCellBroadcastRange()
187 ArrayList<CellBroadcastChannelRange> result = new ArrayList<>(); in testDisableCellBroadcastRange()
188 result.add(new CellBroadcastChannelRange(mContext, in testDisableCellBroadcastRange()