Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/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/java/tests/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/java/tests/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/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DRSTestCore.java50 private Timer mTimer; field in RSTestCore
133 mTimer = new Timer(); in init()
134 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
166 if (mTimer != null) { in checkAndRunNextTest()
167 mTimer.cancel(); in checkAndRunNextTest()
168 mTimer.purge(); in checkAndRunNextTest()
169 mTimer = null; in checkAndRunNextTest()
184 if (mTimer != null) { in cleanup()
185 mTimer.cancel(); in cleanup()
186 mTimer.purge(); in cleanup()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DRSTestCore.java50 private Timer mTimer; field in RSTestCore
139 mTimer = new Timer(); in init()
140 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
172 if (mTimer != null) { in checkAndRunNextTest()
173 mTimer.cancel(); in checkAndRunNextTest()
174 mTimer.purge(); in checkAndRunNextTest()
175 mTimer = null; in checkAndRunNextTest()
190 if (mTimer != null) { in cleanup()
191 mTimer.cancel(); in cleanup()
192 mTimer.purge(); in cleanup()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DRSTestCore.java50 private Timer mTimer; field in RSTestCore
152 mTimer = new Timer(); in init()
153 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
185 if (mTimer != null) { in checkAndRunNextTest()
186 mTimer.cancel(); in checkAndRunNextTest()
187 mTimer.purge(); in checkAndRunNextTest()
188 mTimer = null; in checkAndRunNextTest()
203 if (mTimer != null) { in cleanup()
204 mTimer.cancel(); in cleanup()
205 mTimer.purge(); in cleanup()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
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/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java41 private StopWatchMap mTimer = null; field in ShaderProgram
44 mTimer = new StopWatchMap(); in setTimer()
89 if (mTimer.LOG_MFF_RUNNING_TIMES) { in process()
90 mTimer.start("glFinish"); in process()
92 mTimer.stop("glFinish"); in process()
126 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.java33 private static StopWatchMap mTimer = null; field in GLFrameTimer
36 if (mTimer == null) { in get()
37 mTimer = new StopWatchMap(); in get()
39 return mTimer; in get()
/frameworks/rs/java/tests/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.java75 private SipWakeupTimer mTimer; field in SipService
126 mTimer = new SipWakeupTimer(context, mExecutor); in SipService()
492 localProfile.getPassword(), mTimer, mMyWakeLock); in SipSessionGroupExt()
694 mTimer.cancel(this); in stop()
774 mTimer.cancel(this); in run()
781 mTimer.cancel(this); in restartLater()
782 mTimer.set(interval * 1000, this); in restartLater()
924 mTimer.cancel(this); in stop()
1005 mTimer.cancel(this); in restart()
1006 mTimer.set(duration * 1000, this); in restart()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DFocusManager.java342 private Timer mTimer; field in FocusManager.TitleSearchHelper
424 mTimer = new Timer(); in search()
447 mTimer.schedule(new TimeoutTask(), 0, SEARCH_TIMEOUT / 2); in search()
461 mTimer.cancel(); in endSearch()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java650 private int mTimer; field in DhcpClient.PacketRetransmittingState
690 mTimer = FIRST_TIMEOUT_MS; in initTimer()
701 long timeout = jitterTimer(mTimer); in scheduleKick()
704 mTimer *= 2; in scheduleKick()
705 if (mTimer > MAX_TIMEOUT_MS) { in scheduleKick()
706 mTimer = MAX_TIMEOUT_MS; in scheduleKick()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1480 private long mTimer = -1; field in Vpn.LegacyVpnRunner
1569 if (mTimer == -1) { in checkpoint()
1570 mTimer = now; in checkpoint()
1572 } else if (now - mTimer <= 60000) { in checkpoint()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java147 return mTimer; in getTimer()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6512 StopwatchTimer mTimer; field in BatteryStatsImpl.Uid.Sensor
6534 if (mTimer.reset(true)) { in reset()
6535 mTimer = null; in reset()
6542 mTimer = readTimerFromParcel(timeBase, in); in readFromParcelLocked()
6546 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked()
6551 return mTimer; in getSensorTime()
7382 StopwatchTimer t = se.mTimer; in getSensorTimerLocked()
7393 se.mTimer = t; in getSensorTimerLocked()
10764 if (se.mTimer != null) { in writeSummaryToParcel()
10766 se.mTimer.writeSummaryFromParcelLocked(out, NOWREAL_SYS); in writeSummaryToParcel()
/frameworks/base/core/java/android/os/
DBatteryStats.java3311 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry
3316 mTimer = timer; in TimerEntry()
4039 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked()
4061 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
4086 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()