Home
last modified time | relevance | path

Searched refs:wakeupTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DCpuWakeupStatsTest.java153 final long wakeupTime = mRandom.nextLong(123456); in irqAttributionAllCombinations() local
163 obj.noteWakingActivity(subsystems[i], wakeupTime + 2, uids[i]); in irqAttributionAllCombinations()
165 obj.noteWakeupTimeAndReason(wakeupTime, 1, combinedKernelReason); in irqAttributionAllCombinations()
169 final SparseArray<SparseIntArray> attribution = obj.mWakeupAttribution.get(wakeupTime); in irqAttributionAllCombinations()
193 final long wakeupTime = 12423121; in alarmIrqAttributionSolo() local
197 obj.noteWakeupTimeAndReason(wakeupTime, 1, KERNEL_REASON_ALARM_IRQ); in alarmIrqAttributionSolo()
201 wakeupTime - obj.mConfig.WAKEUP_MATCHING_WINDOW_MS - 1, TEST_UID_1); in alarmIrqAttributionSolo()
203 wakeupTime + obj.mConfig.WAKEUP_MATCHING_WINDOW_MS + 1, TEST_UID_2); in alarmIrqAttributionSolo()
205 obj.noteWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, wakeupTime + 5, TEST_UID_3, TEST_UID_5); in alarmIrqAttributionSolo()
207 final SparseArray<SparseIntArray> attribution = obj.mWakeupAttribution.get(wakeupTime); in alarmIrqAttributionSolo()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp48 if (!ATRACE_ENABLED() || !entry.wakeupTime().has_value() || !entry.targetVsync().has_value()) { in traceEntry()
53 ns2us(*entry.wakeupTime() - now), "us; VSYNC in ", in traceEntry()
78 std::optional<nsecs_t> VSyncDispatchTimerQueueEntry::wakeupTime() const { in wakeupTime() function in android::scheduler::VSyncDispatchTimerQueueEntry
319 if (!callback->wakeupTime() && !callback->hasPendingWorkloadUpdate()) { in rearmTimerSkippingUpdateFor()
329 const auto wakeupTime = *callback->wakeupTime(); in rearmTimerSkippingUpdateFor() local
330 if (!min || *min > wakeupTime) { in rearmTimerSkippingUpdateFor()
332 min = wakeupTime; in rearmTimerSkippingUpdateFor()
364 auto const wakeupTime = callback->wakeupTime(); in timerCallback() local
365 if (!wakeupTime) { in timerCallback()
373 if (*wakeupTime < mIntendedWakeupTime + mTimerSlack + lagAllowance) { in timerCallback()
[all …]
DVSyncDispatchTimerQueue.h57 std::optional<nsecs_t> wakeupTime() const;
DEventThread.cpp423 void EventThread::onVsync(nsecs_t vsyncTime, nsecs_t wakeupTime, nsecs_t readyTime) { in onVsync() argument
429 mPendingEvents.push_back(makeVSync(mVSyncState->displayId, wakeupTime, ++mVSyncState->count, in onVsync()
804 return [this](nsecs_t vsyncTime, nsecs_t wakeupTime, nsecs_t readyTime) { in createDispatchCallback() argument
805 onVsync(vsyncTime, wakeupTime, readyTime); in createDispatchCallback()
DEventThread.h202 void onVsync(nsecs_t vsyncTime, nsecs_t wakeupTime, nsecs_t readyTime);
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp1237 EXPECT_FALSE(entry.wakeupTime()); in TEST_F()
1244 EXPECT_FALSE(entry.wakeupTime()); in TEST_F()
1250 auto const wakeup = entry.wakeupTime(); in TEST_F()
1255 EXPECT_FALSE(entry.wakeupTime()); in TEST_F()
1269 EXPECT_FALSE(entry.wakeupTime()); in TEST_F()
1275 auto const wakeup = entry.wakeupTime(); in TEST_F()
1287 [&](auto vsyncTime, auto wakeupTime, auto readyTime) { in TEST_F() argument
1290 wakeupCalledTime = wakeupTime; in TEST_F()
1300 auto const wakeup = entry.wakeupTime(); in TEST_F()
1313 EXPECT_FALSE(entry.wakeupTime()); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/FrameTimeline/
DFrameTimeline.h313 virtual void setSfWakeUp(int64_t token, nsecs_t wakeupTime, Fps refreshRate,
483 void setSfWakeUp(int64_t token, nsecs_t wakeupTime, Fps refreshRate, Fps renderRate) override;