/frameworks/native/include/ui/ |
H A D | DisplayStatInfo.h | 25 nsecs_t vsyncTime; 26 nsecs_t vsyncPeriod;
|
H A D | FrameStats.h | 32 nsecs_t refreshPeriodNano; 39 Vector<nsecs_t> desiredPresentTimesNano; 44 Vector<nsecs_t> actualPresentTimesNano; 52 Vector<nsecs_t> frameReadyTimesNano;
|
H A D | DisplayInfo.h | 37 nsecs_t appVsyncOffset; 38 nsecs_t presentationDeadline;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | VideoFrameScheduler.h | 37 nsecs_t schedule(nsecs_t renderTime); 40 nsecs_t getVsyncPeriod(); 58 nsecs_t addSample(nsecs_t time); 61 nsecs_t mPeriod; 62 nsecs_t mPhase; 67 nsecs_t mLastTime; // last input time 68 nsecs_t mRefitAt; // next input time to fit at 71 nsecs_t mTime [all...] |
H A D | VideoFrameScheduler.cpp | 36 static const nsecs_t kNanosIn1s = 1000000000; 62 static const nsecs_t kMaxAllowedFrameSkip = kNanosIn1s; // 1 sec 63 static const nsecs_t kMinPeriod = kNanosIn1s / 120; // 120Hz 64 static const nsecs_t kRefitRefreshPeriod = 10 * kNanosIn1s; // 10 sec 87 mPeriod = (nsecs_t)(1e9 / fps + 0.5); 103 nsecs_t period = kNanosIn1s / 60; 127 nsecs_t phase, nsecs_t period, size_t numSamplesToUse, 140 nsecs_t lastTime; 143 nsecs_t tim [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.h | 28 void fixupGLMessage(GLTraceContext *curContext, nsecs_t wallStart, nsecs_t wallEnd, 29 nsecs_t threadStart, nsecs_t threadEnd,
|
H A D | gltrace_api.cpp | 45 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/base/libs/hwui/renderthread/ |
H A D | TimeLord.cpp | 27 bool TimeLord::vsyncReceived(nsecs_t vsync) { 35 nsecs_t TimeLord::computeFrameTimeMs() { 37 nsecs_t now = systemTime(CLOCK_MONOTONIC); 38 nsecs_t jitterNanos = now - mFrameTimeNanos; 40 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalNanos;
|
H A D | TimeLord.h | 31 void setFrameInterval(nsecs_t intervalNanos) { mFrameIntervalNanos = intervalNanos; } 33 bool vsyncReceived(nsecs_t vsync); 34 nsecs_t computeFrameTimeMs(); 42 nsecs_t mFrameIntervalNanos; 43 nsecs_t mFrameTimeNanos;
|
H A D | DrawFrameTask.h | 65 int drawFrame(nsecs_t frameTimeNanos, nsecs_t recordDurationNanos); 83 nsecs_t mFrameTimeNanos; 84 nsecs_t mRecordDurationNanos;
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.h | 64 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 D | FrameTracker.h | 53 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 D | DispSync.cpp | 46 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 D | com_android_server_power_PowerManagerService.h | 27 extern void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType);
|
/frameworks/native/libs/ui/ |
H A D | FrameStats.cpp | 26 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 D | InputApplication.h | 33 nsecs_t dispatchingTimeout; 53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const {
|
H A D | InputListener.h | 39 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; 97 nsecs_t downTime; 101 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, 105 float xPrecision, float yPrecision, nsecs_t downTim [all...] |
H A D | InputDispatcher.h | 173 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...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3ZslStream.h | 57 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 D | Camera3DummyStream.h | 64 nsecs_t timestamp, 86 nsecs_t timestamp);
|
/frameworks/native/include/gui/ |
H A D | ISensorEventConnection.h | 39 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 D | VelocityControl.h | 91 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 D | VelocityTracker.h | 41 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...] |
H A D | InputTransport.h | 65 nsecs_t eventTime __attribute__((aligned(8))); 74 nsecs_t downTime __attribute__((aligned(8))); 83 nsecs_t eventTime __attribute__((aligned(8))); 91 nsecs_t downTime __attribute__((aligned(8))); 219 nsecs_t downTime, 220 nsecs_t eventTime); 243 nsecs_t downTime, 244 nsecs_t eventTime, 304 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 363 nsecs_t eventTim [all...] |
/frameworks/base/libs/common_time/ |
H A D | utils.h | 39 int msecTillTimeout(nsecs_t nowTime); 45 nsecs_t mSystemEndTime;
|