Home
last modified time | relevance | path

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

/aosp12/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
H A DVtsFwkDisplayServiceV1_0TargetTest.cpp61 vsyncs++; in onVsync()
71 std::atomic<int> vsyncs{0}; member in TestCallback
105 EXPECT_EQ(0, cb->vsyncs); in TEST_P()
110 EXPECT_EQ(1, cb->vsyncs); in TEST_P()
117 ASSERT_EQ(0, cb->vsyncs); in TEST_P()
121 int at1 = cb->vsyncs; in TEST_P()
123 cb->vsyncs = 0; in TEST_P()
126 int at2 = cb->vsyncs; in TEST_P()
128 cb->vsyncs = 0; in TEST_P()
131 int at4 = cb->vsyncs; in TEST_P()
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DVSyncPredictor.cpp285 std::vector<VsyncError> vsyncs(static_cast<size_t>(divider)); in isVSyncInPhase() local
292 vsyncs[i] = {vsync, error}; in isVSyncInPhase()
296 const auto minVsyncError = std::min_element(vsyncs.begin(), vsyncs.end()); in isVSyncInPhase()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVSyncPredictorTest.cpp44 std::vector<nsecs_t> vsyncs(count); in generateVsyncTimestamps() local
45 std::generate(vsyncs.begin(), vsyncs.end(), in generateVsyncTimestamps()
47 return vsyncs; in generateVsyncTimestamps()
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/
H A Dhwc_display_builtin.cpp178 if (int vsyncs; in Init() local
179 HWCDebugHandler::Get()->GetProperty(DEFER_FPS_FRAME_COUNT, &vsyncs) == kErrorNone) { in Init()
180 if (vsyncs > 0) { in Init()
181 HWCDisplay::SetVsyncsApplyRateChange(UINT32(vsyncs)); in Init()
H A Dhwc_display.h416 void SetVsyncsApplyRateChange(uint32_t vsyncs) { vsyncs_to_apply_rate_change_ = vsyncs; } in SetVsyncsApplyRateChange() argument
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dhwc_display_builtin.cpp211 int vsyncs = 0; in Init() local
212 HWCDebugHandler::Get()->GetProperty(DEFER_FPS_FRAME_COUNT, &vsyncs); in Init()
213 if (vsyncs > 0) { in Init()
214 SetVsyncsApplyRateChange(UINT32(vsyncs)); in Init()
H A Dhwc_display.h507 void SetVsyncsApplyRateChange(uint32_t vsyncs) { vsyncs_to_apply_rate_change_ = vsyncs; } in SetVsyncsApplyRateChange() argument