Lines Matching refs:mSnapshotBuilder

60         UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER);  in LayerSnapshotTest()
110 LayerSnapshot* getSnapshot(uint32_t layerId) { return mSnapshotBuilder.getSnapshot(layerId); } in getSnapshot()
112 return mSnapshotBuilder.getSnapshot(path); in getSnapshot()
114 LayerSnapshotBuilder mSnapshotBuilder; member in android::surfaceflinger::frontend::LayerSnapshotTest
156 UPDATE_AND_VERIFY_WITH_DISPLAY_CHANGES(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
170 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
173 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 11, 111, 112, 12, 121, 122, 1221, 13, 2}); in TEST_F()
178 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
183 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
186 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
191 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
194 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 122, 1221, 13, 2}); in TEST_F()
201 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
204 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
210 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 111, 11, 12, 121, 122, 1221, 13, 2}); in TEST_F()
213 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
221 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
230 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 11, 13, 111, 12, 121, 122, 1221, 2}); in TEST_F()
233 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 2}); in TEST_F()
238 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 13, 2}); in TEST_F()
240 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 12, 121, 122, 1221, 2}); in TEST_F()
246 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
255 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
259 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
267 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
272 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
278 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
295 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
314 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
339 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
376 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
381 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
397 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 11, 111, 12, 121, 122, 1221, 13, 2, 3}); in TEST_F()
406 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
411 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
416 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
441 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
461 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
484 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
496 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
498 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
502 size_t startingNumSnapshots = mSnapshotBuilder.getSnapshots().size(); in TEST_F()
507 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
509 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
511 EXPECT_EQ(startingNumSnapshots, mSnapshotBuilder.getSnapshots().size()); in TEST_F()
518 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
523 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
531 size_t startingNumSnapshots = mSnapshotBuilder.getSnapshots().size(); in TEST_F()
533 UPDATE_AND_VERIFY(mSnapshotBuilder, {1, 11, 13, 111, 12, 121, 122, 1221, 2}); in TEST_F()
535 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
537 EXPECT_EQ(startingNumSnapshots, mSnapshotBuilder.getSnapshots().size()); in TEST_F()
541 size_t startingNumSnapshots = mSnapshotBuilder.getSnapshots().size(); in TEST_F()
546 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
548 EXPECT_LE(startingNumSnapshots - 2, mSnapshotBuilder.getSnapshots().size()); in TEST_F()
565 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
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()
576 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
587 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
598 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
622 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
648 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
681 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
703 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
763 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
812 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
852 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
902 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
942 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
997 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1047 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1074 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1098 update(mSnapshotBuilder, args); in TEST_F()
1109 update(mSnapshotBuilder, args); in TEST_F()
1122 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1131 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1142 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1148 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1153 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1160 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1170 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1178 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1181 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1191 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1201 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1217 update(mSnapshotBuilder, args); in TEST_F()
1227 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1246 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1273 update(mSnapshotBuilder, args); in TEST_F()
1284 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1296 update(mSnapshotBuilder); in TEST_F()
1299 mSnapshotBuilder.forEachInputSnapshot([&](const frontend::LayerSnapshot& snapshot) { in TEST_F()
1318 UPDATE_AND_VERIFY(mSnapshotBuilder, STARTING_ZORDER); in TEST_F()
1335 UPDATE_AND_VERIFY(mSnapshotBuilder, expected); in TEST_F()
1367 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1377 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1388 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1407 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1418 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()
1429 UPDATE_AND_VERIFY(mSnapshotBuilder, {2}); in TEST_F()