Home
last modified time | relevance | path

Searched refs:packet2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp297 const auto& packet2 = packets[1]; in TEST_F() local
298 ASSERT_TRUE(packet2.has_timestamp()); in TEST_F()
299 EXPECT_EQ(packet2.timestamp(), signalTime2); in TEST_F()
300 ASSERT_TRUE(packet2.has_graphics_frame_event()); in TEST_F()
301 ASSERT_TRUE(packet2.graphics_frame_event().has_buffer_event()); in TEST_F()
302 ASSERT_FALSE(packet2.graphics_frame_event().buffer_event().has_duration_ns()); in TEST_F()
371 const auto& packet2 = packets[1]; in TEST_F() local
372 ASSERT_TRUE(packet2.has_timestamp()); in TEST_F()
373 EXPECT_EQ(packet2.timestamp(), startTime2); in TEST_F()
374 ASSERT_TRUE(packet2.has_graphics_frame_event()); in TEST_F()
[all …]
DFrameTimelineTest.cpp1046 const auto& packet2 = packets[2]; in TEST_F() local
1047 ASSERT_TRUE(packet2.has_timestamp()); in TEST_F()
1048 EXPECT_EQ(packet2.timestamp(), 20u); in TEST_F()
1049 ASSERT_TRUE(packet2.has_frame_timeline_event()); in TEST_F()
1051 const auto& event2 = packet2.frame_timeline_event(); in TEST_F()
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp167 const auto& packet2 = packets[2]; in TEST_F() local
168 ASSERT_TRUE(packet2.has_timestamp()); in TEST_F()
169 ASSERT_TRUE(packet2.has_gpu_mem_total_event()); in TEST_F()
170 const auto& gpuMemEvent2 = packet2.gpu_mem_total_event(); in TEST_F()