Searched refs:nsecs_t (Results 1 - 25 of 218) sorted by relevance

123456789

/frameworks/av/include/media/stagefright/
H A DVideoFrameScheduler.h37 nsecs_t schedule(nsecs_t renderTime);
40 nsecs_t getVsyncPeriod();
61 nsecs_t addSample(nsecs_t time);
62 nsecs_t getPeriod() const;
65 nsecs_t mPeriod;
66 nsecs_t mPhase;
71 nsecs_t mLastTime; // last input time
72 nsecs_t mRefitA
[all...]
H A DFrameRenderTracker.h55 nsecs_t getRenderTimeNs() const { return mRenderTimeNs; }
70 Info(int64_t mediaTimeUs, nsecs_t renderTimeNs)
80 nsecs_t mRenderTimeNs;
93 void clear(nsecs_t lastRenderTimeNs);
109 status_t onFrameRendered(int64_t mediaTimeUs, nsecs_t systemNano);
135 nsecs_t mLastRenderTimeNs;
/frameworks/native/include/ui/
H A DDisplayStatInfo.h25 nsecs_t vsyncTime;
26 nsecs_t vsyncPeriod;
H A DFrameStats.h33 nsecs_t refreshPeriodNano;
40 Vector<nsecs_t> desiredPresentTimesNano;
45 Vector<nsecs_t> actualPresentTimesNano;
53 Vector<nsecs_t> frameReadyTimesNano;
H A DDisplayInfo.h37 nsecs_t appVsyncOffset;
38 nsecs_t presentationDeadline;
/frameworks/base/libs/hwui/renderthread/
H A DTimeLord.h31 void setFrameInterval(nsecs_t intervalNanos) { mFrameIntervalNanos = intervalNanos; }
32 nsecs_t frameIntervalNanos() const { return mFrameIntervalNanos; }
35 bool vsyncReceived(nsecs_t vsync);
36 nsecs_t latestVsync() { return mFrameTimeNanos; }
37 nsecs_t computeFrameTimeNanos();
45 nsecs_t mFrameIntervalNanos;
46 nsecs_t mFrameTimeNanos;
H A DTimeLord.cpp27 bool TimeLord::vsyncReceived(nsecs_t vsync) {
35 nsecs_t TimeLord::computeFrameTimeNanos() {
37 nsecs_t now = systemTime(CLOCK_MONOTONIC);
38 nsecs_t jitterNanos = now - mFrameTimeNanos;
40 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalNanos;
/frameworks/native/services/surfaceflinger/
H A DDispSync.h61 virtual void onDispSyncEvent(nsecs_t when) = 0;
93 bool addResyncSample(nsecs_t timestamp);
99 void setPeriod(nsecs_t period);
102 nsecs_t getPeriod();
114 status_t addEventListener(const char* name, nsecs_t phase,
126 nsecs_t computeNextRefresh(int periodOffset) const;
146 nsecs_t mPeriod;
150 nsecs_t mPhase;
154 nsecs_t mReferenceTime;
159 nsecs_t mErro
[all...]
H A DFrameTracker.h53 void setDesiredPresentTime(nsecs_t desiredPresentTime);
59 void setFrameReadyTime(nsecs_t readyTime);
67 void setActualPresentTime(nsecs_t displayTime);
76 void setDisplayRefreshPeriod(nsecs_t displayPeriod);
100 nsecs_t desiredPresentTime;
101 nsecs_t frameReadyTime;
102 nsecs_t actualPresentTime;
156 nsecs_t mDisplayPeriod;
H A DFenceTracker.h41 void addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence,
51 nsecs_t postedTime; // time when buffer was queued
52 nsecs_t acquireTime; // timestamp from the acquire fence
53 nsecs_t releaseTime; // timestamp from the release fence
58 bool isGlesComposition, nsecs_t postedTime,
59 nsecs_t acquireTime, nsecs_t releaseTime,
77 nsecs_t refreshStartTime;
79 nsecs_t retireTime;
81 nsecs_t glesCompositionDoneTim
[all...]
H A DDispSync.cpp56 static const nsecs_t kErrorThreshold = 160000000000; // 400 usec squared
78 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) {
99 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
104 nsecs_t targetTime = 0;
157 static const nsecs_t kMaxWakeupLatency = us2ns(1500);
180 status_t addEventListener(const char* name, nsecs_t phase,
234 nsecs_t mPhase;
235 nsecs_t mLastEventTim
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_power_PowerManagerService.h27 extern void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType);
/frameworks/base/libs/hwui/
H A DPropertyValuesAnimatorSet.h28 PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, nsecs_t startDelay,
29 nsecs_t duration, int repeatCount);
30 void setCurrentPlayTime(nsecs_t playTime);
31 nsecs_t getTotalDuration() {
39 nsecs_t mStartDelay;
40 nsecs_t mDuration;
42 nsecs_t mTotalDuration;
56 nsecs_t durations, int repeatCount);
62 virtual void onPlayTimeChanged(nsecs_t playTime) override;
H A DPropertyValuesAnimatorSet.cpp26 Interpolator* interpolator, nsecs_t startDelay,
27 nsecs_t duration, int repeatCount) {
57 void PropertyValuesAnimatorSet::onPlayTimeChanged(nsecs_t playTime) {
110 nsecs_t startDelay, nsecs_t duration, int repeatCount)
118 mTotalDuration = ((nsecs_t) mRepeatCount + 1) * mDuration + mStartDelay;
121 void PropertyAnimator::setCurrentPlayTime(nsecs_t playTime) {
123 nsecs_t currentIterationPlayTime = (playTime - mStartDelay) % mDuration;
/frameworks/native/libs/ui/
H A DFrameStats.cpp26 const size_t timestampSize = sizeof(nsecs_t);
39 nsecs_t* timestamps = reinterpret_cast<nsecs_t*>(buffer);
40 const size_t timestampSize = sizeof(nsecs_t);
58 const size_t timestampSize = sizeof(nsecs_t);
64 nsecs_t const* timestamps = reinterpret_cast<nsecs_t const*>(buffer);
/frameworks/native/services/inputflinger/
H A DInputApplication.h33 nsecs_t dispatchingTimeout;
53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const {
H A DInputListener.h39 nsecs_t eventTime;
43 NotifyConfigurationChangedArgs(nsecs_t eventTime);
55 nsecs_t eventTime;
64 nsecs_t downTime;
68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
70 int32_t metaState, nsecs_t downTime);
82 nsecs_t eventTime;
98 nsecs_t downTime;
102 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
107 float xPrecision, float yPrecision, nsecs_t downTim
[all...]
H A DInputDispatcher.h179 nsecs_t keyRepeatTimeout;
182 nsecs_t keyRepeatDelay;
206 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
210 virtual nsecs_t notifyANR(const sp<InputApplicationHandle>& inputApplicationHandle,
243 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
246 virtual nsecs_t interceptKeyBeforeDispatching(const sp<InputWindowHandle>& inputWindowHandle,
256 virtual void notifySwitch(nsecs_t when,
260 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0;
439 nsecs_t eventTime;
452 EventEntry(int32_t type, nsecs_t eventTim
[all...]
/frameworks/base/libs/hwui/utils/
H A DTimeUtils.h24 constexpr nsecs_t operator"" _ms (unsigned long long ms) {
/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp35 static const nsecs_t kNanosIn1s = 1000000000;
61 static const nsecs_t kMaxAllowedFrameSkip = kNanosIn1s; // 1 sec
62 static const nsecs_t kMinPeriod = kNanosIn1s / 120; // 120Hz
63 static const nsecs_t kRefitRefreshPeriod = 10 * kNanosIn1s; // 10 sec
86 mPeriod = (nsecs_t)(1e9 / fps + 0.5);
102 nsecs_t period = kNanosIn1s / 60;
126 nsecs_t phase, nsecs_t period, size_t numSamplesToUse,
139 nsecs_t lastTime;
142 nsecs_t tim
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3ZslStream.h57 status_t enqueueInputBufferByTimestamp(nsecs_t timestamp,
58 nsecs_t* actualTimestamp);
65 status_t clearInputRingBuffer(nsecs_t* latestTimestamp);
96 nsecs_t timestamp,
104 status_t clearInputRingBufferLocked(nsecs_t* latestTimestamp);
/frameworks/base/include/androidfw/
H A DDisplayEventDispatcher.h39 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) = 0;
40 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) = 0;
43 bool processPendingEvents(nsecs_t* outTimestamp, int32_t* id, uint32_t* outCount);
/frameworks/native/include/gui/
H A DISensorEventConnection.h39 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
40 nsecs_t maxBatchReportLatencyNs, int reservedFlags) = 0;
41 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
/frameworks/native/include/input/
H A DVelocityControl.h91 void move(nsecs_t eventTime, float* deltaX, float* deltaY);
96 static const nsecs_t STOP_TIME = 500 * 1000000; // 500 ms
100 nsecs_t mLastMovementTime;
/frameworks/base/native/android/
H A Dchoreographer.cpp40 nsecs_t dueTime;
53 void postFrameCallbackDelayed(AChoreographer_frameCallback cb, void* data, nsecs_t delay);
70 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
71 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
112 AChoreographer_frameCallback cb, void* data, nsecs_t delay) {
113 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
134 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
143 void Choreographer::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t) {
152 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
163 void Choreographer::dispatchHotplug(nsecs_t, int32_
[all...]

Completed in 398 milliseconds

123456789