Home
last modified time | relevance | path

Searched refs:findIt (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp396 auto findIt = mStats.find(dumpKey); in mergeStat() local
397 if (findIt == mStats.end()) { in mergeStat()
400 auto summary = findIt->second.mutable_summary(); in mergeStat()
414 for (int bucketIndex = 0; bucketIndex < findIt->second.histogram_size(); bucketIndex++) { in mergeStat()
415 auto bucket = findIt->second.mutable_histogram(bucketIndex); in mergeStat()
419 for (int bucketIndex = 0; bucketIndex < findIt->second.gpu_histogram_size(); in mergeStat()
421 auto bucket = findIt->second.mutable_gpu_histogram(bucketIndex); in mergeStat()
425 findIt->second.set_stats_start(std::min(findIt->second.stats_start(), stat.stats_start())); in mergeStat()
426 findIt->second.set_stats_end(std::max(findIt->second.stats_end(), stat.stats_end())); in mergeStat()
/frameworks/av/media/module/bufferpool/2.0/tests/
DBufferpoolUnitTest.cpp358 auto findIt = bufferMap.find(tid[i]); in TEST_F() local
359 ASSERT_NE(findIt, bufferMap.end()) << "inconsistent buffer mapping"; in TEST_F()
362 ASSERT_EQ(findIt->second, receiverBuffer->mId) << "invalid buffer received"; in TEST_F()
367 bufferMap.erase(findIt); in TEST_F()