/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 53 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/ |
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/rs/tests/java_api/RsTest_16/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/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | RSTestCore.java | 50 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/base/services/core/java/com/android/server/location/ |
D | LocationBasedCountryDetector.java | 56 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/ |
D | AmbientBrightnessStatsTracker.java | 62 private final Timer mTimer; field in AmbientBrightnessStatsTracker 76 mTimer = new Timer(() -> mInjector.elapsedRealtimeMillis()); in AmbientBrightnessStatsTracker() 81 mTimer.reset(); in start() 82 mTimer.start(); in start() 86 if (mTimer.isRunning()) { in stop() 88 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in stop() 90 mTimer.reset(); in stop() 95 if (mTimer.isRunning()) { in add() 98 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in add() 105 mTimer.reset(); in add() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 37 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()
|
D | SyncRunner.java | 39 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()
|
D | GLFrame.java | 29 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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 49 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/ |
D | MainActivity.java | 43 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/ |
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/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 76 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/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 | 8826 DualTimer mTimer; field in BatteryStatsImpl.Uid.Sensor 8849 if (mTimer.reset(true)) { in reset() 8850 mTimer = null; in reset() 8857 mTimer = readTimersFromParcel(timeBase, bgTimeBase, in); in readFromParcelLocked() 8861 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked() 8867 return mTimer; in getSensorTime() 8872 if (mTimer == null) { in getSensorBackgroundTime() 8875 return mTimer.getSubTimer(); in getSensorBackgroundTime() 8885 detachIfNotNull(mTimer); in detachFromTimeBase() 9581 DualTimer t = se.mTimer; in getSensorTimerLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4463 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry 4468 mTimer = timer; in TimerEntry() 5326 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked() 5348 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked() 5373 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 18622 Landroid/filterfw/core/ShaderProgram;->mTimer:Landroid/filterfw/core/StopWatchMap; 18710 Landroid/filterfw/core/SyncRunner;->mTimer:Landroid/filterfw/core/StopWatchMap; 48855 Landroid/os/BatteryStats$TimerEntry;->mTimer:Landroid/os/BatteryStats$Timer; 88224 Lcom/android/internal/os/BatteryStatsImpl$Uid$Sensor;->mTimer:Lcom/android/internal/os/BatteryStats…
|