Home
last modified time | relevance | path

Searched refs:display (Results 1 - 25 of 28) sorted by relevance

12

/test/xts/acts/graphic/graphicGlesExtension/
H A DgraphicGlesExtension.cpp51 EGLDisplay display; in HWTEST_F() local
58 display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in HWTEST_F()
59 eglInitialize(display, &majorVersion, &minorVersion); in HWTEST_F()
60 display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in HWTEST_F()
61 eglInitialize(display, &majorVersion, &minorVersion); in HWTEST_F()
66 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in HWTEST_F()
67 context = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL); in HWTEST_F()
68 surfaceCache = eglCreatePbufferSurface(display, config, NULL); in HWTEST_F()
69 eglMakeCurrent(display, surfaceCache, surfaceCache, context); in HWTEST_F()
111 EGLDisplay display; in HWTEST_F() local
171 EGLDisplay display; HWTEST_F() local
231 EGLDisplay display; HWTEST_F() local
291 EGLDisplay display; HWTEST_F() local
[all...]
/test/xts/hats/hdf/display/composer/benchmark/
H A Ddisplay_benchmark_ut_test.cpp116 auto display = HdiTestDevice::GetInstance().GetFirstDisplay(); in TearDown() local
117 int32_t ret = display->SetDisplayVsyncEnabled(false); in TearDown()
129 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in BENCHMARK_F() local
131 ret = display->RegDisplayVBlankCallback(TestVBlankCallback, nullptr); in BENCHMARK_F()
144 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in BENCHMARK_F() local
145 ret = display->RegDisplayVBlankCallback(TestVBlankCallback, nullptr); in BENCHMARK_F()
148 ret = display->SetDisplayVsyncEnabled(true); in BENCHMARK_F()
152 ret = display->SetDisplayVsyncEnabled(false); in BENCHMARK_F()
H A Ddisplay_benchmark_test.cpp89 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in CreateTestLayer() local
90 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer()
92 std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bufferSize.h); in CreateTestLayer()
120 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in PrepareAndPrensent() local
121 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndPrensent()
123 ret = display->PrepareDisplayLayers(); in PrepareAndPrensent()
127 ret = display->Commit(); in PrepareAndPrensent()
143 DISPLAY_TEST_LOGE("display rec in AdjustLayerSettings()
1202 auto display = HdiTestDevice::GetInstance().GetFirstDisplay(); main() local
[all...]
/test/xts/hats/hdf/display/composer/common/
H A Dhdi_test_device.cpp61 DISPLAY_TEST_CHK_RETURN((iter == displays_.end()), nullptr, DISPLAY_TEST_LOGE("can not find the display %{public}u", in GetDisplayFromId()
69 std::shared_ptr<HdiTestDisplay> display = GetDisplayFromId(id); in FindDisplayOrCreate() local
70 if (display == nullptr) { in FindDisplayOrCreate()
71 DISPLAY_TEST_LOGE("the display not find will creat a display"); in FindDisplayOrCreate()
73 display = std::make_shared<HdiTestDisplay>(id, displayDevice_); in FindDisplayOrCreate()
74 ret = display->Init(); in FindDisplayOrCreate()
75 DISPLAY_TEST_CHK_RETURN((ret != DISPLAY_SUCCESS), nullptr, DISPLAY_TEST_LOGE("can not init the display")); in FindDisplayOrCreate()
76 displays_.emplace(id, display); in FindDisplayOrCreate()
78 return display; in FindDisplayOrCreate()
[all...]
/test/xts/hats/hdf/display/composer/moduletest/
H A Dhdi_device_test.cpp39 // one layer display test
237 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in CreateTestLayer() local
238 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer()
240 std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bufferSize.h); in CreateTestLayer()
268 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in PrepareAndPrensent() local
269 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndPrensent()
271 ret = display->PrepareDisplayLayers(); in PrepareAndPrensent()
275 ret = display in PrepareAndPrensent()
352 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); PrepareAndCommit() local
570 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); TEST_F() local
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/camera/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/camera/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/camera/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/camera/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/multimedia/media/media_js_standard/avPlayerNdk/entry/src/main/cpp/
H A Davplayerndk.cpp64 void InitGLES(EGLDisplay &display, EGLContext &context, EGLSurface &surface) in InitGLES() argument
66 display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in InitGLES()
67 eglInitialize(display, NULL, NULL); in InitGLES()
73 eglChooseConfig(display, configAttribs, &config, PARAM_1, &numConfigs); in InitGLES()
75 surface = eglCreatePbufferSurface(display, config, surfaceAttribs); in InitGLES()
77 context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttribs); in InitGLES()
78 eglMakeCurrent(display, surface, surface, context); in InitGLES()
81 void DestroyGLES(EGLDisplay &display, EGLContext &context, EGLSurface &surface) in DestroyGLES() argument
83 eglDestroySurface(display, surface); in DestroyGLES()
84 eglDestroyContext(display, contex in DestroyGLES()
738 EGLDisplay display = nullptr; OhAvPlayerSetVideoSurface() local
790 EGLDisplay display = nullptr; OhAvPlayerSetVideoSurfaceAbnormalThree() local
986 EGLDisplay display = nullptr; global() member
1028 EGLDisplay display = nullptr; CreateSurface() local
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/chart/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/chart/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/chart/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/chart/prop/
H A Dindex.js33 display: false,
38 display: false,
51 display: true,
/test/testfwk/developer_test/src/core/command/
H A Dconsole.py31 from core.command.display import display_help_info
32 from core.command.display import display_show_info
33 from core.command.display import display_version_info
34 from core.command.display import show_wizard_mode
/test/xts/hats/hdf/display/composer/unittest/
H A Dhdi_composer_ut.cpp67 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in CreateTestLayer() local
68 DISPLAY_TEST_CHK_RETURN((display == nullptr), nullptr, DISPLAY_TEST_LOGE("can not get display")); in CreateTestLayer()
70 std::shared_ptr<HdiTestLayer> layer = display->CreateHdiTestLayer(setting.bufferSize.w, setting.bufferSize.h); in CreateTestLayer()
98 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); in PrepareAndCommit() local
99 DISPLAY_TEST_CHK_RETURN((display == nullptr), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("can not get display")); in PrepareAndCommit()
101 ret = display->PrepareDisplayLayers(); // 确定顶压策略(是否走GPU合成)、刷新layer列表 in PrepareAndCommit()
105 ret = display->Commit(); // 送显 in PrepareAndCommit()
137 DISPLAY_TEST_LOGE("display rec in AdjustLayerSettings()
1071 std::shared_ptr<HdiTestDisplay> display = HdiTestDevice::GetInstance().GetFirstDisplay(); HWTEST_F() local
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/camera/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/chart/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/camera/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/camera/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/chart/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/chart/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/camera/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/chart/router/
H A Dindex.js102 display: false,
107 display: false,
120 display: true,
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp83 DEBUG_LOG("Failed to get display pixelMap"); in TakeWuKongScreenCap()
482 sptr<OHOS::Rosen::Display> display = displayMgr.GetDefaultDisplay(); in GetScreenSize() local
483 if (display == nullptr) { in GetScreenSize()
487 screenWidth_ = display->GetWidth(); in GetScreenSize()
488 screenHeight_ = display->GetHeight(); in GetScreenSize()

Completed in 26 milliseconds

12