/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 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 D | vsyncconnection_fuzzer.cpp | 72 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 D | vsync_callbackeveryframe_test.cpp | 53 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 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()
|
H A D | vsync_multicallback_test.cpp | 65 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 D | vsync_setvsyncrate_test.cpp | 55 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 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()
|
/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()
|
/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()
|
/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()
|