Lines Matching refs:Hwc2Test
46 class Hwc2Test : public testing::Test { class
1187 using TestLayerPropertyFunction = void (*)(Hwc2Test* test,
1193 using TestLayerPropertiesFunction = void (*)(Hwc2Test* test,
1199 using TestLayerPropertyBadLayerFunction = void (*)(Hwc2Test* test,
1205 using TestLayerPropertyBadParameterFunction = void (*)(Hwc2Test* test,
1211 using TestDisplayLayersFunction = void (*)(Hwc2Test* test,
1216 using TestDisplayNonValidatedLayersFunction = void (*)(Hwc2Test* test,
1220 using TestClientTargetSupportFunction = void (*)(Hwc2Test* test,
1225 using TestActiveDisplayConfigFunction = void (*)(Hwc2Test* test,
1229 using TestCreateVirtualDisplayFunction = void (*)(Hwc2Test* test,
1956 static_cast<Hwc2Test*>(callbackData)->hotplugCallback(display, in hwc2TestHotplugCallback()
1964 static_cast<Hwc2Test*>(callbackData)->vsyncCallback(display, in hwc2TestVsyncCallback()
1968 void setBlendMode(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setBlendMode()
1975 void setBuffer(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setBuffer()
1996 void setColor(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setColor()
2009 void setComposition(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setComposition()
2030 void setCursorPosition(Hwc2Test* test, hwc2_display_t display, in setCursorPosition()
2041 void setDataspace(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setDataspace()
2048 void setDisplayFrame(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setDisplayFrame()
2055 void setPlaneAlpha(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setPlaneAlpha()
2064 void setSourceCrop(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setSourceCrop()
2071 void setSurfaceDamage(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setSurfaceDamage()
2078 void setTransform(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setTransform()
2085 void setVisibleRegion(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setVisibleRegion()
2092 void setZOrder(Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in setZOrder()
2223 TEST_F(Hwc2Test, GET_FUNCTION) in TEST_F() argument
2233 TEST_F(Hwc2Test, GET_FUNCTION_invalid_function) in TEST_F() argument
2240 TEST_F(Hwc2Test, GET_CAPABILITIES) in TEST_F() argument
2258 TEST_F(Hwc2Test, REGISTER_CALLBACK) in TEST_F() argument
2270 TEST_F(Hwc2Test, REGISTER_CALLBACK_bad_parameter) in TEST_F() argument
2282 TEST_F(Hwc2Test, REGISTER_CALLBACK_null_data) in TEST_F() argument
2294 TEST_F(Hwc2Test, GET_DISPLAY_TYPE) in TEST_F() argument
2307 TEST_F(Hwc2Test, GET_DISPLAY_TYPE_bad_display) in TEST_F() argument
2320 TEST_F(Hwc2Test, CREATE_DESTROY_LAYER) in TEST_F() argument
2332 TEST_F(Hwc2Test, CREATE_LAYER_bad_display) in TEST_F() argument
2346 TEST_F(Hwc2Test, CREATE_LAYER_no_resources) in TEST_F() argument
2360 TEST_F(Hwc2Test, DESTROY_LAYER_bad_display) in TEST_F() argument
2383 TEST_F(Hwc2Test, DESTROY_LAYER_bad_layer) in TEST_F() argument
2429 TEST_F(Hwc2Test, GET_DISPLAY_ATTRIBUTE) in TEST_F() argument
2456 TEST_F(Hwc2Test, GET_DISPLAY_ATTRIBUTE_invalid_attribute) in TEST_F() argument
2478 TEST_F(Hwc2Test, GET_DISPLAY_ATTRIBUTE_bad_display) in TEST_F() argument
2501 TEST_F(Hwc2Test, GET_DISPLAY_ATTRIBUTE_bad_config) in TEST_F() argument
2525 TEST_F(Hwc2Test, GET_DISPLAY_CONFIGS) in TEST_F() argument
2535 TEST_F(Hwc2Test, GET_DISPLAY_CONFIGS_bad_display) in TEST_F() argument
2551 TEST_F(Hwc2Test, GET_DISPLAY_CONFIGS_same) in TEST_F() argument
2565 TEST_F(Hwc2Test, GET_DISPLAY_CONFIGS_duplicate) in TEST_F() argument
2580 TEST_F(Hwc2Test, GET_ACTIVE_CONFIG) in TEST_F() argument
2600 TEST_F(Hwc2Test, GET_ACTIVE_CONFIG_bad_display) in TEST_F() argument
2615 TEST_F(Hwc2Test, GET_ACTIVE_CONFIG_bad_config) in TEST_F() argument
2640 TEST_F(Hwc2Test, SET_ACTIVE_CONFIG) in TEST_F() argument
2654 TEST_F(Hwc2Test, SET_ACTIVE_CONFIG_bad_display) in TEST_F() argument
2667 TEST_F(Hwc2Test, SET_ACTIVE_CONFIG_bad_config) in TEST_F() argument
2681 TEST_F(Hwc2Test, GET_DOZE_SUPPORT) in TEST_F() argument
2693 TEST_F(Hwc2Test, GET_DOZE_SUPPORT_bad_display) in TEST_F() argument
2707 TEST_F(Hwc2Test, SET_POWER_MODE) in TEST_F() argument
2727 TEST_F(Hwc2Test, SET_POWER_MODE_bad_display) in TEST_F() argument
2754 TEST_F(Hwc2Test, SET_POWER_MODE_bad_parameter) in TEST_F() argument
2769 TEST_F(Hwc2Test, SET_POWER_MODE_unsupported) in TEST_F() argument
2792 TEST_F(Hwc2Test, SET_POWER_MODE_stress) in TEST_F() argument
2823 TEST_F(Hwc2Test, SET_VSYNC_ENABLED) in TEST_F() argument
2843 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_callback) in TEST_F() argument
2866 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_bad_display) in TEST_F() argument
2886 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_bad_parameter) in TEST_F() argument
2908 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_stress) in TEST_F() argument
2933 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_no_callback_no_power) in TEST_F() argument
2948 TEST_F(Hwc2Test, SET_VSYNC_ENABLED_no_callback) in TEST_F() argument
2966 TEST_F(Hwc2Test, GET_DISPLAY_NAME) in TEST_F() argument
2977 TEST_F(Hwc2Test, GET_DISPLAY_NAME_bad_display) in TEST_F() argument
2990 TEST_F(Hwc2Test, SET_LAYER_COMPOSITION_TYPE) in TEST_F() argument
2998 TEST_F(Hwc2Test, SET_LAYER_COMPOSITION_TYPE_update) in TEST_F() argument
3005 TEST_F(Hwc2Test, SET_LAYER_COMPOSITION_TYPE_bad_layer) in TEST_F() argument
3012 TEST_F(Hwc2Test, SET_LAYER_COMPOSITION_TYPE_bad_parameter) in TEST_F() argument
3015 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3025 TEST_F(Hwc2Test, SET_CURSOR_POSITION) in TEST_F() argument
3032 TEST_F(Hwc2Test, SET_CURSOR_POSITION_update) in TEST_F() argument
3040 TEST_F(Hwc2Test, SET_CURSOR_POSITION_composition_type_unset) in TEST_F() argument
3043 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3055 TEST_F(Hwc2Test, SET_CURSOR_POSITION_bad_display) in TEST_F() argument
3069 TEST_F(Hwc2Test, SET_CURSOR_POSITION_bad_layer) in TEST_F() argument
3072 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t badLayer, in TEST_F()
3084 TEST_F(Hwc2Test, SET_LAYER_BLEND_MODE) in TEST_F() argument
3091 TEST_F(Hwc2Test, SET_LAYER_BLEND_MODE_update) in TEST_F() argument
3098 TEST_F(Hwc2Test, SET_LAYER_BLEND_MODE_bad_layer) in TEST_F() argument
3105 TEST_F(Hwc2Test, SET_LAYER_BLEND_MODE_bad_parameter) in TEST_F() argument
3108 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3118 TEST_F(Hwc2Test, SET_LAYER_BUFFER) in TEST_F() argument
3125 TEST_F(Hwc2Test, SET_LAYER_BUFFER_update) in TEST_F() argument
3132 TEST_F(Hwc2Test, SET_LAYER_BUFFER_bad_layer) in TEST_F() argument
3135 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t badLayer, in TEST_F()
3155 TEST_F(Hwc2Test, SET_LAYER_BUFFER_bad_parameter) in TEST_F() argument
3158 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3171 TEST_F(Hwc2Test, SET_LAYER_COLOR) in TEST_F() argument
3178 TEST_F(Hwc2Test, SET_LAYER_COLOR_update) in TEST_F() argument
3186 TEST_F(Hwc2Test, SET_LAYER_COLOR_composition_type_unset) in TEST_F() argument
3189 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3200 TEST_F(Hwc2Test, SET_LAYER_COLOR_bad_layer) in TEST_F() argument
3203 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t badLayer, in TEST_F()
3213 TEST_F(Hwc2Test, SET_LAYER_DATASPACE) in TEST_F() argument
3220 TEST_F(Hwc2Test, SET_LAYER_DATASPACE_update) in TEST_F() argument
3227 TEST_F(Hwc2Test, SET_LAYER_DATASPACE_bad_layer) in TEST_F() argument
3234 TEST_F(Hwc2Test, SET_LAYER_DISPLAY_FRAME) in TEST_F() argument
3241 TEST_F(Hwc2Test, SET_LAYER_DISPLAY_FRAME_update) in TEST_F() argument
3248 TEST_F(Hwc2Test, SET_LAYER_DISPLAY_FRAME_bad_layer) in TEST_F() argument
3255 TEST_F(Hwc2Test, SET_LAYER_PLANE_ALPHA) in TEST_F() argument
3262 TEST_F(Hwc2Test, SET_LAYER_PLANE_ALPHA_update) in TEST_F() argument
3269 TEST_F(Hwc2Test, SET_LAYER_PLANE_ALPHA_bad_layer) in TEST_F() argument
3272 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t badLayer, in TEST_F()
3282 TEST_F(Hwc2Test, SET_LAYER_SOURCE_CROP) in TEST_F() argument
3289 TEST_F(Hwc2Test, SET_LAYER_SOURCE_CROP_update) in TEST_F() argument
3296 TEST_F(Hwc2Test, SET_LAYER_SOURCE_CROP_bad_layer) in TEST_F() argument
3303 TEST_F(Hwc2Test, SET_LAYER_SURFACE_DAMAGE) in TEST_F() argument
3310 TEST_F(Hwc2Test, SET_LAYER_SURFACE_DAMAGE_update) in TEST_F() argument
3317 TEST_F(Hwc2Test, SET_LAYER_SURFACE_DAMAGE_bad_layer) in TEST_F() argument
3324 TEST_F(Hwc2Test, SET_LAYER_TRANSFORM) in TEST_F() argument
3331 TEST_F(Hwc2Test, SET_LAYER_TRANSFORM_update) in TEST_F() argument
3338 TEST_F(Hwc2Test, SET_LAYER_TRANSFORM_bad_layer) in TEST_F() argument
3345 TEST_F(Hwc2Test, SET_LAYER_VISIBLE_REGION) in TEST_F() argument
3348 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3359 TEST_F(Hwc2Test, SET_LAYER_VISIBLE_REGION_bad_layer) in TEST_F() argument
3366 TEST_F(Hwc2Test, SET_LAYER_Z_ORDER) in TEST_F() argument
3369 [] (Hwc2Test* test, hwc2_display_t display, hwc2_layer_t layer, in TEST_F()
3386 TEST_F(Hwc2Test, SET_LAYER_Z_ORDER_update) in TEST_F() argument
3415 TEST_F(Hwc2Test, SET_LAYER_Z_ORDER_bad_layer) in TEST_F() argument
3423 TEST_F(Hwc2Test, VALIDATE_DISPLAY_basic) in TEST_F() argument
3426 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3443 TEST_F(Hwc2Test, VALIDATE_DISPLAY_default_5) in TEST_F() argument
3446 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3463 TEST_F(Hwc2Test, VALIDATE_DISPLAY_bad_display) in TEST_F() argument
3478 TEST_F(Hwc2Test, GET_DISPLAY_REQUESTS_basic) in TEST_F() argument
3481 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3501 TEST_F(Hwc2Test, GET_DISPLAY_REQUESTS_bad_display) in TEST_F() argument
3518 TEST_F(Hwc2Test, GET_DISPLAY_REQUESTS_not_validated) in TEST_F() argument
3521 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3538 TEST_F(Hwc2Test, GET_CHANGED_COMPOSITION_TYPES_basic) in TEST_F() argument
3541 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3562 TEST_F(Hwc2Test, GET_CHANGED_COMPOSITION_TYPES_bad_display) in TEST_F() argument
3578 TEST_F(Hwc2Test, GET_CHANGED_COMPOSITION_TYPES_not_validated) in TEST_F() argument
3581 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3597 TEST_F(Hwc2Test, ACCEPT_DISPLAY_CHANGES_basic) in TEST_F() argument
3600 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3623 TEST_F(Hwc2Test, ACCEPT_DISPLAY_CHANGES_bad_display) in TEST_F() argument
3636 TEST_F(Hwc2Test, ACCEPT_DISPLAY_CHANGES_not_validated) in TEST_F() argument
3639 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3652 TEST_F(Hwc2Test, GET_CLIENT_TARGET_SUPPORT) in TEST_F() argument
3655 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3671 TEST_F(Hwc2Test, GET_CLIENT_TARGET_SUPPORT_bad_display) in TEST_F() argument
3674 [] (Hwc2Test* test, hwc2_display_t /*display*/, in TEST_F()
3695 TEST_F(Hwc2Test, GET_CLIENT_TARGET_SUPPORT_unsupported) in TEST_F() argument
3698 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
3718 TEST_F(Hwc2Test, SET_CLIENT_TARGET_basic) in TEST_F() argument
3790 TEST_F(Hwc2Test, SET_CLIENT_TARGET_bad_display) in TEST_F() argument
3823 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_1) in TEST_F() argument
3835 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_2) in TEST_F() argument
3847 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_3) in TEST_F() argument
3859 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_4) in TEST_F() argument
3871 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_5) in TEST_F() argument
3883 TEST_F(Hwc2Test, PRESENT_DISPLAY_default_6) in TEST_F() argument
3896 TEST_F(Hwc2Test, PRESENT_DISPLAY_blend_mode_1) in TEST_F() argument
3912 TEST_F(Hwc2Test, PRESENT_DISPLAY_blend_mode_2) in TEST_F() argument
3927 TEST_F(Hwc2Test, PRESENT_DISPLAY_buffer_1) in TEST_F() argument
3941 TEST_F(Hwc2Test, PRESENT_DISPLAY_color_1) in TEST_F() argument
3956 TEST_F(Hwc2Test, PRESENT_DISPLAY_color_2) in TEST_F() argument
3973 TEST_F(Hwc2Test, PRESENT_DISPLAY_composition_1) in TEST_F() argument
3987 TEST_F(Hwc2Test, PRESENT_DISPLAY_cursor_1) in TEST_F() argument
4002 TEST_F(Hwc2Test, PRESENT_DISPLAY_cursor_2) in TEST_F() argument
4018 TEST_F(Hwc2Test, PRESENT_DISPLAY_dataspace_1) in TEST_F() argument
4032 TEST_F(Hwc2Test, PRESENT_DISPLAY_display_frame_1) in TEST_F() argument
4046 TEST_F(Hwc2Test, PRESENT_DISPLAY_display_frame_2) in TEST_F() argument
4060 TEST_F(Hwc2Test, PRESENT_DISPLAY_display_frame_3) in TEST_F() argument
4074 TEST_F(Hwc2Test, PRESENT_DISPLAY_display_frame_4) in TEST_F() argument
4088 TEST_F(Hwc2Test, PRESENT_DISPLAY_plane_alpha_1) in TEST_F() argument
4103 TEST_F(Hwc2Test, PRESENT_DISPLAY_plane_alpha_2) in TEST_F() argument
4118 TEST_F(Hwc2Test, PRESENT_DISPLAY_source_crop_1) in TEST_F() argument
4133 TEST_F(Hwc2Test, PRESENT_DISPLAY_source_crop_2) in TEST_F() argument
4149 TEST_F(Hwc2Test, PRESENT_DISPLAY_surface_damage_1) in TEST_F() argument
4163 TEST_F(Hwc2Test, PRESENT_DISPLAY_transform_1) in TEST_F() argument
4177 TEST_F(Hwc2Test, PRESENT_DISPLAY_transform_2) in TEST_F() argument
4192 TEST_F(Hwc2Test, PRESENT_DISPLAY_basic_1) in TEST_F() argument
4204 TEST_F(Hwc2Test, PRESENT_DISPLAY_bad_display) in TEST_F() argument
4217 TEST_F(Hwc2Test, PRESENT_DISPLAY_not_validated) in TEST_F() argument
4220 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
4246 TEST_F(Hwc2Test, GET_RELEASE_FENCES_bad_display) in TEST_F() argument
4273 TEST_F(Hwc2Test, GET_COLOR_MODES) in TEST_F() argument
4276 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4291 TEST_F(Hwc2Test, GET_COLOR_MODES_bad_display) in TEST_F() argument
4304 TEST_F(Hwc2Test, SET_COLOR_MODES) in TEST_F() argument
4307 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4317 TEST_F(Hwc2Test, SET_COLOR_MODES_bad_display) in TEST_F() argument
4330 TEST_F(Hwc2Test, SET_COLOR_MODES_bad_parameter) in TEST_F() argument
4333 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4348 TEST_F(Hwc2Test, SET_COLOR_MODES_unsupported) in TEST_F() argument
4351 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4369 TEST_F(Hwc2Test, GET_HDR_CAPABILITIES) in TEST_F() argument
4372 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4391 TEST_F(Hwc2Test, GET_HDR_CAPABILITIES_bad_display) in TEST_F() argument
4440 TEST_F(Hwc2Test, SET_COLOR_TRANSFORM) in TEST_F() argument
4443 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4453 TEST_F(Hwc2Test, SET_COLOR_TRANSFORM_bad_display) in TEST_F() argument
4466 TEST_F(Hwc2Test, SET_COLOR_TRANSFORM_bad_parameter) in TEST_F() argument
4469 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4484 TEST_F(Hwc2Test, SET_COLOR_TRANSFORM_arbitrary_matrix) in TEST_F() argument
4487 [] (Hwc2Test* test, hwc2_display_t display) { in TEST_F()
4501 TEST_F(Hwc2Test, CREATE_DESTROY_VIRTUAL_DISPLAY) in TEST_F() argument
4504 [] (Hwc2Test* /*test*/, hwc2_display_t /*display*/, in TEST_F()
4510 TEST_F(Hwc2Test, CREATE_DESTROY_VIRTUAL_DISPLAY_multiple) in TEST_F() argument
4540 TEST_F(Hwc2Test, DESTROY_VIRTUAL_DISPLAY_bad_display) in TEST_F() argument
4552 TEST_F(Hwc2Test, DESTROY_VIRTUAL_DISPLAY_bad_parameter) in TEST_F() argument
4562 TEST_F(Hwc2Test, GET_MAX_VIRTUAL_DISPLAY_COUNT) in TEST_F() argument
4571 TEST_F(Hwc2Test, GET_MAX_VIRTUAL_DISPLAY_COUNT_duplicate) in TEST_F() argument
4584 TEST_F(Hwc2Test, GET_MAX_VIRTUAL_DISPLAY_COUNT_create_max) in TEST_F() argument
4615 TEST_F(Hwc2Test, SET_OUTPUT_BUFFER) in TEST_F() argument
4618 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
4631 TEST_F(Hwc2Test, SET_OUTPUT_BUFFER_bad_display) in TEST_F() argument
4634 [] (Hwc2Test* test, hwc2_display_t /*display*/, in TEST_F()
4655 TEST_F(Hwc2Test, SET_OUTPUT_BUFFER_bad_parameter) in TEST_F() argument
4658 [] (Hwc2Test* test, hwc2_display_t display, in TEST_F()
4674 TEST_F(Hwc2Test, SET_OUTPUT_BUFFER_unsupported) in TEST_F() argument
4696 TEST_F(Hwc2Test, DUMP) in TEST_F() argument
4716 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_default_1) in TEST_F() argument
4726 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_basic_1) in TEST_F() argument
4736 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_default_2) in TEST_F() argument
4746 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_default_3) in TEST_F() argument
4756 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_default_4) in TEST_F() argument
4766 TEST_F(Hwc2Test, PRESENT_VIRTUAL_DISPLAY_default_5) in TEST_F() argument