Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp93 LayerInfo::Frequent LayerInfo::isFrequent(nsecs_t now) const { in isFrequent() function in android::scheduler::LayerInfo
112 bool isFrequent = true; in isFrequent() local
124 isFrequent = false; in isFrequent()
140 if (isFrequent || isInfrequent) { in isFrequent()
144 return {isFrequent, isFrequent && !mIsFrequencyConclusive, /* isConclusive */ true, in isFrequent()
150 isFrequent = !mLastRefreshRate.infrequent; in isFrequent()
155 return {isFrequent, isFrequent && mLastRefreshRate.animating, /* isConclusive */ false}; in isFrequent()
354 const LayerInfo::Frequent frequent = isFrequent(now); in getRefreshRateVote()
356 if (!frequent.isFrequent) { in getRefreshRateVote()
DLayerInfo.h310 bool isFrequent; member
317 Frequent isFrequent(nsecs_t now) const;
/frameworks/av/media/libmedia/include/media/
DCharacterEncodingDetector.h51 bool isFrequent(const uint16_t *values, uint32_t c);
/frameworks/av/media/libmedia/
DCharacterEncodingDetector.cpp426 if (isFrequent(freqdata, c)) { in getPreferred()
488 bool CharacterEncodingDetector::isFrequent(const uint16_t *values, uint32_t c) { in isFrequent() function in android::CharacterEncodingDetector
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryIntegrationTest.cpp98 return pair.second.second->isFrequent(now).isFrequent; in frequentLayerCount()
112 return pair.second.second->isFrequent(now).clearHistory; in clearLayerHistoryCount()
DLayerHistoryTest.cpp92 return pair.second.second->isFrequent(now).isFrequent; in frequentLayerCount()
106 return pair.second.second->isFrequent(now).clearHistory; in clearLayerHistoryCount()