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

12345678

/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/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 computeFrameTimeMs();
38 nsecs_t computeFrameTimeNanos();
46 nsecs_t mFrameIntervalNanos;
47 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;
46 nsecs_t TimeLord::computeFrameTimeMs() {
/frameworks/native/include/ui/
H A DDisplayStatInfo.h25 nsecs_t vsyncTime;
26 nsecs_t vsyncPeriod;
H A DFrameStats.h32 nsecs_t refreshPeriodNano;
39 Vector<nsecs_t> desiredPresentTimesNano;
44 Vector<nsecs_t> actualPresentTimesNano;
52 Vector<nsecs_t> frameReadyTimesNano;
H A DDisplayInfo.h37 nsecs_t appVsyncOffset;
38 nsecs_t presentationDeadline;
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.h28 void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd,
29 nsecs_t threadStart, nsecs_t threadEnd,
H A Dgltrace_api.cpp45 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
46 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD);
48 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD);
49 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC);
79 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
80 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD);
82 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD);
83 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC);
119 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC);
120 nsecs_t threadStartTim
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.h64 virtual void onDispSyncEvent(nsecs_t when) = 0;
96 bool addResyncSample(nsecs_t timestamp);
102 void setPeriod(nsecs_t period);
105 nsecs_t getPeriod();
117 status_t addEventListener(nsecs_t phase, const sp<Callback>& callback);
128 nsecs_t computeNextRefresh(int periodOffset) const;
146 nsecs_t mPeriod;
150 nsecs_t mPhase;
155 nsecs_t mError;
160 nsecs_t mResyncSample
[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 DDispSync.cpp46 static const nsecs_t kErrorThreshold = 160000000000; // 400 usec squared
64 void updateModel(nsecs_t period, nsecs_t phase) {
79 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
80 nsecs_t nextEventTime = 0;
85 nsecs_t targetTime = 0;
147 status_t addEventListener(nsecs_t phase, const sp<DispSync::Callback>& callback) {
197 nsecs_t mPhase;
198 nsecs_t mLastEventTime;
204 nsecs_t mEventTim
[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/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.h173 nsecs_t keyRepeatTimeout;
176 nsecs_t keyRepeatDelay;
200 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
204 virtual nsecs_t notifyANR(const sp<InputApplicationHandle>& inputApplicationHandle,
237 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
240 virtual nsecs_t interceptKeyBeforeDispatching(const sp<InputWindowHandle>& inputWindowHandle,
250 virtual void notifySwitch(nsecs_t when,
254 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0;
433 nsecs_t eventTime;
446 EventEntry(int32_t type, nsecs_t eventTim
[all...]
H A DInputReader.h154 nsecs_t virtualKeyQuietTime;
172 nsecs_t pointerGestureQuietInterval;
181 nsecs_t pointerGestureTapInterval;
190 nsecs_t pointerGestureTapDragInterval;
199 nsecs_t pointerGestureMultitouchSettleInterval;
372 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
379 nsecs_t when;
414 virtual void disableVirtualKeysUntil(nsecs_t time) = 0;
415 virtual bool shouldDropVirtualKey(nsecs_t now,
420 virtual void requestTimeoutAtTime(nsecs_t whe
[all...]
/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);
97 nsecs_t timestamp,
105 status_t clearInputRingBufferLocked(nsecs_t* latestTimestamp);
H A DCamera3DummyStream.h64 nsecs_t timestamp,
88 nsecs_t timestamp);
/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;
H A DVelocityTracker.h41 nsecs_t time;
83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions);
107 nsecs_t mLastEventTime;
130 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
162 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
170 static const nsecs_t HORIZON = 100 * 1000000; // 100 ms
176 nsecs_t eventTime;
205 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits,
212 nsecs_t updateTime;
223 void initState(State& state, nsecs_t eventTim
[all...]
/frameworks/base/libs/common_time/
H A Dutils.h39 int msecTillTimeout(nsecs_t nowTime);
45 nsecs_t mSystemEndTime;

Completed in 464 milliseconds

12345678