Home
last modified time | relevance | path

Searched refs:DispSync (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDispSync.cpp24 DispSync::DispSync() = default;
25 DispSync::~DispSync() = default;
27 status_t DispSync::addEventListener(const char* /*name*/, nsecs_t phase, Callback* callback, in addEventListener()
36 status_t DispSync::removeEventListener(Callback* callback, nsecs_t* /*outLastCallback*/) { in removeEventListener()
45 status_t DispSync::changePhaseOffset(Callback* callback, nsecs_t phase) { in changePhaseOffset()
54 void DispSync::triggerCallback() { in triggerCallback()
DMockDispSync.h26 class DispSync : public android::DispSync {
28 DispSync();
29 ~DispSync() override;
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h33 class DispSync {
46 DispSync() = default;
47 virtual ~DispSync();
68 DispSync(DispSync const&) = delete;
69 DispSync& operator=(DispSync const&) = delete;
89 class DispSync : public android::DispSync {
91 explicit DispSync(const char* name);
92 ~DispSync() override;
DDispSync.cpp45 DispSync::~DispSync() = default;
46 DispSync::Callback::~Callback() = default;
204 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback, in addEventListener()
257 status_t removeEventListener(DispSync::Callback* callback, nsecs_t* outLastCallback) { in removeEventListener()
274 status_t changePhaseOffset(DispSync::Callback* callback, nsecs_t phase) { in changePhaseOffset()
306 DispSync::Callback* mCallback;
311 DispSync::Callback* mCallback;
458 class ZeroPhaseTracer : public DispSync::Callback {
471 DispSync::DispSync(const char* name) : mName(name), mRefreshSkipCount(0) { in DispSync() function in android::impl::DispSync
479 DispSync::~DispSync() { in ~DispSync()
[all …]
DDispSyncSource.cpp30 DispSyncSource::DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, in DispSyncSource()
43 static_cast<DispSync::Callback*>(this), in setVSyncEnabled()
50 status_t err = mDispSync->removeEventListener(static_cast<DispSync::Callback*>(this), in setVSyncEnabled()
84 mDispSync->changePhaseOffset(static_cast<DispSync::Callback*>(this), mPhaseOffset); in setPhaseOffset()
DDispSyncSource.h26 class DispSyncSource final : public VSyncSource, private DispSync::Callback {
28 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, const char* name);
49 DispSync* mDispSync;
DScheduler.h110 void withPrimaryDispSync(std::function<void(DispSync&)> const& fn);
182 const char* connectionName, DispSync* dispSync, int64_t phaseOffsetNs,
248 std::unique_ptr<DispSync> mPrimaryDispSync;
DScheduler.cpp70 auto primaryDispSync = std::make_unique<impl::DispSync>("SchedulerDispSync"); in Scheduler()
141 const char* connectionName, DispSync* dispSync, int64_t phaseOffsetNs, in makeEventThread()
342 void Scheduler::withPrimaryDispSync(std::function<void(DispSync&)> const& fn) { in withPrimaryDispSync()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerFactory.h36 class DispSync; variable
67 virtual std::unique_ptr<DispSync> createDispSync(const char* name, bool hasSyncFramework,
DSurfaceFlingerFactory.cpp48 std::unique_ptr<DispSync> createDispSync(const char* name, bool hasSyncFramework, in createSurfaceFlinger()
53 auto primaryDispSync = std::make_unique<android::impl::DispSync>(name); in createSurfaceFlinger()
DRegionSamplingThread.cpp88 struct SamplingOffsetCallback : DispSync::Callback {
105 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in startVsyncListener()
120 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in stopVsyncListenerLocked()
132 mScheduler.withPrimaryDispSync([this](android::DispSync& sync) { in onDispSyncEvent()
141 [this](android::DispSync& sync) { sync.changePhaseOffset(this, 0); }); in onDispSyncEvent()
DBufferLayerConsumer.h37 class DispSync; variable
DAndroid.bp144 "Scheduler/DispSync.cpp",
/frameworks/native/services/surfaceflinger/tests/unittests/
DDispSyncSourceTest.cpp48 std::unique_ptr<mock::DispSync> mDispSync;
76 mDispSync = std::make_unique<mock::DispSync>(); in createDispSync()
DSchedulerTest.cpp49 const char* /* connectionName */, DispSync* /* dispSync */, in makeEventThread() argument
DDisplayTransactionTest.cpp137 mock::DispSync* mPrimaryDispSync = new mock::DispSync();
2876 Case::DispSync::setupBeginResyncCallExpectations(test); in setupCallExpectations()
2906 Case::DispSync::setupEndResyncCallExpectations(test); in setupCallExpectations()
2942 Case::DispSync::setupBeginResyncCallExpectations(test); in setupCallExpectations()
2961 Case::DispSync::setupBeginResyncCallExpectations(test); in setupCallExpectations()
2971 Case::DispSync::setupEndResyncCallExpectations(test); in setupCallExpectations()
2999 using DispSync = DispSyncVariant; typedef
DTestableSurfaceFlinger.h64 std::unique_ptr<DispSync> createDispSync(const char*, bool, int64_t) override { in createDispSync()
DCompositionTest.cpp177 mock::DispSync* mPrimaryDispSync = new mock::DispSync();