Searched refs:dupeCounter (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3055 uint32_t dupeCounter = 0; local
3058 String8 uniqueName = name + "#" + String8(std::to_string(dupeCounter).c_str());
3066 uniqueName = name + "#" + String8(std::to_string(++dupeCounter).c_str());
3071 ALOGD_IF(dupeCounter > 0, "duplicate layer name: changing %s to %s", name.c_str(), uniqueName.c_str());
H A DSurfaceFlinger_hwc1.cpp2715 uint32_t dupeCounter = 0; local
2718 String8 uniqueName = name + "#" + String8(std::to_string(dupeCounter).c_str());
2726 uniqueName = name + "#" + String8(std::to_string(++dupeCounter).c_str());
2731 ALOGD_IF(dupeCounter > 0, "duplicate layer name: changing %s to %s", name.c_str(), uniqueName.c_str());

Completed in 29 milliseconds