Home
last modified time | relevance | path

Searched refs:maxLayers (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp134 std::string TimeStatsHelper::TimeStatsGlobal::toString(std::optional<uint32_t> maxLayers) const { in toString()
187 const auto dumpStats = generateDumpStats(maxLayers); in toString()
214 std::optional<uint32_t> maxLayers) const { in toProto()
244 const auto dumpStats = generateDumpStats(maxLayers); in toProto()
253 TimeStatsHelper::TimeStatsGlobal::generateDumpStats(std::optional<uint32_t> maxLayers) const { in generateDumpStats()
275 if (maxLayers && (*maxLayers < dumpStats.size())) { in generateDumpStats()
276 dumpStats.resize(*maxLayers); in generateDumpStats()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h188 std::string toString(std::optional<uint32_t> maxLayers) const;
189 SFTimeStatsGlobalProto toProto(std::optional<uint32_t> maxLayers) const;
193 std::optional<uint32_t> maxLayers) const;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp286 std::optional<uint32_t> maxLayers = std::nullopt; in parseArgs() local
291 maxLayers = static_cast<uint32_t>(value); in parseArgs()
294 dump(asProto, maxLayers, result); in parseArgs()
1095 void TimeStats::dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result) { in dump() argument
1109 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
1113 result.append(mTimeStats.toString(maxLayers)); in dump()
DTimeStats.h307 void dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result);