Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManagerTest.java66 assertEquals(12, list.get(0).mEndId); in testGetCellBroadcastChannelRanges()
71 assertEquals(456, list.get(1).mEndId); in testGetCellBroadcastChannelRanges()
76 assertEquals(0xAFED, list.get(2).mEndId); in testGetCellBroadcastChannelRanges()
81 assertEquals(60, list.get(3).mEndId); in testGetCellBroadcastChannelRanges()
86 assertEquals(200, list.get(4).mEndId); in testGetCellBroadcastChannelRanges()
91 assertEquals(0xA804, list.get(5).mEndId); in testGetCellBroadcastChannelRanges()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java103 public int mEndId; field in CellBroadcastChannelManager.CellBroadcastChannelRange
183 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in CellBroadcastChannelRange()
186 mStartId = mEndId = Integer.decode(channelRange); in CellBroadcastChannelRange()
192 return "Range:[channels=" + mStartId + "-" + mEndId + ",emergency level=" in toString()
269 if (channel >= range.mStartId && channel <= range.mEndId) { in checkCellBroadcastChannelRange()
330 && range.mEndId >= message.getServiceCategory()) { in getCellBroadcastChannelRangeFromMessage()
355 if (range.mStartId <= id && range.mEndId >= id) { in isEmergencyMessage()
DCellBroadcastConfigService.java273 manager.enableCellBroadcastRange(range.mStartId, range.mEndId, range.mRat); in setCellBroadcastRange()
275 manager.disableCellBroadcastRange(range.mStartId, range.mEndId, range.mRat); in setCellBroadcastRange()
DCellBroadcastAlertService.java459 if (range.mStartId <= channel && range.mEndId >= channel) { in isChannelEnabled()
463 Log.d(TAG, "The range [" + range.mStartId + "-" + range.mEndId in isChannelEnabled()
604 if (channel >= range.mStartId && channel <= range.mEndId) { in openEmergencyAlertNotification()
DCellBroadcastResources.java329 if (serviceCategory >= range.mStartId && serviceCategory <= range.mEndId) { in getDialogTitleResource()