Home
last modified time | relevance | path

Searched refs:vsyncConnection (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/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
41 vsyncConnection = new VSyncConnection(vsyncDistributor, "VSyncConnection"); in SetUpTestCase()
50 vsyncConnection = nullptr; in TearDownTestCase()
75 VSyncConnectionTest::vsyncDistributor->AddConnection(VSyncConnectionTest::vsyncConnection);
76 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->RequestNextVSync(), VSYNC_ERROR_OK);
77 VSyncConnectionTest::vsyncDistributor->RemoveConnection(VSyncConnectionTest::vsyncConnection);
101 … ASSERT_EQ(VSyncConnectionTest::vsyncConnection->SetVSyncRate(-2), VSYNC_ERROR_INVALID_ARGUMENTS);
113 VSyncConnectionTest::vsyncDistributor->AddConnection(VSyncConnectionTest::vsyncConnection);
114 ASSERT_EQ(VSyncConnectionTest::vsyncConnection->SetVSyncRate(1), VSYNC_ERROR_OK);
115 VSyncConnectionTest::vsyncDistributor->RemoveConnection(VSyncConnectionTest::vsyncConnection);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/fuzztest/vsyncconnection_fuzzer/
H A Dvsyncconnection_fuzzer.cpp71 …sptr<Rosen::VSyncConnection> vsyncConnection = new Rosen::VSyncConnection(vsyncDistributor, "Fuzz"… in DoSomethingInterestingWithMyAPI() local
72 vsyncConnection->SetVSyncRate(rate); in DoSomethingInterestingWithMyAPI()
74 vsyncConnection->PostEvent(now, 16666667, 0); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/systemtest/
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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()