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 D | vsync_connection_test.cpp | 33 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 D | vsyncconnection_fuzzer.cpp | 71 …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 D | vsync_test.cpp | 54 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 D | vsyncreceiver_fuzzer.cpp | 89 …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 D | drawing_sample.cpp | 38 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 D | drawing_engine_sample.cpp | 66 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 D | hello_composer.cpp | 45 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()
|