Lines Matching refs:CellBroadcastChannelRange
85 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()
467 List<CellBroadcastChannelRange> result = null; in getCellBroadcastChannelRanges()
490 public @NonNull List<CellBroadcastChannelRange> getAllCellBroadcastChannelRanges() { in getAllCellBroadcastChannelRanges()
491 final List<CellBroadcastChannelRange> result = new ArrayList<>(); in getAllCellBroadcastChannelRanges()
533 Pair<Integer, CellBroadcastChannelRange> p = findChannelRange(channel); in getCellBroadcastChannelResourcesKey()
544 public @Nullable CellBroadcastChannelRange getCellBroadcastChannelRange(int channel) { in getCellBroadcastChannelRange()
545 Pair<Integer, CellBroadcastChannelRange> p = findChannelRange(channel); in getCellBroadcastChannelRange()
550 private @Nullable Pair<Integer, CellBroadcastChannelRange> findChannelRange(int channel) { in findChannelRange()
552 Pair<Integer, CellBroadcastChannelRange> p = findChannelRange( in findChannelRange()
562 private @Nullable Pair<Integer, CellBroadcastChannelRange> findChannelRange( in findChannelRange()
563 Map<Integer, List<CellBroadcastChannelRange>> channelRangeMap, int channel) { in findChannelRange()
565 for (Map.Entry<Integer, List<CellBroadcastChannelRange>> entry in findChannelRange()
567 for (CellBroadcastChannelRange range : entry.getValue()) { in findChannelRange()
585 if (rangeScope == CellBroadcastChannelRange.SCOPE_UNKNOWN) return true; in checkScope()
604 && rangeScope == CellBroadcastChannelRange.SCOPE_DOMESTIC) { in checkScope()
607 && rangeScope == CellBroadcastChannelRange.SCOPE_INTERNATIONAL) { in checkScope()
623 public CellBroadcastChannelRange getCellBroadcastChannelRangeFromMessage(SmsCbMessage message) { in getCellBroadcastChannelRangeFromMessage()
650 CellBroadcastChannelRange range = getCellBroadcastChannelRange(id); in isEmergencyMessage()
654 case CellBroadcastChannelRange.LEVEL_EMERGENCY: in isEmergencyMessage()
657 case CellBroadcastChannelRange.LEVEL_NOT_EMERGENCY: in isEmergencyMessage()
660 case CellBroadcastChannelRange.LEVEL_UNKNOWN: in isEmergencyMessage()