Lines Matching refs:globalProto

281     SFTimeStatsGlobalProto globalProto;  in TEST_F()  local
282 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
284 ASSERT_TRUE(globalProto.has_total_frames()); in TEST_F()
285 EXPECT_EQ(TOTAL_FRAMES, globalProto.total_frames()); in TEST_F()
286 ASSERT_TRUE(globalProto.has_missed_frames()); in TEST_F()
287 EXPECT_EQ(MISSED_FRAMES, globalProto.missed_frames()); in TEST_F()
288 ASSERT_TRUE(globalProto.has_client_composition_frames()); in TEST_F()
289 EXPECT_EQ(CLIENT_COMPOSITION_FRAMES, globalProto.client_composition_frames()); in TEST_F()
580 SFTimeStatsGlobalProto globalProto; in TEST_F() local
581 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
583 ASSERT_EQ(1, globalProto.present_to_present_size()); in TEST_F()
584 const SFTimeStatsHistogramBucketProto& histogramProto = globalProto.present_to_present().Get(0); in TEST_F()
599 SFTimeStatsGlobalProto globalProto; in TEST_F() local
600 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
602 ASSERT_EQ(1, globalProto.frame_duration_size()); in TEST_F()
603 const SFTimeStatsHistogramBucketProto& histogramProto = globalProto.frame_duration().Get(0); in TEST_F()
647 SFTimeStatsGlobalProto globalProto; in TEST_F() local
648 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
650 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
651 const SFTimeStatsLayerProto& layerProto = globalProto.stats(0); in TEST_F()
693 SFTimeStatsGlobalProto globalProto; in TEST_F() local
694 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
696 EXPECT_THAT(globalProto.stats(), in TEST_F()
725 SFTimeStatsGlobalProto globalProto; in TEST_F() local
726 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
728 ASSERT_EQ(0, globalProto.stats_size()); in TEST_F()
739 SFTimeStatsGlobalProto globalProto; in TEST_F() local
740 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
742 EXPECT_EQ(2, globalProto.stats_size()); in TEST_F()
751 SFTimeStatsGlobalProto globalProto; in TEST_F() local
752 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
754 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
755 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F()
794 SFTimeStatsGlobalProto globalProto; in TEST_F() local
795 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
807 EXPECT_THAT(globalProto.display_config_stats(), SizeIs(2)); in TEST_F()
810 for (const auto& bucket : globalProto.display_config_stats()) { in TEST_F()
833 SFTimeStatsGlobalProto globalProto; in TEST_F() local
834 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
835 EXPECT_THAT(globalProto.display_config_stats(), SizeIs(1)); in TEST_F()
836 EXPECT_EQ(fps, globalProto.display_config_stats().Get(0).config().fps()); in TEST_F()
837 EXPECT_EQ(millisOne + millisTwo, globalProto.display_config_stats().Get(0).duration_millis()); in TEST_F()
848 SFTimeStatsGlobalProto globalProto; in TEST_F() local
849 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
851 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
852 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F()
869 SFTimeStatsGlobalProto globalProto; in TEST_F() local
870 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
872 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
873 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F()
886 SFTimeStatsGlobalProto globalProto; in TEST_F() local
887 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
889 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
890 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F()
916 SFTimeStatsGlobalProto globalProto; in TEST_F() local
917 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
919 EXPECT_EQ(0, globalProto.total_frames()); in TEST_F()
920 EXPECT_EQ(0, globalProto.missed_frames()); in TEST_F()
921 EXPECT_EQ(0, globalProto.client_composition_frames()); in TEST_F()
922 EXPECT_EQ(0, globalProto.present_to_present_size()); in TEST_F()
923 EXPECT_EQ(0, globalProto.frame_duration_size()); in TEST_F()
924 EXPECT_EQ(0, globalProto.render_engine_timing_size()); in TEST_F()
925 EXPECT_EQ(0, globalProto.stats_size()); in TEST_F()
998 SFTimeStatsGlobalProto globalProto; in TEST_F() local
1000 globalProto.ParseFromString(inputCommand(InputCommand::DUMP_MAXLAYERS_1, FMT_PROTO))); in TEST_F()
1002 ASSERT_EQ(1, globalProto.stats_size()); in TEST_F()
1003 const SFTimeStatsLayerProto& layerProto = globalProto.stats().Get(0); in TEST_F()
1016 SFTimeStatsGlobalProto globalProto; in TEST_F() local
1017 ASSERT_TRUE(globalProto.ParseFromString( in TEST_F()
1020 ASSERT_EQ(0, globalProto.stats_size()); in TEST_F()
1174 SFTimeStatsGlobalProto globalProto; in TEST_F() local
1175 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
1177 EXPECT_EQ(0, globalProto.total_frames()); in TEST_F()
1178 EXPECT_EQ(0, globalProto.missed_frames()); in TEST_F()
1179 EXPECT_EQ(0, globalProto.client_composition_frames()); in TEST_F()
1180 EXPECT_EQ(0, globalProto.present_to_present_size()); in TEST_F()
1319 SFTimeStatsGlobalProto globalProto; in TEST_F() local
1320 ASSERT_TRUE(globalProto.ParseFromString(inputCommand(InputCommand::DUMP_ALL, FMT_PROTO))); in TEST_F()
1322 EXPECT_EQ(0, globalProto.stats_size()); in TEST_F()