Home
last modified time | relevance | path

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

/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
DRSoVTestCore.java48 private Timer mTimer; field in RSoVTestCore
90 mTimer = new Timer(); in init()
91 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
121 if (mTimer != null) { in checkAndRunNextTest()
122 mTimer.cancel(); in checkAndRunNextTest()
123 mTimer.purge(); in checkAndRunNextTest()
124 mTimer = null; in checkAndRunNextTest()
139 if (mTimer != null) { in cleanup()
140 mTimer.cancel(); in cleanup()
141 mTimer.purge(); in cleanup()
[all …]
/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/rs/tests/java_api/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/tests/java_api/RsTest/src/com/android/rs/test/
DRSTestCore.java48 private Timer mTimer; field in RSTestCore
151 mTimer = new Timer(); in init()
152 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
182 if (mTimer != null) { in checkAndRunNextTest()
183 mTimer.cancel(); in checkAndRunNextTest()
184 mTimer.purge(); in checkAndRunNextTest()
185 mTimer = null; in checkAndRunNextTest()
200 if (mTimer != null) { in cleanup()
201 mTimer.cancel(); in cleanup()
202 mTimer.purge(); in cleanup()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
DRSTestCore.java50 private Timer mTimer; field in RSTestCore
143 mTimer = new Timer(); in init()
144 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init()
176 if (mTimer != null) { in checkAndRunNextTest()
177 mTimer.cancel(); in checkAndRunNextTest()
178 mTimer.purge(); in checkAndRunNextTest()
179 mTimer = null; in checkAndRunNextTest()
194 if (mTimer != null) { in cleanup()
195 mTimer.cancel(); in cleanup()
196 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/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.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/services/net/java/android/net/dhcp/
DDhcpClient.java681 private int mTimer; field in DhcpClient.PacketRetransmittingState
723 mTimer = FIRST_TIMEOUT_MS; in initTimer()
734 long timeout = jitterTimer(mTimer); in scheduleKick()
737 mTimer *= 2; in scheduleKick()
738 if (mTimer > MAX_TIMEOUT_MS) { in scheduleKick()
739 mTimer = MAX_TIMEOUT_MS; in scheduleKick()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1542 private long mTimer = -1; field in Vpn.LegacyVpnRunner
1646 if (mTimer == -1) { in checkpoint()
1647 mTimer = now; in checkpoint()
1649 } 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.java7522 DualTimer mTimer; field in BatteryStatsImpl.Uid.Sensor
7545 if (mTimer.reset(true)) { in reset()
7546 mTimer = null; in reset()
7553 mTimer = readTimersFromParcel(timeBase, bgTimeBase, in); in readFromParcelLocked()
7557 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked()
7562 return mTimer; in getSensorTime()
7567 if (mTimer == null) { in getSensorBackgroundTime()
7570 return mTimer.getSubTimer(); in getSensorBackgroundTime()
8422 DualTimer t = se.mTimer; in getSensorTimerLocked()
8433 se.mTimer = t; in getSensorTimerLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java3689 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry
3694 mTimer = timer; in TimerEntry()
4457 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked()
4479 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
4504 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()