Searched refs:layerMetadata (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_UpdateLayerMetadataSnapshotTest.cpp | 29 LayerMetadataBuilder(LayerMetadata layerMetadata = {}) : mLayerMetadata(layerMetadata) {} in LayerMetadataBuilder() argument 46 std::ostream& operator<<(std::ostream& stream, const LayerMetadata& layerMetadata) { in operator <<() argument 48 for (auto it = layerMetadata.mMap.cbegin(); it != layerMetadata.mMap.cend(); it++) { in operator <<() 49 if (it != layerMetadata.mMap.cbegin()) { in operator <<() 52 stream << layerMetadata.itemToString(it->first, ":"); in operator <<() 59 auto layerMetadata = LayerMetadataBuilder().setInt32(METADATA_TASK_ID, 1).build(); in TEST_F() local 60 auto layer = createLayer("layer", layerMetadata); in TEST_F() 65 EXPECT_EQ(layer->getLayerSnapshot()->layerMetadata, layerMetadata); in TEST_F() 84 EXPECT_EQ(layerA->getLayerSnapshot()->layerMetadata, layerAMetadata); in TEST_F() 87 EXPECT_EQ(layerB->getLayerSnapshot()->layerMetadata, expectedChildMetadata); in TEST_F()
|
D | CommitTest.cpp | 112 auto parentMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->layerMetadata.mMap; in TEST_F() 113 auto childMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(11)->layerMetadata.mMap; in TEST_F() 156 auto parentMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(1)->layerMetadata.mMap; in TEST_F() 157 auto childMetadata = mFlinger.mutableLayerSnapshotBuilder().getSnapshot(11)->layerMetadata.mMap; in TEST_F()
|
D | LayerSnapshotTest.cpp | 567 EXPECT_TRUE(mSnapshotBuilder.getSnapshot(200)->layerMetadata.has(42)); in TEST_F() 568 EXPECT_EQ(mSnapshotBuilder.getSnapshot(200)->layerMetadata.getInt32(42, 0), 24); in TEST_F()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.h | 77 gui::LayerMetadata layerMetadata; member
|
D | LayerSnapshotBuilder.cpp | 361 snapshot.layerMetadata.mMap.clear(); in getRootSnapshot() 651 snapshot.relativeLayerMetadata = parentSnapshot.layerMetadata; in updateRelativeState() 810 snapshot.layerMetadata = parentSnapshot.layerMetadata; in updateSnapshot() 811 snapshot.layerMetadata.merge(requested.metadata); in updateSnapshot()
|
D | LayerSnapshot.cpp | 134 layerMetadata = state.metadata; in LayerSnapshot()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.cpp | 361 return &mSnapshot->layerMetadata; in getMetadata()
|
D | Layer.cpp | 1644 snapshot.layerMetadata.getInt32(gui::METADATA_WINDOW_TYPE, 0)); in miniDump() 4386 mSnapshot->layerMetadata = parentMetadata; in updateMetadataSnapshot() 4387 mSnapshot->layerMetadata.merge(mDrawingState.metadata); in updateMetadataSnapshot() 4389 child->updateMetadataSnapshot(mSnapshot->layerMetadata); in updateMetadataSnapshot() 4407 childRelativeLayerMetadata.merge(mSnapshot->layerMetadata); in updateRelativeMetadataSnapshot()
|