/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
D | RSoVTestCore.java | 48 private Timer mTimer; field in RSoVTestCore 91 mTimer = new Timer(); in init() 92 mTimer.schedule(pTask, RS_TIMER_PERIOD, RS_TIMER_PERIOD); in init() 122 if (mTimer != null) { in checkAndRunNextTest() 123 mTimer.cancel(); in checkAndRunNextTest() 124 mTimer.purge(); in checkAndRunNextTest() 125 mTimer = null; in checkAndRunNextTest() 140 if (mTimer != null) { in cleanup() 141 mTimer.cancel(); in cleanup() 142 mTimer.purge(); in cleanup() [all …]
|
/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/support/wear/src/main/java/androidx/wear/widget/ |
D | CircularProgressLayoutController.java | 30 @VisibleForTesting CountDownTimer mTimer; field in CircularProgressLayoutController 90 mTimer = new CircularProgressTimer(totalTime, updateInterval); in startTimer() 91 mTimer.start(); in startTimer() 96 mTimer.cancel(); in stopTimer()
|
/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 | 41 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()
|
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 | 33 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/ |
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 | 75 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/ |
D | DhcpClient.java | 683 private int mTimer; field in DhcpClient.PacketRetransmittingState 725 mTimer = FIRST_TIMEOUT_MS; in initTimer() 736 long timeout = jitterTimer(mTimer); in scheduleKick() 739 mTimer *= 2; in scheduleKick() 740 if (mTimer > MAX_TIMEOUT_MS) { in scheduleKick() 741 mTimer = MAX_TIMEOUT_MS; in scheduleKick()
|
/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 | 9018 DualTimer mTimer; field in BatteryStatsImpl.Uid.Sensor 9041 if (mTimer.reset(true)) { in reset() 9042 mTimer = null; in reset() 9049 mTimer = readTimersFromParcel(timeBase, bgTimeBase, in); in readFromParcelLocked() 9053 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked() 9058 return mTimer; in getSensorTime() 9063 if (mTimer == null) { in getSensorBackgroundTime() 9066 return mTimer.getSubTimer(); in getSensorBackgroundTime() 9933 DualTimer t = se.mTimer; in getSensorTimerLocked() 9944 se.mTimer = t; in getSensorTimerLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4290 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry 4295 mTimer = timer; in TimerEntry() 5167 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked() 5189 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked() 5214 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
|