/system/extras/tests/memtest/ |
memtest.h | 20 typedef long long nsecs_t; typedef 23 nsecs_t system_time();
|
/system/core/include/utils/ |
Timers.h | 36 typedef int64_t nsecs_t; // nano-seconds typedef 38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) 43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) 48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) 53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) 58 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs [all...] |
StopWatch.h | 38 nsecs_t lap(); 39 nsecs_t elapsedTime() const; 49 nsecs_t soFar; 50 nsecs_t thisLap; 53 nsecs_t mStartTime;
|
/frameworks/base/libs/hwui/renderthread/ |
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;
|
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;
|
/hardware/qcom/camera/msmcobalt/QCamera2/util/ |
QCameraDisplay.h | 48 void computeAverageVsyncInterval(nsecs_t currentVsyncTimeStamp); 49 nsecs_t computePresentationTimeStamp(nsecs_t frameTimeStamp); 53 nsecs_t mVsyncTimeStamp; 54 nsecs_t mAvgVsyncInterval; 55 nsecs_t mOldTimeStamp; 56 nsecs_t mVsyncIntervalHistory[CAMERA_NUM_VSYNC_INTERVAL_HISTORY]; 57 nsecs_t mVsyncHistoryIndex; 58 nsecs_t mAdditionalVsyncOffsetForWiggle; 65 nsecs_t mSet_timestamp_num_ns_prior_to_vsync [all...] |
/frameworks/native/include/gui/ |
FrameTimestamps.h | 36 nsecs_t postedTime; 37 nsecs_t acquireTime; 38 nsecs_t refreshStartTime; 39 nsecs_t glCompositionDoneTime; 40 nsecs_t displayRetireTime; 41 nsecs_t releaseTime;
|
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/av/include/media/stagefright/ |
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 mRefitAt; // next input time to fit a [all...] |
/frameworks/native/include/ui/ |
DisplayStatInfo.h | 25 nsecs_t vsyncTime; 26 nsecs_t vsyncPeriod;
|
FrameStats.h | 33 nsecs_t refreshPeriodNano; 40 Vector<nsecs_t> desiredPresentTimesNano; 45 Vector<nsecs_t> actualPresentTimesNano; 53 Vector<nsecs_t> frameReadyTimesNano;
|
/hardware/qcom/camera/QCamera2/util/ |
QCameraDisplay.h | 47 void computeAverageVsyncInterval(nsecs_t currentVsyncTimeStamp); 48 nsecs_t computePresentationTimeStamp(nsecs_t frameTimeStamp); 52 nsecs_t mVsyncTimeStamp; 53 nsecs_t mAvgVsyncInterval; 54 nsecs_t mOldTimeStamp; 55 nsecs_t mVsyncIntervalHistory[CAMERA_NUM_VSYNC_INTERVAL_HISTORY]; 56 nsecs_t mVsyncHistoryIndex; 57 nsecs_t mAdditionalVsyncOffsetForWiggle;
|
/frameworks/base/libs/hwui/utils/ |
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/ |
DispSync.h | 61 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 mError [all...] |
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;
|
FenceTracker.h | 41 void addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence, 53 nsecs_t postedTime; // time when buffer was queued 54 nsecs_t acquireTime; // timestamp from the acquire fence 55 nsecs_t releaseTime; // timestamp from the release fence 60 bool isGlesComposition, nsecs_t postedTime, 61 nsecs_t acquireTime, nsecs_t releaseTime, 79 nsecs_t refreshStartTime; 81 nsecs_t retireTime; 83 nsecs_t glesCompositionDoneTime [all...] |
/system/core/libutils/ |
Timers.cpp | 27 nsecs_t systemTime(int clock) 39 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec; 42 nsecs_t systemTime(int /*clock*/) 50 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL; 54 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime)
|
/frameworks/base/services/core/jni/ |
com_android_server_power_PowerManagerService.h | 27 extern void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Sensor.h | 132 bool waitForVSync(nsecs_t reltime); 138 bool waitForNewFrame(nsecs_t reltime, 139 nsecs_t *captureTime); 151 nsecs_t timestamp) = 0; 163 static const nsecs_t kExposureTimeRange[2]; 164 static const nsecs_t kFrameDurationRange[2]; 165 static const nsecs_t kMinVerticalBlank; 190 static const nsecs_t kRowReadoutTime; 213 nsecs_t mCaptureTime; 218 nsecs_t mStartupTime [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3ZslStream.h | 57 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/native/libs/ui/ |
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/ |
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/base/include/androidfw/ |
DisplayEventDispatcher.h | 39 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/services/inputflinger/ |
InputApplication.h | 33 nsecs_t dispatchingTimeout; 53 inline nsecs_t getDispatchingTimeout(nsecs_t defaultValue) const {
|
/device/generic/goldfish/camera/ |
EmulatedFakeCameraDevice.h | 136 nsecs_t mLastRedrawn; 173 static const nsecs_t mRedrawAfter = 15000000LL; 177 static const nsecs_t mRotateFreq = 3000000000LL; 180 nsecs_t mLastRotatedAt;
|