Home
last modified time | relevance | path

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

/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMockMediaPlayer.java32 private Timer mTimer; field in MockMediaPlayer
42 mTimer = new Timer(); in start()
43 mTimer.scheduleAtFixedRate(new TimerTask() { in start()
71 if (mTimer != null) { in pause()
72 mTimer.cancel(); in pause()
74 mTimer = null; in pause()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScheduledRunMetricListener.java39 private Timer mTimer; field in ScheduledRunMetricListener
53 mTimer = new Timer(); in onTestRunStart()
61 mTimer.cancel(); in onTestRunStart()
68 mTimer.scheduleAtFixedRate(timerTask, 0, getIntervalFromArgs()); in onTestRunStart()
73 if (mTimer != null) { in onTestRunEnd()
74 mTimer.cancel(); in onTestRunEnd()
75 mTimer.purge(); in onTestRunEnd()
/platform_testing/libraries/collectors-helper/lyric/src/com/android/helpers/
DLyricMemProfilerHelper.java103 private Timer mTimer; field in LyricMemProfilerHelper
169 if (null == mTimer) { in startCollecting()
174 mTimer = new Timer(); in startCollecting()
186 mTimer.schedule( in startCollecting()
265 if (null != mTimer) { in stopCollecting()
266 mTimer.cancel(); in stopCollecting()
328 if (null != mTimer) { in processOutput()