/frameworks/av/include/media/stagefright/ |
H A D | VideoFrameScheduler.h | 37 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...] |
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | VideoFrameScheduler.h | 37 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...] |
/frameworks/av/media/libstagefright/include/ |
H A D | VideoFrameScheduler.h | 37 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...] |
/frameworks/native/include/ui/ |
H A D | DisplayStatInfo.h | 25 nsecs_t vsyncTime{0}; 26 nsecs_t vsyncPeriod{0};
|
H A D | FrameStats.h | 33 nsecs_t refreshPeriodNano; 40 Vector<nsecs_t> desiredPresentTimesNano; 45 Vector<nsecs_t> actualPresentTimesNano; 53 Vector<nsecs_t> frameReadyTimesNano;
|
H A D | DisplayInfo.h | 36 nsecs_t appVsyncOffset{0}; 37 nsecs_t presentationDeadline{0};
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | TimeLord.h | 31 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 D | TimeLord.cpp | 27 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/base/libs/hwui/utils/ |
H A D | TimeUtils.h | 24 constexpr nsecs_t operator"" _s (unsigned long long s) { 28 constexpr nsecs_t operator"" _ms (unsigned long long ms) { 32 constexpr nsecs_t operator"" _us (unsigned long long us) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.h | 52 virtual void onDispSyncEvent(nsecs_t when) = 0; 84 bool addResyncSample(nsecs_t timestamp); 90 void setPeriod(nsecs_t period); 93 nsecs_t getPeriod(); 105 status_t addEventListener(const char* name, nsecs_t phase, 117 nsecs_t computeNextRefresh(int periodOffset) const; 137 nsecs_t mPeriod; 141 nsecs_t mPhase; 145 nsecs_t mReferenceTime; 150 nsecs_t mErro [all...] |
H A D | FrameTracker.h | 54 void setDesiredPresentTime(nsecs_t desiredPresentTime); 60 void setFrameReadyTime(nsecs_t readyTime); 68 void setActualPresentTime(nsecs_t displayTime); 77 void setDisplayRefreshPeriod(nsecs_t displayPeriod); 101 nsecs_t desiredPresentTime; 102 nsecs_t frameReadyTime; 103 nsecs_t actualPresentTime; 157 nsecs_t mDisplayPeriod;
|
H A D | DispSync.cpp | 56 static const nsecs_t kErrorThreshold = 160000000000; // 400 usec squared 74 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { 95 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 100 nsecs_t targetTime = 0; 153 static const nsecs_t kMaxWakeupLatency = us2ns(1500); 176 status_t addEventListener(const char* name, nsecs_t phase, 231 nsecs_t mPhase; 232 nsecs_t mLastEventTim [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/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.h | 28 PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, nsecs_t startDelay, 29 nsecs_t duration, int repeatCount, RepeatMode repeatMode); 30 void setCurrentPlayTime(nsecs_t playTime); 31 nsecs_t getTotalDuration() { 40 nsecs_t mStartDelay; 41 nsecs_t mDuration; 43 nsecs_t mTotalDuration; 61 nsecs_t durations, int repeatCount, RepeatMode repeatMode); 73 virtual void onPlayTimeChanged(nsecs_t playTime) override;
|
/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 explicit 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...] |
/frameworks/native/include/gui/ |
H A D | OccupancyTracker.h | 48 Segment(nsecs_t _totalTime, size_t _numFrames, float _occupancyAverage, 59 nsecs_t totalTime; 77 static constexpr nsecs_t NEW_SEGMENT_DELAY = ms2ns(100); 87 nsecs_t totalTime; 89 std::unordered_map<size_t, nsecs_t> mOccupancyTimes; 98 nsecs_t mLastOccupancyChangeTime;
|
H A D | FrameTimestamps.h | 57 static constexpr nsecs_t TIMESTAMP_PENDING = -2; 59 static inline bool isValidTimestamp(nsecs_t time) { 87 nsecs_t postedTime{TIMESTAMP_PENDING}; 88 nsecs_t requestedPresentTime{TIMESTAMP_PENDING}; 89 nsecs_t latchTime{TIMESTAMP_PENDING}; 90 nsecs_t firstRefreshStartTime{TIMESTAMP_PENDING}; 91 nsecs_t lastRefreshStartTime{TIMESTAMP_PENDING}; 92 nsecs_t dequeueReadyTime{TIMESTAMP_PENDING}; 101 nsecs_t deadline{0}; 102 nsecs_t interva [all...] |
/frameworks/av/media/libstagefright/ |
H A D | VideoFrameScheduler.cpp | 35 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/camera/include/camera/ |
H A D | ICameraRecordingProxyListener.h | 37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, 40 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, 44 const std::vector<nsecs_t>& timestamps,
|
/frameworks/av/include/camera/ |
H A D | ICameraRecordingProxyListener.h | 37 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, 40 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, 44 const std::vector<nsecs_t>& timestamps,
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | DisplayEventDispatcher.h | 40 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) = 0; 41 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) = 0; 44 bool processPendingEvents(nsecs_t* outTimestamp, int32_t* id, uint32_t* outCount);
|
/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;
|
/frameworks/native/libs/sensor/include/sensor/ |
H A D | ISensorEventConnection.h | 40 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, 41 nsecs_t maxBatchReportLatencyNs, int reservedFlags) = 0; 42 virtual status_t setEventRate(int handle, nsecs_t ns) = 0;
|