Lines Matching refs:nsecs_t
39 virtual void onDispSyncEvent(nsecs_t when) = 0;
52 virtual bool addResyncSample(nsecs_t timestamp, bool* periodChanged) = 0;
54 virtual void setPeriod(nsecs_t period) = 0;
55 virtual nsecs_t getPeriod() = 0;
57 virtual status_t addEventListener(const char* name, nsecs_t phase, Callback* callback,
58 nsecs_t lastCallbackTime) = 0;
59 virtual status_t removeEventListener(Callback* callback, nsecs_t* outLastCallback) = 0;
60 virtual status_t changePhaseOffset(Callback* callback, nsecs_t phase) = 0;
61 virtual nsecs_t computeNextRefresh(int periodOffset) const = 0;
63 virtual nsecs_t expectedPresentTime() = 0;
128 bool addResyncSample(nsecs_t timestamp, bool* periodChanged) override;
134 void setPeriod(nsecs_t period) override;
137 nsecs_t getPeriod() override;
154 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback,
155 nsecs_t lastCallbackTime) override;
163 status_t removeEventListener(Callback* callback, nsecs_t* outLastCallbackTime) override;
168 status_t changePhaseOffset(Callback* callback, nsecs_t phase) override;
174 nsecs_t computeNextRefresh(int periodOffset) const override;
185 nsecs_t expectedPresentTime();
206 nsecs_t mPeriod;
212 nsecs_t mPendingPeriod = 0;
216 nsecs_t mPhase;
220 nsecs_t mReferenceTime;
225 nsecs_t mError;
238 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES] = {0};