Home
last modified time | relevance | path

Searched refs:mTimer (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestCore.java53 private Timer mTimer; field in RSTestCore
113 mTimer = new Timer(); in init()
114 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
139 if (mTimer != null) { in checkAndRunNextTest()
140 mTimer.cancel(); in checkAndRunNextTest()
141 mTimer.purge(); in checkAndRunNextTest()
142 mTimer = null; in checkAndRunNextTest()
164 if (mTimer != null) { in cleanup()
165 mTimer.cancel(); in cleanup()
166 mTimer.purge(); in cleanup()
[all …]
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DRSTestCore.java53 private Timer mTimer; field in RSTestCore
117 mTimer = new Timer(); in init()
118 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
143 if (mTimer != null) { in checkAndRunNextTest()
144 mTimer.cancel(); in checkAndRunNextTest()
145 mTimer.purge(); in checkAndRunNextTest()
146 mTimer = null; in checkAndRunNextTest()
168 if (mTimer != null) { in cleanup()
169 mTimer.cancel(); in cleanup()
170 mTimer.purge(); in cleanup()
[all …]
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTestCore.java53 private Timer mTimer; field in RSTestCore
117 mTimer = new Timer(); in init()
118 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
143 if (mTimer != null) { in checkAndRunNextTest()
144 mTimer.cancel(); in checkAndRunNextTest()
145 mTimer.purge(); in checkAndRunNextTest()
146 mTimer = null; in checkAndRunNextTest()
168 if (mTimer != null) { in cleanup()
169 mTimer.cancel(); in cleanup()
170 mTimer.purge(); in cleanup()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DTimerTest.cpp39 TestableTimer mTimer; member
46 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
54 mTimer.makeEpollError(); in TEST_F()
55 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DLocationBasedCountryDetector.java56 protected Timer mTimer; field in LocationBasedCountryDetector
199 mTimer = new Timer(); in detectCountry()
200 mTimer.schedule(new TimerTask() { in detectCountry()
203 mTimer = null; in detectCountry()
228 if (mTimer != null) { in stop()
229 mTimer.cancel(); in stop()
230 mTimer = null; in stop()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java66 private final Timer mTimer; field in AmbientBrightnessStatsTracker
80 mTimer = new Timer(() -> mInjector.elapsedRealtimeMillis()); in AmbientBrightnessStatsTracker()
85 mTimer.reset(); in start()
86 mTimer.start(); in start()
90 if (mTimer.isRunning()) { in stop()
92 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in stop()
94 mTimer.reset(); in stop()
99 if (mTimer.isRunning()) { in add()
102 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in add()
109 mTimer.reset(); in add()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java37 private StopWatchMap mTimer = null; field in ShaderProgram
40 mTimer = new StopWatchMap(); in setTimer()
88 if (mTimer.LOG_MFF_RUNNING_TIMES) { in process()
89 mTimer.start("glFinish"); in process()
91 mTimer.stop("glFinish"); in process()
125 if (mTimer.LOG_MFF_RUNNING_TIMES) { in process()
DSyncRunner.java39 private StopWatchMap mTimer = null; field in SyncRunner
76 mTimer = new StopWatchMap(); in SyncRunner()
211 mTimer.start(filter.getName()); in performStep()
213 mTimer.stop(filter.getName()); in performStep()
DGLFrame.java29 private static StopWatchMap mTimer = null; field in GLFrameTimer
32 if (mTimer == null) { in get()
33 mTimer = new StopWatchMap(); in get()
35 return mTimer; in get()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalWatchdog.java39 private final @NonNull UptimeTimer mTimer; field in SoundTriggerHalWatchdog
43 mTimer = new UptimeTimer("SoundTriggerHalWatchdog"); in SoundTriggerHalWatchdog()
164 mTimer.quit(); in detach()
174 mTask = mTimer.createTask(() -> { in Watchdog()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DALSProbe.java47 private final Handler mTimer; field in ALSProbe
100 mTimer = handler; in ALSProbe()
218 mTimer.removeCallbacksAndMessages(this /* token */); in resetTimerLocked()
220 mTimer.postDelayed(this::onTimeout, this /* token */, mMaxSubscriptionTime); in resetTimerLocked()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java49 private Timer mTimer; field in MainActivity
64 mTimer = new Timer(); in onPermissionOK()
66 mTimer.scheduleAtFixedRate(new TimerTask() { in onPermissionOK()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMainActivity.java43 private Timer mTimer; field in MainActivity
77 mTimer = new Timer(); in onCreate()
79 mTimer.scheduleAtFixedRate(new TimerTask() { in onCreate()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java88 private Timer mTimer; field in RgbPlayerActivity.RgbView
151 mTimer = new Timer(); in RgbView()
164 mTimer.scheduleAtFixedRate(mImageTask, 0, 1000 / mFrameRate); in attachMediaController()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java76 private SipWakeupTimer mTimer; field in SipService
127 mTimer = new SipWakeupTimer(context, mExecutor); in SipService()
494 localProfile.getPassword(), mTimer, mMyWakeLock); in SipSessionGroupExt()
696 mTimer.cancel(this); in stop()
776 mTimer.cancel(this); in run()
783 mTimer.cancel(this); in restartLater()
784 mTimer.set(interval * 1000, this); in restartLater()
926 mTimer.cancel(this); in stop()
1007 mTimer.cancel(this); in restart()
1008 mTimer.set(duration * 1000, this); in restart()
/frameworks/native/libs/renderengine/skia/debug/
DSkiaCapture.cpp47 mTimer.stop(); in ~SkiaCapture()
63 mTimer.setTimeout( in tryCapture()
DSkiaCapture.h84 CaptureTimer mTimer; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DLocationBasedCountryDetectorTest.java147 return mTimer; in getTimer()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java8975 final StopwatchTimer timer = sensor.mTimer; in markGnssTimeUs()
10192 DualTimer mTimer; field in BatteryStatsImpl.Uid.Sensor
10215 if (mTimer.reset(true, elapsedRealtimeUs)) { in reset()
10216 mTimer = null; in reset()
10223 mTimer = readTimersFromParcel(timeBase, bgTimeBase, in); in readFromParcelLocked()
10227 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked()
10232 return mTimer; in getSensorTime()
10237 if (mTimer == null) { in getSensorBackgroundTime()
10240 return mTimer.getSubTimer(); in getSensorBackgroundTime()
10249 detachIfNotNull(mTimer); in detachFromTimeBase()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java5156 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry
5161 mTimer = timer; in TimerEntry()
5979 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked()
6001 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
6026 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15735 Landroid/filterfw/core/ShaderProgram;->mTimer:Landroid/filterfw/core/StopWatchMap;
15823 Landroid/filterfw/core/SyncRunner;->mTimer:Landroid/filterfw/core/StopWatchMap;
34373 Landroid/os/BatteryStats$TimerEntry;->mTimer:Landroid/os/BatteryStats$Timer;
73152 Lcom/android/internal/os/BatteryStatsImpl$Uid$Sensor;->mTimer:Lcom/android/internal/os/BatteryStats…