/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.cpp | 24 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()
|
D | MockDispSync.h | 26 class DispSync : public android::DispSync { 28 DispSync(); 29 ~DispSync() override;
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.h | 33 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;
|
D | DispSync.cpp | 45 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 …]
|
D | DispSyncSource.cpp | 30 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()
|
D | DispSyncSource.h | 26 class DispSyncSource final : public VSyncSource, private DispSync::Callback { 28 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, const char* name); 49 DispSync* mDispSync;
|
D | Scheduler.h | 110 void withPrimaryDispSync(std::function<void(DispSync&)> const& fn); 182 const char* connectionName, DispSync* dispSync, int64_t phaseOffsetNs, 248 std::unique_ptr<DispSync> mPrimaryDispSync;
|
D | Scheduler.cpp | 70 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/ |
D | SurfaceFlingerFactory.h | 36 class DispSync; variable 67 virtual std::unique_ptr<DispSync> createDispSync(const char* name, bool hasSyncFramework,
|
D | SurfaceFlingerFactory.cpp | 48 std::unique_ptr<DispSync> createDispSync(const char* name, bool hasSyncFramework, in createSurfaceFlinger() 53 auto primaryDispSync = std::make_unique<android::impl::DispSync>(name); in createSurfaceFlinger()
|
D | RegionSamplingThread.cpp | 88 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()
|
D | BufferLayerConsumer.h | 37 class DispSync; variable
|
D | Android.bp | 144 "Scheduler/DispSync.cpp",
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DispSyncSourceTest.cpp | 48 std::unique_ptr<mock::DispSync> mDispSync; 76 mDispSync = std::make_unique<mock::DispSync>(); in createDispSync()
|
D | SchedulerTest.cpp | 49 const char* /* connectionName */, DispSync* /* dispSync */, in makeEventThread() argument
|
D | DisplayTransactionTest.cpp | 137 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
|
D | TestableSurfaceFlinger.h | 64 std::unique_ptr<DispSync> createDispSync(const char*, bool, int64_t) override { in createDispSync()
|
D | CompositionTest.cpp | 177 mock::DispSync* mPrimaryDispSync = new mock::DispSync();
|