Home
last modified time | relevance | path

Searched refs:mNow (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp83 nsecs_t now() const override { return mNow; } in now()
84 void setNow(nsecs_t now) { mNow = now; } in setNow()
87 nsecs_t mNow = 0; member in android::scheduler::__anon3b98a04b0111::TestClock
103 nsecs_t mNow = 0; member
133 tracker.addVsyncTimestamp(mNow += mPeriod); in TEST_F()
140 tracker.addVsyncTimestamp(mNow += mPeriod); in TEST_F()
150 tracker.addVsyncTimestamp(mNow += changedPeriod); in TEST_F()
156 auto last = mNow; in TEST_F()
159 EXPECT_THAT(tracker.nextAnticipatedVSyncTimeFrom(mNow), Eq(last + mPeriod)); in TEST_F()
160 mNow += mPeriod - bias; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/fake/
DFakeClock.h26 std::chrono::steady_clock::time_point now() const override { return mNow; } in now()
28 void advanceTime(std::chrono::nanoseconds delta) { mNow += delta; } in advanceTime()
31 std::chrono::steady_clock::time_point mNow;
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncModulator.cpp40 mNow(now), in VsyncModulator()
80 mEarlyTransactionStartTime = mNow(); in setTransactionSchedule()
92 mLastTransactionCommitTime = mNow(); in onTransactionCommit()
DVsyncModulator.h107 const Now mNow; variable
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DShutdownCheckPointsTest.java370 private long mNow; field in ShutdownCheckPointsTest.TestInjector
376 mNow = 0; in TestInjector()
384 return mNow; in currentTimeMillis()
403 mNow = time; in setCurrentTime()
/frameworks/base/core/java/android/widget/
DChronometer.java76 private long mNow; // the currently displayed time field in Chronometer
291 mNow = now; in updateText()
392 return formatDuration(mNow - mBase); in getContentDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.kt83 private var mNow: Long = -1 in <lambda>() variable in com.android.systemui.statusbar.notification.collection.coordinator.HeadsUpCoordinator
110 mNow = mSystemClock.currentTimeMillis() in <lambda>()
385 mEntriesBindingUntil[posted.key] = mNow + BIND_TIMEOUT in <lambda>()
721 return bindingUntil != null && bindingUntil >= mNow in <lambda>()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java451 private long mNow; field in GraphRunner.LruScheduler
467 mNow = SystemClock.elapsedRealtime(); in beginStep()
475 return mNow - filter.getLastScheduleTime(); in priorityForFilter()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjusterModernImpl.java603 long mNow; field in OomAdjusterModernImpl.OomAdjusterArgs
612 mNow = now; in update()
679 final long now = mArgs.mNow; in accept()
711 final long now = args.mNow; in accept()
1163 final long now = args.mNow; in computeOomAdjIgnoringReachablesLSP()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1778 private final long mNow = System.currentTimeMillis(); field in HistoricalRegistry.StringDumpVisitor
1824 TimeUtils.formatDuration(ops.getBeginTimeMillis() - mNow, mWriter); in visitHistoricalOps()
1831 TimeUtils.formatDuration(ops.getEndTimeMillis() - mNow, mWriter); in visitHistoricalOps()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp1054 return mNow; in now()
1058 mNow = now; in setNow()
1064 nsecs_t mNow = 0; member in android::TestSurface
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt65882 Landroid/widget/Chronometer;->mNow:J