/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_test_display.cpp | 34 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get cap")); in Init() 39 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get modes")); in Init() 44 (ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the mode id is : %{public}u", activeModeId_)); in Init() 48 DISPLAY_TEST_LOGE("can not get the mode of id : %{public}u", activeModeId_)); in Init() 52 DISPLAY_TEST_LOGE("SetDisplayPowerStatus failed, id_ : %{public}u", id_)); in Init() 56 (ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("SetDisplayMode failed, id_ : %{public}u", id_)); in Init() 66 (ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the client layer can not be created")); in Init() 70 (ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("setClientBufferCount error")); in Init() 86 DISPLAY_TEST_LOGE("can not find the modeinfo id : %{public}d", id); in GetModeInfoFromId() 96 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("laye in CreateHdiTestLayer() [all...] |
H A D | display_test_utils.cpp | 70 DISPLAY_TEST_LOGE("Open file failed %{public}d", fileFd); in SaveFile() 78 DISPLAY_TEST_LOGE("SaveFile failed"); in SaveFile() 90 DISPLAY_TEST_LOGE("the fmt can not convert %{public}d", fmt); in ConverToRGBA() 99 DISPLAY_TEST_CHK_RETURN((bpp <= 0), 0, DISPLAY_TEST_LOGE("CheckPixel do not support format %{public}d", in GetPixelValue() 102 DISPLAY_TEST_LOGE("CheckPixel viraddr is null must map it")); in GetPixelValue() 104 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in GetPixelValue() 106 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in GetPixelValue() 110 DISPLAY_TEST_LOGE("the pixel position outside\n"); in GetPixelValue() 113 DISPLAY_TEST_CHK_RETURN((pixel == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get pixel failed")); in GetPixelValue() 132 DISPLAY_TEST_CHK_RETURN((bpp <= 0), 0, DISPLAY_TEST_LOGE("CheckPixe in CheckPixel() [all...] |
H A D | hdi_test_layer.cpp | 43 DISPLAY_TEST_LOGE("can not alloc memory"); in HdiGrallocBuffer() 48 DISPLAY_TEST_LOGE("mmap failed"); in HdiGrallocBuffer() 62 DISPLAY_TEST_LOGE("can not ummap buffer handle"); in ~HdiGrallocBuffer() 91 DISPLAY_TEST_LOGE("buffer handle is null")); in SetGraphicBuffer() 93 DISPLAY_TEST_LOGE("seqNo is invalid")); in SetGraphicBuffer() 155 DISPLAY_TEST_LOGE("buffer handle is null")); in Init() 167 DISPLAY_TEST_CHK_RETURN((frontBuffers_.empty()), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the font buffer is empty")); in SwapFrontToBackQ() 175 DISPLAY_TEST_CHK_RETURN((backBuffers_.empty()), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the font buffer is empty")); in SwapBackToFrontQ() 198 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("set display rect failed")); in PreparePresent() 201 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("se in PreparePresent() [all...] |
H A D | hdi_test_render_utils.cpp | 34 DISPLAY_TEST_LOGE("CheckPixel do not support format %{public}d", handle.format)); in SetPixel() 36 DISPLAY_TEST_LOGE("CheckPixel viraddr is null must map it")); in SetPixel() 38 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%{public}d width:%{public}d", x, handle.width)); in SetPixel() 40 DISPLAY_TEST_LOGE("CheckPixel invalid parameter y:%{public}d height:%{public}d", y, handle.height)); in SetPixel() 44 DISPLAY_TEST_LOGE("the pixel position outside\n"); in SetPixel() 47 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((pixel == nullptr), DISPLAY_TEST_LOGE("get pixel failed")); in SetPixel()
|
H A D | hdi_test_device.cpp | 36 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((data == nullptr), DISPLAY_TEST_LOGE("the data is null ptr")); in HotPlug() 48 DISPLAY_TEST_LOGE("get IDisplayComposerInterface failed")); in InitDevice() 51 DISPLAY_TEST_CHK_RETURN((gralloc_ == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("get IDisplayBuffer failed")); in InitDevice() 75 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("can not init the display")); in FindDisplayOrCreate() 84 DISPLAY_TEST_LOGE("the displays_ is empty")); in GetFirstDisplay()
|
H A D | display_test.h | 53 #define DISPLAY_TEST_LOGE(format, ...) \ macro
|
H A D | hdi_composition_check.cpp | 102 DISPLAY_TEST_LOGE("Points and colors don't match")); in Check() 110 DISPLAY_TEST_LOGE("check failed"); in Check()
|
/drivers/peripheral/display/composer/test/moduletest/ |
H A D | hdi_device_test.cpp | 228 DISPLAY_TEST_CHK_RETURN((clientBuffer == nullptr), DISPLAY_NULL_PTR, DISPLAY_TEST_LOGE("client buffer is nullptr")); in CheckComposition() 238 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer() 241 DISPLAY_TEST_CHK_RETURN((layer == nullptr), nullptr, DISPLAY_TEST_LOGE("can not create hdi test layer")); in CreateTestLayer() 254 DISPLAY_TEST_CHK_RETURN((handle == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get front buffer")); in CreateTestLayer() 257 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("SwapFrontToBackQ failed")); in CreateTestLayer() 269 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndPrensent() 273 DISPLAY_TEST_LOGE("PrepareDisplayLayers failed")); in PrepareAndPrensent() 276 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("Commit failed")); in PrepareAndPrensent() 353 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndCommit() 357 DISPLAY_TEST_LOGE("PrepareDisplayLayer in PrepareAndCommit() [all...] |
/drivers/peripheral/display/composer/test/unittest/ |
H A D | hdi_composer_ut.cpp | 57 DISPLAY_TEST_CHK_RETURN((clientBuffer == nullptr), DISPLAY_NULL_PTR, DISPLAY_TEST_LOGE("client buffer is nullptr")); in CheckComposition() 67 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer() 70 DISPLAY_TEST_CHK_RETURN((layer == nullptr), nullptr, DISPLAY_TEST_LOGE("can not create hdi test layer")); in CreateTestLayer() 83 DISPLAY_TEST_CHK_RETURN((handle == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get front buffer")); in CreateTestLayer() 86 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("SwapFrontToBackQ failed")); in CreateTestLayer() 98 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndCommit() 102 DISPLAY_TEST_LOGE("PrepareDisplayLayers failed")); in PrepareAndCommit() 105 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("Commit failed")); in PrepareAndCommit()
|
/drivers/peripheral/display/composer/test/benchmark/ |
H A D | display_benchmark_test.cpp | 700 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("Init Device Failed")); in main() 708 DISPLAY_TEST_LOGE("get composer interface failed")); in main() 711 DISPLAY_TEST_LOGE("get buffer interface failed")); in main()
|