/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | RSTestCore.java | 53 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/base/core/java/android/webkit/ |
D | HTML5VideoView.java | 65 protected static Timer mTimer; field in HTML5VideoView 76 if (mTimer == null) in start() 78 mTimer = new Timer(); in start() 79 mTimer.schedule(new TimeupdateTask(mProxy), TIMEUPDATE_PERIOD, in start() 94 if (mTimer != null) { in pause() 95 mTimer.purge(); in pause() 96 mTimer.cancel(); in pause() 97 mTimer = null; in pause() 160 mTimer = null; in init()
|
D | HTML5Audio.java | 82 private Timer mTimer; field in HTML5Audio 161 if (mTimer != null) { in onPrepared() 162 mTimer.schedule(new TimeupdateTask(), in onPrepared() 202 if (mTimer != null) { in resetMediaPlayer() 203 mTimer.cancel(); in resetMediaPlayer() 205 mTimer = new Timer(); in resetMediaPlayer() 288 if (mTimer != null) { in pause() 289 mTimer.purge(); in pause()
|
/frameworks/base/services/java/com/android/server/location/ |
D | LocationBasedCountryDetector.java | 55 protected Timer mTimer; field in LocationBasedCountryDetector 181 mTimer = new Timer(); in detectCountry() 182 mTimer.schedule(new TimerTask() { in detectCountry() 185 mTimer = null; in detectCountry() 210 if (mTimer != null) { in stop() 211 mTimer.cancel(); in stop() 212 mTimer = null; in stop()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | RgbPlayerActivity.java | 88 private Timer mTimer; field in RgbPlayerActivity.RgbView 151 mTimer = new Timer(); in RgbView() 164 mTimer.scheduleAtFixedRate(mImageTask, 0, 1000 / mFrameRate); in attachMediaController()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipService.java | 83 private SipWakeupTimer mTimer; field in SipService 130 mTimer = new SipWakeupTimer(context, mExecutor); in SipService() 497 mTimer, mMyWakeLock); in createSipSessionGroup() 695 mTimer.cancel(this); in stop() 774 mTimer.cancel(this); in run() 782 mTimer.cancel(this); in restartLater() 783 mTimer.set(interval * 1000, this); in restartLater() 910 mTimer.cancel(this); in stop() 991 mTimer.cancel(this); in restart() 992 mTimer.set(duration * 1000, this); in restart()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Vpn.java | 395 private long mTimer = -1; field in Vpn.LegacyVpnRunner 453 if (mTimer == -1) { in checkpoint() 454 mTimer = now; in checkpoint() 456 } else if (now - mTimer <= 60000) { in checkpoint()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationBasedCountryDetectorTest.java | 147 return mTimer; in getTimer()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3084 StopwatchTimer mTimer; field in BatteryStatsImpl.Uid.Sensor 3105 if (mTimer.reset(BatteryStatsImpl.this, true)) { in reset() 3106 mTimer = null; in reset() 3113 mTimer = readTimerFromParcel(unpluggables, in); in readFromParcelLocked() 3117 Timer.writeTimerToParcel(out, mTimer, batteryRealtime); in writeToParcelLocked() 3122 return mTimer; in getSensorTime() 3960 StopwatchTimer t = se.mTimer; in getSensorTimerLocked() 3970 se.mTimer = t; in getSensorTimerLocked() 5380 if (se.mTimer != null) { in writeSummaryToParcel() 5382 se.mTimer.writeSummaryFromParcelLocked(out, NOWREAL); in writeSummaryToParcel()
|