Home
last modified time | relevance | path

Searched refs:vsyncConnection (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/unittest/
H A Dvsync_connection_test.cpp33 static inline sptr<VSyncConnection> vsyncConnection = nullptr; member in OHOS::Rosen::VSyncConnectionTest
42 vsyncConnection = new VSyncConnection(vsyncDistributor, "VSyncConnection"); in SetUpTestCase()
52 vsyncConnection = nullptr; in TearDownTestCase()
65 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->RequestNextVSync(), VSYNC_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
77 VSyncConnectionTest::vsyncDistributor->AddConnection(VSyncConnectionTest::vsyncConnection); in HWTEST_F()
78 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->RequestNextVSync(), VSYNC_ERROR_OK); in HWTEST_F()
79 VSyncConnectionTest::vsyncDistributor->RemoveConnection(VSyncConnectionTest::vsyncConnection); in HWTEST_F()
91 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->RequestNextVSync("unknown", 0), VSYNC_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
103 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->SetVSyncRate(-2), VSYNC_ERROR_INVALID_ARGUMENTS); in HWTEST_F()
115 VSyncConnectionTest::vsyncDistributor->AddConnection(VSyncConnectionTest::vsyncConnection); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/fuzztest/vsyncconnection_fuzzer/
H A Dvsyncconnection_fuzzer.cpp72 sptr<Rosen::VSyncConnection> vsyncConnection = new Rosen::VSyncConnection(vsyncDistributor, "Fuzz"); in DoSomethingInterestingWithMyAPI() local
73 vsyncConnection->SetVSyncRate(rate); in DoSomethingInterestingWithMyAPI()
75 vsyncConnection->PostEvent(now, 16666667, 0); in DoSomethingInterestingWithMyAPI()
77 vsyncConnection->RequestNextVSync(); in DoSomethingInterestingWithMyAPI()
80 vsyncConnection->RequestNextVSync(fromWhom, lastVSyncTS); in DoSomethingInterestingWithMyAPI()
82 vsyncConnection->GetReceiveFd(fd); in DoSomethingInterestingWithMyAPI()
83 vsyncConnection->Destroy(); in DoSomethingInterestingWithMyAPI()
85 vsyncConnection->SetUiDvsyncSwitch(vsyncSwitch); in DoSomethingInterestingWithMyAPI()
87 vsyncConnection->SetUiDvsyncConfig(bufferCount); in DoSomethingInterestingWithMyAPI()
92 vsyncConnection in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/systemtest/
H A Dvsync_callbackeveryframe_test.cpp53 sptr<VSyncConnection> vsyncConnection = nullptr; member in OHOS::Rosen::SetVsyncCallBackForEveryFrameTest
99 vsyncConnection = new VSyncConnection(vsyncDistributor, "test"); in Process1()
100 vsyncDistributor->AddConnection(vsyncConnection); in Process1()
102 sam->AddSystemAbility(systemAbilityID, vsyncConnection); in Process1()
H A Dvsync_test.cpp54 sptr<VSyncConnection> vsyncConnection = nullptr; member in OHOS::Rosen::VSyncTest
100 vsyncConnection = new VSyncConnection(vsyncDistributor, "test"); in Process1()
101 vsyncDistributor->AddConnection(vsyncConnection); in Process1()
103 sam->AddSystemAbility(systemAbilityID, vsyncConnection); in Process1()
H A Dvsync_multicallback_test.cpp65 sptr<VSyncConnection> vsyncConnection = nullptr; member in OHOS::Rosen::VSyncMultiCallbackTest
111 vsyncConnection = new VSyncConnection(vsyncDistributor, "test"); in Process1()
112 vsyncDistributor->AddConnection(vsyncConnection); in Process1()
114 sam->AddSystemAbility(systemAbilityID, vsyncConnection); in Process1()
H A Dvsync_setvsyncrate_test.cpp55 sptr<VSyncConnection> vsyncConnection = nullptr; member in OHOS::Rosen::SetVsyncRateTest
101 vsyncConnection = new VSyncConnection(vsyncDistributor, "test"); in Process1()
102 vsyncDistributor->AddConnection(vsyncConnection); in Process1()
104 sam->AddSystemAbility(systemAbilityID, vsyncConnection); in Process1()
/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/fuzztest/vsyncreceiver_fuzzer/
H A Dvsyncreceiver_fuzzer.cpp89 sptr<Rosen::VSyncConnection> vsyncConnection = new Rosen::VSyncConnection(vsyncDistributor, "Fuzz"); in DoSomethingInterestingWithMyAPI() local
90 sptr<Rosen::VSyncReceiver> vsyncReceiver = new Rosen::VSyncReceiver(vsyncConnection); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp38 sptr<VSyncConnection> vsyncConnection = new VSyncConnection(vsyncDistributor, "DrawingSample"); in Run() local
39 vsyncDistributor->AddConnection(vsyncConnection); in Run()
68 g_receiver = new VSyncReceiver(vsyncConnection, mainThreadHandler_); in Run()
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.cpp45 sptr<VSyncConnection> vsyncConnection = new VSyncConnection(vsyncDistributor, "HelloComposer"); in Run() local
46 vsyncDistributor->AddConnection(vsyncConnection); in Run()
77 g_receiver = new VSyncReceiver(vsyncConnection, nullptr, mainThreadHandler_); in Run()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.cpp66 sptr<VSyncConnection> vsyncConnection = new VSyncConnection(vsyncDistributor, "HelloComposer"); in Run() local
67 vsyncDistributor->AddConnection(vsyncConnection); in Run()
97 g_receiver = new VSyncReceiver(vsyncConnection, nullptr, handler, "DrawingEngineSample"); in Run()

Completed in 6 milliseconds