/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FlagManagerTest.cpp | 97 SET_FLAG_FOR_TEST(flags::refresh_rate_overlay_on_external_display, false); in TEST_F() 109 SET_FLAG_FOR_TEST(flags::add_sf_skipped_frames_to_trace, false); in TEST_F() 123 SET_FLAG_FOR_TEST(flags::refresh_rate_overlay_on_external_display, true); in TEST_F() 134 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 149 SET_FLAG_FOR_TEST(flags::refresh_rate_overlay_on_external_display, true); in TEST_F() 154 SET_FLAG_FOR_TEST(flags::refresh_rate_overlay_on_external_display, false); in TEST_F() 165 SET_FLAG_FOR_TEST(flags::misc1, true); in TEST_F() 170 SET_FLAG_FOR_TEST(flags::misc1, false); in TEST_F()
|
D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 460 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 469 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 482 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 491 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 496 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F()
|
D | FrameRateOverrideMappingsTest.cpp | 66 SET_FLAG_FOR_TEST(flags::game_default_frame_rate, false); in TEST_F() 104 SET_FLAG_FOR_TEST(flags::game_default_frame_rate, false); in TEST_F()
|
D | SurfaceFlinger_FoldableTest.cpp | 170 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 181 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F()
|
D | VSyncPredictorTest.cpp | 539 SET_FLAG_FOR_TEST(flags::vrr_bugfix_24q4, true); in TEST_F() 677 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 743 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 770 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 802 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 829 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 852 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 889 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F()
|
D | PowerAdvisorTest.cpp | 86 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel, true); 87 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel_fixed, false); 184 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::adpf_gpu_sf, in testGpuScenario() 186 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel_fixed, config.usesFmq); in testGpuScenario() 791 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel_fixed, true); in TEST_F() 809 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel_fixed, true); in TEST_F() 823 SET_FLAG_FOR_TEST(android::os::adpf_use_fmq_channel_fixed, true); in TEST_F()
|
D | LayerHistoryTest.cpp | 253 SET_FLAG_FOR_TEST(flags::game_default_frame_rate, true); in TEST_F() 285 SET_FLAG_FOR_TEST(flags::game_default_frame_rate, true); in TEST_F() 556 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 596 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 636 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, false); in TEST_F() 668 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 709 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 740 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 785 SET_FLAG_FOR_TEST(flags::misc1, true); in TEST_F() 1036 SET_FLAG_FOR_TEST(flags::misc1, false); in TEST_F() [all …]
|
D | LayerHistoryIntegrationTest.cpp | 277 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 499 SET_FLAG_FOR_TEST(flags::misc1, false); in TEST_F() 524 SET_FLAG_FOR_TEST(flags::misc1, true); in TEST_F() 769 SET_FLAG_FOR_TEST(flags::use_known_refresh_rate_for_fps_consistency, false); in TEST_F() 782 SET_FLAG_FOR_TEST(flags::use_known_refresh_rate_for_fps_consistency, true); in TEST_F() 1029 SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); in TEST_F() 1047 SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); in TEST_F() 1065 SET_FLAG_FOR_TEST(flags::enable_small_area_detection, true); in TEST_F()
|
D | VSyncDispatchTimerQueueTest.cpp | 751 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, false); in TEST_F() 773 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, true); in TEST_F() 848 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, false); in TEST_F() 868 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, true); in TEST_F() 950 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, false); in TEST_F() 979 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, true); in TEST_F() 1128 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, false); in TEST_F() 1151 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, true); in TEST_F() 1175 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, false); in TEST_F() 1196 SET_FLAG_FOR_TEST(flags::dont_skip_on_early_ro, true); in TEST_F() [all …]
|
D | SurfaceFlinger_HotplugTest.cpp | 96 SET_FLAG_FOR_TEST(flags::connected_display, true); in TEST_F()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 361 SET_FLAG_FOR_TEST(flags::connected_display, true); in TEST_F() 435 SET_FLAG_FOR_TEST(flags::connected_display, true); in TEST_F() 512 SET_FLAG_FOR_TEST(flags::connected_display, true); in TEST_F()
|
D | LayerInfoTest.cpp | 273 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F()
|
D | LayerSnapshotTest.cpp | 688 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 886 SET_FLAG_FOR_TEST(flags::frame_rate_category_mrr, true); in TEST_F() 1329 SET_FLAG_FOR_TEST(flags::detached_mirror, true); in TEST_F() 1358 SET_FLAG_FOR_TEST(flags::override_trusted_overlay, true); in TEST_F() 1398 SET_FLAG_FOR_TEST(flags::override_trusted_overlay, false); in TEST_F()
|
D | HWComposerTest.cpp | 250 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::vrr_config, false); in TEST_F() 340 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::vrr_config, true); in TEST_F()
|
D | SchedulerTest.cpp | 569 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 662 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 685 SET_FLAG_FOR_TEST(flags::multithreaded_present, false); in TEST_F()
|
D | TransactionApplicationTest.cpp | 506 SET_FLAG_FOR_TEST(flags::latch_unsignaled_with_auto_refresh_changed, false); in TEST_F() 525 SET_FLAG_FOR_TEST(flags::latch_unsignaled_with_auto_refresh_changed, true); in TEST_F()
|
D | RefreshRateSelectorTest.cpp | 2005 SET_FLAG_FOR_TEST(flags::vrr_config, false); in TEST_P() 2125 SET_FLAG_FOR_TEST(flags::vrr_config, false); in TEST_P() 2192 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P() 4292 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P() 4312 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P() 4370 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P() 4394 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P() 4424 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_P()
|
D | FrameTimelineTest.cpp | 1202 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::add_sf_skipped_frames_to_trace, in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | FrameTargeterTest.cpp | 172 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() 189 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() 210 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, true); in TEST_F() 233 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 234 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() 258 SET_FLAG_FOR_TEST(flags::vrr_config, true); in TEST_F() 259 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, true); in TEST_F() 291 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() 321 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() 348 SET_FLAG_FOR_TEST(flags::allow_n_vsyncs_in_targeter, false); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CompositionEngineTest.cpp | 122 SET_FLAG_FOR_TEST(flags::multithreaded_present, false); in TEST_F() 338 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 351 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 364 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 377 SET_FLAG_FOR_TEST(flags::multithreaded_present, false); in TEST_F() 388 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 403 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 416 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 429 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() 446 SET_FLAG_FOR_TEST(flags::multithreaded_present, true); in TEST_F() [all …]
|
D | OutputTest.cpp | 3078 SET_FLAG_FOR_TEST(flags::fp16_client_target, true); in TEST_F() 3184 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::flush_buffer_slots_to_uncache, in TEST_F() 3195 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::flush_buffer_slots_to_uncache, in TEST_F() 3206 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::flush_buffer_slots_to_uncache, in TEST_F() 3229 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::flush_buffer_slots_to_uncache, in TEST_F() 3267 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::ce_fence_promise, false); in TEST_F() 3312 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::ce_fence_promise, true); in TEST_F() 3354 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::ce_fence_promise, false); in TEST_F() 3381 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::ce_fence_promise, true); in TEST_F() 3407 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags::ce_fence_promise, false); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/common/include/common/test/ |
D | FlagUtils.h | 25 #define SET_FLAG_FOR_TEST(name, value) \ macro
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | PredictorTest.cpp | 133 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F() 167 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F() 316 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F() 362 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F() 485 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F() 525 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F()
|
D | LayerStateTest.cpp | 469 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F()
|
D | FlattenerTest.cpp | 246 SET_FLAG_FOR_TEST(com::android::graphics::surfaceflinger::flags:: in TEST_F()
|