Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java86 public int mEndId; field in CellBroadcastConfigService.CbConfig
92 this.mEndId = endId; in CbConfig()
387 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
398 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
409 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
420 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
431 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
442 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
454 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
464 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig()
[all …]
DCellBroadcastChannelManager.java158 public int mEndId; field in CellBroadcastChannelManager.CellBroadcastChannelRange
343 mEndId = Integer.decode(channelRange.substring(dashIndex + 1).trim()); in CellBroadcastChannelRange()
346 mStartId = mEndId = Integer.decode(channelRange); in CellBroadcastChannelRange()
352 return "Range:[channels=" + mStartId + "-" + mEndId + ",emergency level=" in toString()
568 if (channel >= range.mStartId && channel <= range.mEndId in findChannelRange()
DCellBroadcastReceiverMetrics.java257 mDnDChannelSet.add(new Pair(r.mStartId, r.mEndId)); in onChangedOverrideDnD()
DCellBroadcastAlertService.java567 Log.d(TAG, "The range [" + range.mStartId + "-" + range.mEndId in isChannelEnabled()
706 if (channel >= range.mStartId && channel <= range.mEndId) { in openEmergencyAlertNotification()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastChannelManagerTest.java128 assertEquals(12, list.get(0).mEndId); in verifyChannelRangesForConfig1()
139 assertEquals(456, list.get(1).mEndId); in verifyChannelRangesForConfig1()
151 assertEquals(0xAFED, list.get(2).mEndId); in verifyChannelRangesForConfig1()
163 assertEquals(60, list.get(3).mEndId); in verifyChannelRangesForConfig1()
174 assertEquals(200, list.get(4).mEndId); in verifyChannelRangesForConfig1()
185 assertEquals(0xA804, list.get(5).mEndId); in verifyChannelRangesForConfig1()
198 assertEquals(0xA901, list.get(6).mEndId); in verifyChannelRangesForConfig1()
203 assertEquals(0xA902, list.get(7).mEndId); in verifyChannelRangesForConfig1()
209 assertEquals(0xA903, list.get(8).mEndId); in verifyChannelRangesForConfig1()
217 assertEquals(0x1113, list.get(9).mEndId); in verifyChannelRangesForConfig1()
[all …]
DCellBroadcastConfigServiceTest.java606 configs[0].mEndId, configs[0].mRanType, configs[0].mEnable))); in testDisablingGeoFencingTriggeredChannel()
610 eq(configs[0].mStartId), eq(configs[0].mEndId), in testDisablingGeoFencingTriggeredChannel()
809 configs[i].mEndId, configs[i].mRanType, configs[i].mEnable))); in verifySetRanges()
816 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges()
821 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges()
839 configs[i].mEndId, configs[i].mRanType, configs[i].mEnable))); in verifySetRanges()
846 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges()
851 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges()
968 && configs[i].mEndId <= ranges.get(j).getEndId() in testEnableCellBroadcastRoamingChannelsAsNeeded()
987 && configs[i].mEndId <= endIds.getAllValues().get(j).intValue()) { in testEnableCellBroadcastRoamingChannelsAsNeeded()
[all …]