Lines Matching refs:CoordinatedVideoAdapter
47 void UpdateCpuLoad(CoordinatedVideoAdapter* adapter, in UpdateCpuLoad()
410 CoordinatedVideoAdapter adapter; in TEST()
439 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
445 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
452 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
459 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
465 CoordinatedVideoAdapter::KEEP); in TEST()
471 CoordinatedVideoAdapter::UPGRADE); in TEST()
507 CoordinatedVideoAdapter::UPGRADE); in TEST()
539 CoordinatedVideoAdapter::UPGRADE); in TEST()
552 CoordinatedVideoAdapter adapter; in TEST()
588 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU, in TEST()
599 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU + in TEST()
600 CoordinatedVideoAdapter::ADAPTREASON_VIEW, in TEST()
614 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_VIEW, in TEST()
625 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU, in TEST()
630 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
635 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_BANDWIDTH, in TEST()
645 CoordinatedVideoAdapter::UPGRADE); in TEST()
651 CoordinatedVideoAdapter::UPGRADE); in TEST()
664 CoordinatedVideoAdapter adapter; in TEST()
677 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::DOWNGRADE); in TEST()
682 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::KEEP); in TEST()
689 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::DOWNGRADE); in TEST()
695 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::DOWNGRADE); in TEST()
700 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU, in TEST()
704 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::DOWNGRADE); in TEST()
716 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU + in TEST()
717 CoordinatedVideoAdapter::ADAPTREASON_VIEW, in TEST()
721 adapter.OnCpuResolutionRequest(CoordinatedVideoAdapter::UPGRADE); in TEST()
726 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_VIEW, in TEST()
737 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU, in TEST()
742 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
747 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_BANDWIDTH, in TEST()
757 CoordinatedVideoAdapter::UPGRADE); in TEST()
763 CoordinatedVideoAdapter::UPGRADE); in TEST()
776 CoordinatedVideoAdapter adapter; in TEST()
791 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_VIEW, adapter.adapt_reason()); in TEST()
811 CoordinatedVideoAdapter adapter; in TEST()
858 CoordinatedVideoAdapter adapter; in TEST()
875 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_VIEW, adapter.adapt_reason()); in TEST()
880 CoordinatedVideoAdapter adapter; in TEST()
931 CoordinatedVideoAdapter adapter; in TEST()
955 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_CPU, adapter.adapt_reason()); in TEST()
974 CoordinatedVideoAdapter adapter; in TEST()
1032 CoordinatedVideoAdapter adapter; in TEST()
1048 CoordinatedVideoAdapter::UPGRADE); in TEST()
1062 CoordinatedVideoAdapter::UPGRADE); in TEST()
1074 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_BANDWIDTH, in TEST()
1086 CoordinatedVideoAdapter::DOWNGRADE); in TEST()
1092 CoordinatedVideoAdapter adapter; in TEST()
1114 EXPECT_EQ(CoordinatedVideoAdapter::ADAPTREASON_VIEW, in TEST()
1161 CoordinatedVideoAdapter adapter; in TEST_F()
1187 CoordinatedVideoAdapter adapter; in TEST_F()
1215 CoordinatedVideoAdapter adapter; in TEST_F()
1258 CoordinatedVideoAdapter adapter; in TEST_F()