Home
last modified time | relevance | path

Searched refs:GetScreenPowerStatus (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dhdiscreen_test.cpp46 EXPECT_CALL(*mockDevice_, GetScreenPowerStatus(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
83 ASSERT_EQ(HdiScreenSysTest::hdiScreen_->GetScreenPowerStatus(dispPowerStatus), 0);
H A Dmock_hdi_device_systest.h46 MOCK_METHOD2(GetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus&));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiscreen_test.cpp47 EXPECT_CALL(*mockDevice_, GetScreenPowerStatus(_, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase()
90 ASSERT_EQ(hdiScreen_->GetScreenPowerStatus(status), GRAPHIC_DISPLAY_NULL_PTR);
221 ASSERT_EQ(HdiScreenTest::hdiScreen_->GetScreenPowerStatus(dispPowerStatus), 0);
H A Dmock_hdi_device.h46 MOCK_METHOD2(GetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus&));
H A Dhdidevice_test.cpp72 …ASSERT_EQ(HdiDeviceTest::hdiDevice_->GetScreenPowerStatus(screenId, dstatus), GRAPHIC_DISPLAY_SUCC…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_screen.cpp165 int32_t HdiScreen::GetScreenPowerStatus(GraphicDispPowerStatus &status) const in GetScreenPowerStatus() function in OHOS::Rosen::HdiScreen
168 return device_->GetScreenPowerStatus(screenId_, status); in GetScreenPowerStatus()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_screen.h45 int32_t GetScreenPowerStatus(GraphicDispPowerStatus &status) const;
H A Dhdi_device.h45 virtual int32_t GetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus &status) = 0;
H A Dhdi_device_impl.h43 int32_t GetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus &status) override;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/
H A Dhdiscreen_fuzzer.cpp134 g_hdiScreen->GetScreenPowerStatus(status); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/screen_manager/
H A Drs_screen_manager_test.cpp51 EXPECT_CALL(*hdiDeviceMock_, GetScreenPowerStatus(mockScreenId_, _)).WillRepeatedly( in SetUpTestCase()
1154 ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), INVALID_POWER_STATUS);
1171 … ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), ScreenPowerStatus::INVALID_POWER_STATUS);
1190 ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), POWER_STATUS_ON);
1192 ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), POWER_STATUS_ON_ADVANCED);
1194 ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), POWER_STATUS_OFF);
1196 ASSERT_EQ(screenManager->GetScreenPowerStatus(screenId), POWER_STATUS_OFF_ADVANCED);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/mock/
H A Dmock_hdi_device.h44 MOCK_METHOD2(GetScreenPowerStatus, int32_t(uint32_t, GraphicDispPowerStatus&));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/
H A Drs_interfaces_test.cpp365 auto powerStatus = rsInterfaces->GetScreenPowerStatus(virtualScreenId);
541 auto powerStatus = rsInterfaces->GetScreenPowerStatus(screenId);
560 auto powerStatus = rsInterfaces->GetScreenPowerStatus(screenId);
574 auto powerStatus = rsInterfaces->GetScreenPowerStatus(INVALID_SCREEN_ID);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsinterfaces_fuzzer/
H A Drsinterfaces_fuzzer.cpp103 rsInterfaces.GetScreenPowerStatus(static_cast<ScreenId>(id)); in RSPhysicalScreenFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen_manager.h120 virtual ScreenPowerStatus GetScreenPowerStatus(ScreenId id) const = 0;
330 ScreenPowerStatus GetScreenPowerStatus(ScreenId id) const override;
H A Drs_screen.cpp158 if (hdiScreen_->GetScreenPowerStatus(powerStatus_) < 0) { in PhysicalScreenInit()
434 if (hdiScreen_->GetScreenPowerStatus(status) < 0) { in GetPowerStatus()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/transaction/
H A Drs_interfaces.cpp379 ScreenPowerStatus RSInterfaces::GetScreenPowerStatus(ScreenId id) in GetScreenPowerStatus() function in OHOS::Rosen::RSInterfaces
381 return renderServiceClient_->GetScreenPowerStatus(id); in GetScreenPowerStatus()
H A Drs_interfaces.h155 ScreenPowerStatus GetScreenPowerStatus(ScreenId id);
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp207 screen->GetScreenPowerStatus(powerState); in CreatePhysicalScreen()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_render_service_connection_proxy_test.cpp492 HWTEST_F(RSRenderServiceConnectionProxyTest, GetScreenPowerStatus, TestSize.Level1)
500 ASSERT_EQ(proxy->GetScreenPowerStatus(id), ScreenPowerStatus::INVALID_POWER_STATUS);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderserviceconnectionproxy_fuzzer/
H A Drsrenderserviceconnectionproxy_fuzzer.cpp164 rsRenderServiceConnectionProxy.GetScreenPowerStatus(id1); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/ohos/
H A Drs_irender_service_connection.h161 virtual ScreenPowerStatus GetScreenPowerStatus(ScreenId id) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_render_service_client.cpp254 ScreenPowerStatus RSRenderServiceClient::GetScreenPowerStatus(ScreenId id) in GetScreenPowerStatus() function in OHOS::Rosen::RSRenderServiceClient
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_render_service_client.cpp254 ScreenPowerStatus RSRenderServiceClient::GetScreenPowerStatus(ScreenId id) in GetScreenPowerStatus() function in OHOS::Rosen::RSRenderServiceClient
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.cpp352 screen_->GetScreenPowerStatus(powerState); in CreatePhysicalScreen()

12