Home
last modified time | relevance | path

Searched refs:layerName (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp105 const std::string layerName = "co.layername#0"; in TEST_F() local
107 mFrameTracer->traceNewLayer(layerId, layerName); in TEST_F()
116 mFrameTracer->traceNewLayer(layerId, layerName); in TEST_F()
126 const std::string layerName = "co.layername#0"; in TEST_F() local
132 mFrameTracer->traceNewLayer(layerId, layerName); in TEST_F()
133 mFrameTracer->traceNewLayer(secondlayerId, layerName); in TEST_F()
150 const std::string layerName = "co.layername#0"; in TEST_F() local
175 mFrameTracer->traceNewLayer(layerId, layerName); in TEST_F()
203 const std::string layerName = "co.layername#0"; in TEST_F() local
215 mFrameTracer->traceNewLayer(layerId, layerName); in TEST_F()
[all …]
DFrameTimelineTest.cpp869 std::string layerName) { in createProtoExpectedSurfaceFrameStart() argument
875 proto.set_layer_name(layerName); in createProtoExpectedSurfaceFrameStart()
880 int64_t cookie, int64_t token, int64_t displayFrameToken, pid_t pid, std::string layerName, in createProtoActualSurfaceFrameStart() argument
888 proto.set_layer_name(layerName); in createProtoActualSurfaceFrameStart()
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp52 void FrameTracer::traceNewLayer(int32_t layerId, const std::string& layerName) { in traceNewLayer() argument
53 FrameTracerDataSource::Trace([this, layerId, &layerName](FrameTracerDataSource::TraceContext) { in traceNewLayer()
56 mTraceTracker[layerId].layerName = layerName; in traceNewLayer()
148 !mTraceTracker[layerId].layerName.empty()) { in traceLocked()
149 const std::string& layerName = mTraceTracker[layerId].layerName; in traceLocked() local
150 event->set_layer_name(layerName.c_str(), layerName.size()); in traceLocked()
DFrameTracer.h50 void traceNewLayer(int32_t layerId, const std::string& layerName);
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
DAutoEnterPipOnGoToHomeTest.kt83 val layerName = pipApp.component.toLayerName() in <lambda>() constant
85 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
99 val layerName = pipApp.component.toLayerName() in <lambda>() constant
101 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
DExpandPipOnDoubleClickTest.kt117 val layerName = pipApp.component.toLayerName() in <lambda>() constant
119 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
129 val layerName = pipApp.component.toLayerName() in <lambda>() constant
131 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
DExitPipToAppTransition.kt122 val layerName = pipApp.component.toLayerName() in <lambda>() constant
124 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
DMovePipShelfHeightTransition.kt108 val layerName = pipApp.component.toLayerName() in <lambda>() constant
110 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
DEnterPipTest.kt131 val layerName = pipApp.component.toLayerName() in <lambda>() constant
133 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h86 std::string layerName; variable
129 std::string layerName; member
135 size_t layerNameHash = std::hash<std::string>{}(key.layerName); in operator()
143 return uid == o.uid && layerName == o.layerName && gameMode == o.gameMode;
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp252 enumerate_instance_extensions(props.layerName, &count, nullptr); in EnumerateLayers()
257 props.layerName, path_.c_str(), result); in EnumerateLayers()
263 props.layerName, &count, layer.instance_extensions.data()); in EnumerateLayers()
268 props.layerName, path_.c_str(), result); in EnumerateLayers()
283 VK_NULL_HANDLE, props.layerName, &count, nullptr); in EnumerateLayers()
288 props.layerName, path_.c_str(), result); in EnumerateLayers()
294 VK_NULL_HANDLE, props.layerName, &count, in EnumerateLayers()
300 props.layerName, path_.c_str(), result); in EnumerateLayers()
308 (layer.is_global) ? "global" : "instance", props.layerName, in EnumerateLayers()
316 std::string layer_name { layer.properties.layerName }; in GetGPA()
[all …]
Dapi.cpp606 if (strcmp(GetLayerProperties(l).layerName, layer_names[i])) { in ActivateLayers()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h76 virtual void setPostTime(int32_t layerId, uint64_t frameNumber, const std::string& layerName,
120 std::string layerName; member
134 layerName == o.layerName && gameMode == o.gameMode && reasons == o.reasons &&
146 os << "\n .layerName = " << info.layerName;
210 std::string layerName; member
260 void setPostTime(int32_t layerId, uint64_t frameNumber, const std::string& layerName, uid_t uid,
301 bool canAddNewAggregatedStats(uid_t uid, const std::string& layerName, GameMode);
DTimeStats.cpp172 atom->set_layer_name(layer->layerName); in populateLayerAtom()
464 const std::string& layerName = layerRecord.layerName; in flushAvailableRecordsToStatsLocked() local
472 TimeStatsHelper::LayerStatsKey layerKey = {uid, layerName, gameMode}; in flushAvailableRecordsToStatsLocked()
477 displayStats.stats[layerKey].layerName = layerName; in flushAvailableRecordsToStatsLocked()
539 static bool layerNameIsValid(const std::string& layerName) { in layerNameIsValid() argument
540 return layerName.length() >= kMinLenLayerName && in layerNameIsValid()
541 layerName.compare(0, kMinLenLayerName, kPopupWindowPrefix) != 0; in layerNameIsValid()
544 bool TimeStats::canAddNewAggregatedStats(uid_t uid, const std::string& layerName, in canAddNewAggregatedStats() argument
548 if (record.second.stats.count({uid, layerName, gameMode}) > 0) { in canAddNewAggregatedStats()
558 void TimeStats::setPostTime(int32_t layerId, uint64_t frameNumber, const std::string& layerName, in setPostTime() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java425 Rect extensionRect, int xPos, int yPos, String layerName, in createExtensionSurface() argument
428 doCreateExtensionSurface(leash, edgeBounds, extensionRect, xPos, yPos, layerName, in createExtensionSurface()
434 Rect extensionRect, int xPos, int yPos, String layerName, in doCreateExtensionSurface() argument
458 .setName(layerName) in doCreateExtensionSurface()
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h162 int32_t layerId, std::string layerName, std::string debugName,
292 int32_t layerId, std::string layerName, std::string debugName, bool isBuffer,
453 int32_t layerId, std::string layerName, std::string debugName, bool isBuffer,
DFrameTimeline.cpp302 uid_t ownerUid, int32_t layerId, std::string layerName, in SurfaceFrame() argument
312 mLayerName(std::move(layerName)), in SurfaceFrame()
789 std::string layerName, std::string debugName, bool isBuffer, GameMode gameMode) { in createSurfaceFrameForToken() argument
793 std::move(layerName), std::move(debugName), in createSurfaceFrameForToken()
802 std::move(layerName), std::move(debugName), in createSurfaceFrameForToken()
808 std::move(layerName), std::move(debugName), in createSurfaceFrameForToken()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp109 StringAppendF(&result, "layerName = %s\n", layerName.c_str()); in toString()
197 layerProto.set_layer_name(layerName); in toProto()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitionAnimationHelper.java306 @NonNull String layerName, @NonNull SurfaceControl.Transaction startTransaction, in createExtensionSurface() argument
309 .setName(layerName) in createExtensionSurface()
/frameworks/native/vulkan/vkjson/
Dvkjson_instance.cc315 if (!EnumerateExtensions(layer.layerName, in VkJsonGetInstance()
Dvkjson.cc1021 visitor->Visit("layerName", &properties->layerName) && in Iterate()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h364 const BufferData& bufferData, const char* layerName) const;
DSurfaceFlinger.cpp7366 const BufferData& bufferData, const char* layerName) const { in getExternalTextureFromBufferData()
7392 layerName); in getExternalTextureFromBufferData()