/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSyncSource.cpp | 35 std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration, in CallbackRepeater() 36 std::chrono::nanoseconds notBefore) in CallbackRepeater() 53 void start(std::chrono::nanoseconds workDuration, std::chrono::nanoseconds readyDuration) { in start() 88 mLastCallTime = std::chrono::nanoseconds(vsyncTime); in callback() 112 std::chrono::nanoseconds mWorkDuration GUARDED_BY(mMutex) = 0ns; 113 std::chrono::nanoseconds mReadyDuration GUARDED_BY(mMutex) = 0ns; 114 std::chrono::nanoseconds mLastCallTime GUARDED_BY(mMutex) = 0ns; 118 std::chrono::nanoseconds workDuration, in DispSyncSource() 119 std::chrono::nanoseconds readyDuration, bool traceVsync, in DispSyncSource() 156 void DispSyncSource::setDuration(std::chrono::nanoseconds workDuration, in setDuration() [all …]
|
D | DispSyncSource.h | 30 DispSyncSource(VSyncDispatch& vSyncDispatch, std::chrono::nanoseconds workDuration, 31 std::chrono::nanoseconds readyDuration, bool traceVsync, const char* name); 39 void setDuration(std::chrono::nanoseconds workDuration, 40 std::chrono::nanoseconds readyDuration) override; 59 TracedOrdinal<std::chrono::nanoseconds> mWorkDuration GUARDED_BY(mVsyncMutex); 60 std::chrono::nanoseconds mReadyDuration GUARDED_BY(mVsyncMutex);
|
D | VsyncConfiguration.cpp | 140 if (vsyncDuration < std::chrono::nanoseconds(15ms).count()) { in constructOffsets() 148 std::chrono::nanoseconds sfOffsetToDuration(nsecs_t sfOffset, nsecs_t vsyncDuration) { in sfOffsetToDuration() 149 return std::chrono::nanoseconds(vsyncDuration - sfOffset); in sfOffsetToDuration() 152 std::chrono::nanoseconds appOffsetToDuration(nsecs_t appOffset, nsecs_t sfOffset, in appOffsetToDuration() 159 return std::chrono::nanoseconds(duration); in appOffsetToDuration() 197 .hwcMinWorkDuration = std::chrono::nanoseconds(mHwcMinWorkDuration), in getDefaultOffsets() 243 .hwcMinWorkDuration = std::chrono::nanoseconds(mHwcMinWorkDuration), in getHighFpsOffsets() 281 nsecs_t sfDurationToOffset(std::chrono::nanoseconds sfDuration, nsecs_t vsyncDuration) { in sfDurationToOffset() 285 nsecs_t appDurationToOffset(std::chrono::nanoseconds appDuration, in appDurationToOffset() 286 std::chrono::nanoseconds sfDuration, nsecs_t vsyncDuration) { in appDurationToOffset() [all …]
|
D | MessageQueue.h | 68 std::chrono::nanoseconds workDuration) = 0; 69 virtual void setDuration(std::chrono::nanoseconds workDuration) = 0; 113 TracedOrdinal<std::chrono::nanoseconds> workDuration 114 GUARDED_BY(mutex) = {"VsyncWorkDuration-sf", std::chrono::nanoseconds(0)}; 115 std::chrono::nanoseconds lastCallbackTime GUARDED_BY(mutex) = std::chrono::nanoseconds{0}; in GUARDED_BY() 139 std::chrono::nanoseconds workDuration) override; 140 void setDuration(std::chrono::nanoseconds workDuration) override;
|
D | EventThread.h | 77 virtual void setDuration(std::chrono::nanoseconds workDuration, 78 std::chrono::nanoseconds readyDuration) = 0; 136 virtual void setDuration(std::chrono::nanoseconds workDuration, 137 std::chrono::nanoseconds readyDuration) = 0; 185 void setDuration(std::chrono::nanoseconds workDuration, 186 std::chrono::nanoseconds readyDuration) override;
|
D | VsyncModulator.h | 50 static const std::chrono::nanoseconds MIN_EARLY_TRANSACTION_TIME; 56 std::chrono::nanoseconds sfWorkDuration; 57 std::chrono::nanoseconds appWorkDuration; 74 std::chrono::nanoseconds hwcMinWorkDuration; // Used for calculating the
|
D | Scheduler.h | 80 std::chrono::nanoseconds workDuration, 81 std::chrono::nanoseconds readyDuration, 101 void setDuration(ConnectionHandle, std::chrono::nanoseconds workDuration, 102 std::chrono::nanoseconds readyDuration); 173 std::chrono::nanoseconds workDuration, 174 std::chrono::nanoseconds readyDuration, 312 static constexpr std::chrono::nanoseconds MAX_VSYNC_APPLIED_TIME = 200ms;
|
D | InjectVSyncSource.h | 48 void setDuration(std::chrono::nanoseconds, std::chrono::nanoseconds) override {} in setDuration() argument
|
D | LayerInfo.h | 39 constexpr std::chrono::nanoseconds MAX_ACTIVE_LAYER_PERIOD_NS = 1200ms; 56 std::chrono::nanoseconds(kMinFpsForFrequentLayer.getPeriodNsecs()) + 1ms; 186 const auto timePoint = std::chrono::nanoseconds(now); in onLayerInactive() 221 static constexpr std::chrono::nanoseconds HISTORY_DURATION = 2s; 294 static constexpr std::chrono::nanoseconds HISTORY_DURATION = 1s;
|
D | MessageQueue.cpp | 112 mVsync.lastCallbackTime = std::chrono::nanoseconds(vsyncTime); in vsyncCallback() 122 std::chrono::nanoseconds workDuration) { in initVsync() 134 void MessageQueue::setDuration(std::chrono::nanoseconds workDuration) { in setDuration() 217 const auto expectedWakeupTime = std::chrono::nanoseconds(*mVsync.expectedWakeupTime); in nextExpectedInvalidate()
|
D | OneShotTimer.cpp | 27 constexpr int64_t kNsToSeconds = std::chrono::duration_cast<std::chrono::nanoseconds>(1s).count(); 32 void calculateTimeoutTime(std::chrono::nanoseconds timestamp, timespec* spec) { in calculateTimeoutTime() 123 calculateTimeoutTime(std::chrono::nanoseconds(mInterval), &ts); in loop()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AudioClock.h | 82 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_MONOTONIC) { 83 if (nanoseconds > 0) { 85 time.tv_sec = nanoseconds / AAUDIO_NANOS_PER_SECOND; 87 time.tv_nsec = nanoseconds - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | SensorInputMapper.h | 88 std::chrono::nanoseconds samplingPeriod; 89 std::chrono::nanoseconds maxBatchReportLatency; 98 this->samplingPeriod = std::chrono::nanoseconds(0); in resetValue() 99 this->maxBatchReportLatency = std::chrono::nanoseconds(0); in resetValue()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockMessageQueue.h | 40 std::chrono::nanoseconds)); 41 MOCK_METHOD1(setDuration, void(std::chrono::nanoseconds workDuration));
|
D | MockEventThread.h | 41 void(std::chrono::nanoseconds workDuration, 42 std::chrono::nanoseconds readyDuration));
|
/frameworks/native/include/input/ |
D | InputApplication.h | 49 inline std::chrono::nanoseconds getDispatchingTimeout( in getDispatchingTimeout() 50 std::chrono::nanoseconds defaultValue) const { in getDispatchingTimeout()
|
D | InputWindow.h | 144 std::chrono::nanoseconds dispatchingTimeout = std::chrono::seconds(5); 240 inline std::chrono::nanoseconds getDispatchingTimeout( in getDispatchingTimeout() 241 std::chrono::nanoseconds defaultValue) const { in getDispatchingTimeout() 242 return mInfo.token ? std::chrono::nanoseconds(mInfo.dispatchingTimeout) : defaultValue; in getDispatchingTimeout()
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.h | 51 std::chrono::nanoseconds mSamplingDuration; 57 std::chrono::nanoseconds mSamplingPeriod; 61 std::chrono::nanoseconds mSamplingTimerTimeout;
|
D | TracedOrdinal.h | 27 return signbit(std::chrono::duration_cast<std::chrono::nanoseconds>(v).count()); in signbit() 49 std::is_same<std::chrono::nanoseconds, T>(),
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Flattener.h | 55 static const constexpr std::chrono::nanoseconds kDefaultCachedSetRenderDuration = 1500us; 61 const std::chrono::nanoseconds cachedSetRenderDuration; 203 std::chrono::nanoseconds mActiveLayerTimeout = kActiveLayerTimeout; 205 static constexpr auto kActiveLayerTimeout = std::chrono::nanoseconds(150ms);
|
/frameworks/native/libs/vr/libpdx/ |
D | encoder_performance_test.cpp | 105 using SerializeTestSignature = std::chrono::nanoseconds(MessageWriter* writer, 111 using DeserializeTestSignature = std::chrono::nanoseconds( 118 std::chrono::nanoseconds SerializeTestRunner(MessageWriter* writer, in SerializeTestRunner() 135 std::chrono::nanoseconds DeserializeTestRunner( in DeserializeTestRunner() 157 std::chrono::nanoseconds SerializeBaseTest(MessageWriter* writer, in SerializeBaseTest() 176 std::chrono::nanoseconds DeserializeBaseTest( in DeserializeBaseTest() 229 std::bind(static_cast<std::chrono::nanoseconds (*)( in AddSerializationTest() 241 std::bind(static_cast<std::chrono::nanoseconds (*)( in AddDeserializationTest() 259 std::bind(static_cast<std::chrono::nanoseconds (*)( in AddTest() 264 std::bind(static_cast<std::chrono::nanoseconds (*)( in AddTest()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioExampleUtils.h | 111 void convertNanosecondsToTimespec(int64_t nanoseconds, struct timespec *time) { in convertNanosecondsToTimespec() argument 112 time->tv_sec = nanoseconds / NANOS_PER_SECOND; in convertNanosecondsToTimespec() 114 time->tv_nsec = nanoseconds - (time->tv_sec * NANOS_PER_SECOND); in convertNanosecondsToTimespec()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 512 mTimeStats->recordFrameDuration(std::chrono::nanoseconds(1ms).count(), in TEST_F() 513 std::chrono::nanoseconds(6ms).count()); in TEST_F() 514 mTimeStats->recordFrameDuration(std::chrono::nanoseconds(1ms).count(), in TEST_F() 515 std::chrono::nanoseconds(16ms).count()); in TEST_F() 523 mTimeStats->recordRenderEngineDuration(std::chrono::nanoseconds(1ms).count(), in TEST_F() 526 std::chrono::nanoseconds>(3ms) in TEST_F() 529 mTimeStats->recordRenderEngineDuration(std::chrono::nanoseconds(4ms).count(), in TEST_F() 530 std::chrono::nanoseconds(8ms).count()); in TEST_F() 535 std::make_shared<FenceTime>(std::chrono::nanoseconds(1ms).count())); in TEST_F() 574 mTimeStats->recordFrameDuration(std::chrono::nanoseconds(1ms).count(), in TEST_F() [all …]
|
D | EventThreadTest.cpp | 55 void(std::chrono::nanoseconds workDuration, 56 std::chrono::nanoseconds readyDuration)); 88 void expectVSyncSetDurationCallReceived(std::chrono::nanoseconds expectedDuration, 89 std::chrono::nanoseconds expectedReadyDuration); 107 AsyncCallRecorder<void (*)(std::chrono::nanoseconds, std::chrono::nanoseconds)> 200 std::chrono::nanoseconds expectedDuration, std::chrono::nanoseconds expectedReadyDuration) { in expectVSyncSetDurationCallReceived()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | clock_ns.h | 38 static inline double NsToSec(int64_t nanoseconds) { in NsToSec() argument 39 return nanoseconds / static_cast<double>(kNanosPerSecond); in NsToSec()
|