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.java85 private static Map<Integer, Map<Integer, List<CellBroadcastChannelRange>>>
87 private static Map<String, Map<Integer, List<CellBroadcastChannelRange>>>
104 public static class CellBroadcastChannelRange { class in CellBroadcastChannelManager
193 public CellBroadcastChannelRange(Context context, int subId, in CellBroadcastChannelRange() method in CellBroadcastChannelManager.CellBroadcastChannelRange
426 private @NonNull Map<Integer, List<CellBroadcastChannelRange>> getChannelRangesMapFromResoures( in getChannelRangesMapFromResoures()
428 Map<Integer, List<CellBroadcastChannelRange>> map = new ArrayMap<>(); in getChannelRangesMapFromResoures()
433 List<CellBroadcastChannelRange> rangesList = new ArrayList<>(); in getChannelRangesMapFromResoures()
439 CellBroadcastChannelRange r = in getChannelRangesMapFromResoures()
440 new CellBroadcastChannelRange(mContext, mSubId, res, range); in getChannelRangesMapFromResoures()
466 public @NonNull List<CellBroadcastChannelRange> getCellBroadcastChannelRanges(int key) { in getCellBroadcastChannelRanges()
[all …]
DCellBroadcastConfigService.java46 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
381 List<CellBroadcastChannelRange> ranges = channelManager.getCellBroadcastChannelRanges( in getCellBroadcastChannelsConfig()
383 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
394 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
405 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
416 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
427 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
438 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
450 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
460 for (CellBroadcastChannelRange range : ranges) { in getCellBroadcastChannelsConfig()
[all …]
DCellBroadcastAlertService.java73 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
290 CellBroadcastChannelRange range = channelManager in shouldDisplayMessage()
407 CellBroadcastChannelRange range = channelManager in handleCellBroadcastIntent()
490 CellBroadcastChannelRange range = channelManager in showNewAlert()
527 CellBroadcastChannelRange chanelrange = channelManager in isChannelEnabled()
543 CellBroadcastChannelRange range = channelManager.getCellBroadcastChannelRange(channel); in isChannelEnabled()
703 List<CellBroadcastChannelRange> ranges = channelManager in openEmergencyAlertNotification()
705 for (CellBroadcastChannelRange range : ranges) { in openEmergencyAlertNotification()
712 CellBroadcastChannelRange range = channelManager in openEmergencyAlertNotification()
DCellBroadcastAlertDialog.java78 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
313 CellBroadcastChannelRange range = channelManager in startScreenOnTimer()
624 CellBroadcastChannelRange range = channelManager in onResume()
857 CellBroadcastChannelRange range = channelManager in updateAlertText()
976 private void startPulsatingAsNeeded(CellBroadcastChannelRange range) { in startPulsatingAsNeeded()
1124 CellBroadcastChannelRange range = channelManager in dismiss()
1302 CellBroadcastChannelManager.CellBroadcastChannelRange range = in setFinishAlertOnTouchOutside()
DCellBroadcastResources.java32 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
357 CellBroadcastChannelRange range = channelManager in getDialogTitleResource()
433 CellBroadcastChannelRange range = channelManager in getDialogPictogramResource()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java36 import com.android.cellbroadcastreceiver.CellBroadcastChannelManager.CellBroadcastChannelRange;
112 List<CellBroadcastChannelRange> list = mChannelManager1.getCellBroadcastChannelRanges( in testGetCellBroadcastChannelRanges()
123 private void verifyChannelRangesForConfig1(List<CellBroadcastChannelRange> list) in verifyChannelRangesForConfig1()
130 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(0).mEmergencyLevel); in verifyChannelRangesForConfig1()
141 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(1).mEmergencyLevel); in verifyChannelRangesForConfig1()
153 assertEquals(CellBroadcastChannelRange.LEVEL_NOT_EMERGENCY, list.get(2).mEmergencyLevel); in verifyChannelRangesForConfig1()
159 assertEquals(list.get(2).mScope, CellBroadcastChannelRange.SCOPE_CARRIER); in verifyChannelRangesForConfig1()
165 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(3).mEmergencyLevel); in verifyChannelRangesForConfig1()
176 assertEquals(CellBroadcastChannelRange.LEVEL_UNKNOWN, list.get(4).mEmergencyLevel); in verifyChannelRangesForConfig1()
187 assertEquals(CellBroadcastChannelRange.LEVEL_EMERGENCY, list.get(5).mEmergencyLevel); in verifyChannelRangesForConfig1()
[all …]