Home
last modified time | relevance | path

Searched refs:DISPLAY_TEST_LOGE (Results 1 - 12 of 12) sorted by relevance

/test/xts/hats/hdf/display/composer/common/
H A Dhdi_test_display.cpp32 DISPLAY_TEST_LOGE(); in Init()
34 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get cap")); in Init()
35 DISPLAY_TEST_LOGE("the capablility name %s type : %{public}d phyWidth : %{public}d phyHeight : %{public}d", in Init()
39 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get modes")); in Init()
40 DISPLAY_TEST_LOGE("the modes size() %{public}zu", modes_.size()); 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("th in Init()
[all...]
H A Dhdi_test_layer.cpp42 DISPLAY_TEST_LOGE("can not alloc memory"); in HdiGrallocBuffer()
47 DISPLAY_TEST_LOGE("mmap failed"); in HdiGrallocBuffer()
61 DISPLAY_TEST_LOGE("can not ummap buffer handle"); in ~HdiGrallocBuffer()
74 DISPLAY_TEST_LOGE("the fd is %{public}d", fd); in SetReleaseFence()
83 DISPLAY_TEST_LOGE("the fd is %{public}d", fd); in SetAcquirceFence()
90 DISPLAY_TEST_LOGE("buffer handle is null")); in SetGraphicBuffer()
92 DISPLAY_TEST_LOGE("seqNo is invalid")); in SetGraphicBuffer()
147 DISPLAY_TEST_LOGE(); in Init()
154 DISPLAY_TEST_LOGE("buffer handle is null")); in Init()
166 DISPLAY_TEST_CHK_RETURN((frontBuffers_.empty()), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("th in SwapFrontToBackQ()
[all...]
H A Ddisplay_test_utils.cpp70 DISPLAY_TEST_LOGE("Open file failed %{public}d", fileFd); in SaveFile()
75 DISPLAY_TEST_LOGE("SaveFile hasWriten %{public}d", hasWriten); 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("ge in GetPixelValue()
[all...]
H A Dhdi_test_device.cpp35 DISPLAY_TEST_LOGE("outputId %{public}u connected %{public}d", outputId, connected); in HotPlug()
36 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((data == nullptr), DISPLAY_TEST_LOGE("the data is null ptr")); in HotPlug()
41 DISPLAY_TEST_LOGE("end"); 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()
61 DISPLAY_TEST_CHK_RETURN((iter == displays_.end()), nullptr, DISPLAY_TEST_LOGE("can not find the display %{public}u", in GetDisplayFromId()
71 DISPLAY_TEST_LOGE("the display not find will creat a display"); in FindDisplayOrCreate()
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 Dhdi_test_render_utils.cpp34 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 Ddisplay_test.h48 #define DISPLAY_TEST_LOGE(format, ...) \ macro
53 #define DISPLAY_TEST_LOGE(format, ...) \ macro
H A Dhdi_composition_check.cpp102 DISPLAY_TEST_LOGE("Points and colors don't match")); in Check()
110 DISPLAY_TEST_LOGE("check failed"); in Check()
/test/xts/hats/hdf/display/composer/moduletest/
H A Dhdi_device_test.cpp228 DISPLAY_TEST_CHK_RETURN((clientBuffer == nullptr), DISPLAY_NULL_PTR, DISPLAY_TEST_LOGE("client buffer is nullptr")); in CheckComposition()
236 DISPLAY_TEST_LOGE("color 0x%x", setting.color); in CreateTestLayer()
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()
267 DISPLAY_TEST_LOGE(); in PrepareAndPrensent()
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("Commi in PrepareAndPrensent()
[all...]
/test/xts/hats/hdf/display/composer/benchmark/
H A Ddisplay_benchmark_ut_test.cpp77 DISPLAY_TEST_LOGE("seq %{public}d ns %" PRId64 " duration %" PRId64 " ns", sequence, ns, (ns - lastns)); in TestVBlankCallback()
84 DISPLAY_TEST_LOGE(); in NotifyVblank()
86 DISPLAY_TEST_LOGE("sequence = %{public}u, ns = %" PRIu64 "", sequence, ns); in NotifyVblank()
91 DISPLAY_TEST_LOGE(); in NotifyVblank()
99 DISPLAY_TEST_LOGE(); in WaitVblank()
103 DISPLAY_TEST_LOGE(); in WaitVblank()
119 DISPLAY_TEST_LOGE("vsync disable failed"); in TearDown()
128 DISPLAY_TEST_LOGE(); in BENCHMARK_F()
143 DISPLAY_TEST_LOGE(); in BENCHMARK_F()
H A Ddisplay_benchmark_test.cpp80 DISPLAY_TEST_CHK_RETURN((clientBuffer == nullptr), DISPLAY_NULL_PTR, DISPLAY_TEST_LOGE("client buffer is nullptr")); in CheckComposition()
88 DISPLAY_TEST_LOGE("color 0x%x", setting.color); in CreateTestLayer()
90 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer()
93 DISPLAY_TEST_CHK_RETURN((layer == nullptr), nullptr, DISPLAY_TEST_LOGE("can not create hdi test layer")); in CreateTestLayer()
106 DISPLAY_TEST_CHK_RETURN((handle == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get front buffer")); in CreateTestLayer()
109 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("SwapFrontToBackQ failed")); in CreateTestLayer()
119 DISPLAY_TEST_LOGE(); in PrepareAndPrensent()
121 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndPrensent()
125 DISPLAY_TEST_LOGE("PrepareDisplayLayers failed")); in PrepareAndPrensent()
128 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("Commi in PrepareAndPrensent()
[all...]
/test/xts/hats/hdf/display/composer/unittest/
H A Dhdi_composer_ut.cpp58 DISPLAY_TEST_CHK_RETURN((clientBuffer == nullptr), DISPLAY_NULL_PTR, DISPLAY_TEST_LOGE("client buffer is nullptr")); in CheckComposition()
66 DISPLAY_TEST_LOGE("color 0x%x", setting.color); in CreateTestLayer()
68 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer()
71 DISPLAY_TEST_CHK_RETURN((layer == nullptr), nullptr, DISPLAY_TEST_LOGE("can not create hdi test layer")); in CreateTestLayer()
84 DISPLAY_TEST_CHK_RETURN((handle == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get front buffer")); in CreateTestLayer()
87 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("SwapFrontToBackQ failed")); in CreateTestLayer()
97 DISPLAY_TEST_LOGE(); in PrepareAndCommit()
99 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndCommit()
103 DISPLAY_TEST_LOGE("PrepareDisplayLayers failed")); in PrepareAndCommit()
106 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("Commi in PrepareAndCommit()
[all...]
/test/xts/hats/hdf/display/composer/unittest_additional/
H A Dhdi_composer_ut.cpp711 DISPLAY_TEST_LOGE("GetDisplayProperty not support"); in HWTEST_F()
732 DISPLAY_TEST_LOGE("GetDisplayProperty not support"); in HWTEST_F()
753 DISPLAY_TEST_LOGE("GetDisplayProperty not support"); in HWTEST_F()
774 DISPLAY_TEST_LOGE("GetDisplayProperty not support"); in HWTEST_F()

Completed in 8 milliseconds