Searched refs:upperBound (Results 1 – 14 of 14) sorted by relevance
26 MessageCounter::MessageCounter(Signal signal) : upperBound(signal.maxValue + 1), mSignal(signal) {} in MessageCounter()30 return (*mCurrent + 1) % upperBound; in next()
57 auto paddingMessagesCount = mCounter.upperBound - (mMessages.size() % mCounter.upperBound); in processQueueLocked()
38 int upperBound;
26 const Signal::value upperBound;
198 if (stepTo > range->upperBound) stepTo = range->lowerBound; in step()199 if (stepTo < range->lowerBound) stepTo = range->upperBound; in step()308 if (range.lowerBound <= freq && range.upperBound >= freq) return range; in getAmFmRangeLocked()
189 int upperBound; local192 upperBound = brightnessBlockingZone.first;195 (upperBound == INT_MAX ? "Max" : std::to_string(upperBound).c_str()),197 lowerBound = upperBound;1489 int upperBound; in dump() local1493 upperBound = brightnessBlockingZone.first; in dump()1497 (upperBound == INT_MAX ? "Max" in dump()1498 : std::to_string(upperBound).c_str()), in dump()1500 lowerBound = upperBound; in dump()
82 bool isFm = freq >= kFmFullBandRange.lowerBound && freq <= kFmFullBandRange.upperBound; in isDigitalProgramAllowed()109 if (freq < currentAmFmBandRange->lowerBound || freq > currentAmFmBandRange->upperBound) { in isProgramInBand()544 if (stepTo > mCurrentAmFmBandRange->upperBound) { in step()548 stepTo = mCurrentAmFmBandRange->upperBound; in step()703 if (range.lowerBound <= freq && range.upperBound >= freq) { in adjustAmFmRangeLocked()
296 EXPECT_TRUE(isValidAmFmFreq(range.upperBound)); in validateRange()297 EXPECT_LT(range.lowerBound, range.upperBound); in validateRange()299 EXPECT_EQ(0u, (range.upperBound - range.lowerBound) % range.spacing); in validateRange()
314 ProgramSelector upperBoundSel = utils::makeSelectorAmfm(fmRange.upperBound); in TEST_F()346 ProgramSelector upperBoundSel = utils::makeSelectorAmfm(fmRange.upperBound); in TEST_F()
93 EXPECT_TRUE(isValidAmFmFreq(range.upperBound, aidlVersion)); in validateRange()94 EXPECT_LT(range.lowerBound, range.upperBound); in validateRange()96 EXPECT_EQ((range.upperBound - range.lowerBound) % range.spacing, 0u); in validateRange()
184 * lowerBound + channelNumber * spacing, up to upperBound.191 uint32_t upperBound;