Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DCachedSet.h39 Layer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate);
51 std::chrono::steady_clock::time_point getLastUpdate() const { return mLastUpdate; } in getLastUpdate()
56 std::chrono::steady_clock::time_point mLastUpdate;
59 CachedSet(const LayerState*, std::chrono::steady_clock::time_point lastUpdate);
62 void addLayer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate);
64 std::chrono::steady_clock::time_point getLastUpdate() const { return mLastUpdate; } in getLastUpdate()
94 void updateAge(std::chrono::steady_clock::time_point now);
96 void setLastUpdate(std::chrono::steady_clock::time_point now) { mLastUpdate = now; } in setLastUpdate()
154 std::chrono::steady_clock::time_point mLastUpdate = std::chrono::steady_clock::now();
DFlattener.h77 std::chrono::steady_clock::time_point now);
81 std::optional<std::chrono::steady_clock::time_point> renderDeadline);
91 void resetActivities(NonBufferHash, std::chrono::steady_clock::time_point now);
96 std::chrono::steady_clock::time_point now);
171 std::vector<Run> findCandidateRuns(std::chrono::steady_clock::time_point now) const;
175 void buildCachedSets(std::chrono::steady_clock::time_point now);
191 std::chrono::steady_clock::time_point mLastGeometryUpdate;
DPlanner.h65 std::optional<std::chrono::steady_clock::time_point> renderDeadline);
/frameworks/av/media/codec2/sfplugin/
DPipelineWatcher.h77 const Clock::time_point &queuedAt);
118 Clock::duration elapsed(const Clock::time_point &now, size_t n) const;
128 const Clock::time_point &q) in Frame()
132 const Clock::time_point queuedAt;
DPipelineWatcher.cpp51 const Clock::time_point &queuedAt) { in onWorkQueued()
138 const PipelineWatcher::Clock::time_point &now, size_t n) const { in elapsed()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.h82 std::optional<std::chrono::steady_clock::time_point> samplingDeadline);
100 void doSample(std::optional<std::chrono::steady_clock::time_point> samplingDeadline);
117 std::optional<std::chrono::steady_clock::time_point> mSampleRequestTime
119 std::chrono::steady_clock::time_point mLastSampleTime GUARDED_BY(mThreadControlMutex);
DClock.h30 virtual std::chrono::steady_clock::time_point now() const = 0;
37 std::chrono::steady_clock::time_point now() const override { in now()
DFpsReporter.h69 std::chrono::steady_clock::time_point mLastDispatch;
/frameworks/av/media/libmediatranscoding/include/media/
DTranscodingLogger.h82 std::queue<std::pair<std::chrono::steady_clock::time_point, int>> mLastLoggedAtoms
87 void logSessionEnded(const std::chrono::steady_clock::time_point& now,
91 bool shouldLogAtom(const std::chrono::steady_clock::time_point& now, int status);
/frameworks/native/services/surfaceflinger/tests/unittests/fake/
DFakeClock.h26 std::chrono::steady_clock::time_point now() const override { return mNow; } in now()
31 std::chrono::steady_clock::time_point mNow;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionRefreshArgs.h85 std::chrono::steady_clock::time_point earliestPresentTime;
92 std::optional<std::chrono::steady_clock::time_point> nextInvalidateTime;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp28 using time_point = std::chrono::steady_clock::time_point; typedef
78 NonBufferHash hash, time_point now) { in flattenLayers()
113 std::optional<std::chrono::steady_clock::time_point> renderDeadline) { in renderCachedSets()
236 void Flattener::resetActivities(NonBufferHash hash, time_point now) { in resetActivities()
267 bool Flattener::mergeWithCachedSets(const std::vector<const LayerState*>& layers, time_point now) { in mergeWithCachedSets()
411 std::vector<Flattener::Run> Flattener::findCandidateRuns(time_point now) const { in findCandidateRuns()
482 void Flattener::buildCachedSets(time_point now) { in buildCachedSets()
DCachedSet.cpp57 CachedSet::Layer::Layer(const LayerState* state, std::chrono::steady_clock::time_point lastUpdate) in Layer()
60 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet()
74 std::chrono::steady_clock::time_point lastUpdate) { in addLayer()
149 void CachedSet::updateAge(std::chrono::steady_clock::time_point now) { in updateAge()
/frameworks/av/services/mediametrics/
DTimedAction.h78 auto sleepUntilTime = std::chrono::time_point<std::chrono::steady_clock>::max(); in threadLoop()
96 std::multimap<std::chrono::time_point<std::chrono::steady_clock>, std::function<void()>>
/frameworks/native/services/vibratorservice/test/
DVibratorCallbackSchedulerTest.cpp33 using std::chrono::time_point;
71 time_point<steady_clock> expiration = steady_clock::now() + timeout; in waitForCallbacks()
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingLogger_tests.cpp145 void logSession(const std::chrono::steady_clock::time_point& time, Reason reason, int status, in logSession()
151 void logSession(const std::chrono::steady_clock::time_point& time, Reason reason, int status) { in logSession()
161 void logSessionFinished(const std::chrono::steady_clock::time_point& time) { in logSessionFinished()
165 void logSessionFailed(const std::chrono::steady_clock::time_point& time) { in logSessionFailed()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp68 nsecs_t nextAnticipatedVSyncTimeFrom(nsecs_t time_point) const final { in nextAnticipatedVSyncTimeFrom()
70 auto const normalized_to_base = time_point - mBase; in nextAnticipatedVSyncTimeFrom()
73 return time_point; in nextAnticipatedVSyncTimeFrom()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.h75 virtual std::optional<std::chrono::steady_clock::time_point> nextExpectedInvalidate() = 0;
152 std::optional<std::chrono::steady_clock::time_point> nextExpectedInvalidate() override;
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockMessageQueue.h42 MOCK_METHOD0(nextExpectedInvalidate, std::optional<std::chrono::steady_clock::time_point>());
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.h55 using Epoch = std::chrono::time_point<std::chrono::steady_clock>;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h120 std::chrono::steady_clock::time_point earliestPresentTime;
/frameworks/av/media/libmediatranscoding/
DTranscodingLogger.cpp108 void TranscodingLogger::logSessionEnded(const std::chrono::steady_clock::time_point& now, in logSessionEnded()
159 bool TranscodingLogger::shouldLogAtom(const std::chrono::steady_clock::time_point& now, in shouldLogAtom()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h56 status_t(HalDisplayId, bool, std::chrono::steady_clock::time_point,
63 status_t(HalDisplayId, std::chrono::steady_clock::time_point,
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorCallbackScheduler.h33 using Timestamp = std::chrono::time_point<std::chrono::steady_clock>;
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h136 std::chrono::steady_clock::time_point earliestPresentTime,
145 HalDisplayId, std::chrono::steady_clock::time_point earliestPresentTime,
279 std::chrono::steady_clock::time_point earliestPresentTime,
288 HalDisplayId, std::chrono::steady_clock::time_point earliestPresentTime,

123