Searched refs:vsyncSampler (Results 1 – 6 of 6) sorted by relevance
39 vsyncSampler = CreateVSyncSampler(); in SetUpTestCase()58 VSyncSamplerTest::vsyncSampler->Reset();75 VSyncSamplerTest::vsyncSampler->Reset();95 VSyncSamplerTest::vsyncSampler->Reset();125 VSyncSamplerTest::vsyncSampler->Reset();137 VSyncSamplerTest::vsyncSampler->AddSample(0);139 VSyncSamplerTest::vsyncSampler->Reset();157 VSyncSamplerTest::vsyncSampler->Reset();218 VSyncSamplerTest::vsyncSampler->Reset();231 VSyncSamplerTest::vsyncSampler->Reset();[all …]
65 sptr<Rosen::VSyncSampler> vsyncSampler = Rosen::CreateVSyncSampler(); in DoSomethingInterestingWithMyAPI() local66 vsyncSampler->AddSample(timestamp); in DoSomethingInterestingWithMyAPI()67 vsyncSampler->AddPresentFenceTime(timestamp); in DoSomethingInterestingWithMyAPI()68 vsyncSampler->SetHardwareVSyncStatus(enabled); in DoSomethingInterestingWithMyAPI()
50 sptr<VSyncSampler> vsyncSampler = nullptr; member in OHOS::Rosen::VSyncTest89 vsyncSampler = CreateVSyncSampler(); in Process1()93 vsyncSampler->AddSample(timestamp); in Process1()
68 sptr<VSyncSampler> vsyncSampler = nullptr; member in OHOS::Rosen::VSyncLTPOTest131 vsyncSampler = CreateVSyncSampler(); in Process1()135 vsyncSampler->AddSample(timestamp); in Process1()
44 auto vsyncSampler = new VSyncSampler(); in GetInstance() local45 instance_ = vsyncSampler; in GetInstance()
615 auto vsyncSampler = CreateVSyncSampler(); in ProcessScreenConnectedLocked() local681 auto vsyncSampler = CreateVSyncSampler(); in RegSetScreenVsyncEnabledCallbackForMainThread() local682 if (vsyncSampler == nullptr) { in RegSetScreenVsyncEnabledCallbackForMainThread()686 vsyncSampler->RegSetScreenVsyncEnabledCallback([this, vsyncEnabledScreenId](bool enabled) { in RegSetScreenVsyncEnabledCallbackForMainThread()707 auto vsyncSampler = CreateVSyncSampler(); in RegSetScreenVsyncEnabledCallbackForHardwareThread() local708 if (vsyncSampler == nullptr) { in RegSetScreenVsyncEnabledCallbackForHardwareThread()712 vsyncSampler->RegSetScreenVsyncEnabledCallback([this, vsyncEnabledScreenId](bool enabled) { in RegSetScreenVsyncEnabledCallbackForHardwareThread()