/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/native/services/surfaceflinger/Scheduler/tests/ |
D | TimerTest.cpp | 39 TestableTimer mTimer; member 46 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F() 54 mTimer.makeEpollError(); in TEST_F() 55 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
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 | 66 private final Timer mTimer; field in AmbientBrightnessStatsTracker 80 mTimer = new Timer(() -> mInjector.elapsedRealtimeMillis()); in AmbientBrightnessStatsTracker() 85 mTimer.reset(); in start() 86 mTimer.start(); in start() 90 if (mTimer.isRunning()) { in stop() 92 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in stop() 94 mTimer.reset(); in stop() 99 if (mTimer.isRunning()) { in add() 102 mCurrentAmbientBrightness, mTimer.totalDurationSec()); in add() 109 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/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerHalWatchdog.java | 39 private final @NonNull UptimeTimer mTimer; field in SoundTriggerHalWatchdog 43 mTimer = new UptimeTimer("SoundTriggerHalWatchdog"); in SoundTriggerHalWatchdog() 164 mTimer.quit(); in detach() 174 mTask = mTimer.createTask(() -> { in Watchdog()
|
/frameworks/base/services/core/java/com/android/server/biometrics/log/ |
D | ALSProbe.java | 47 private final Handler mTimer; field in ALSProbe 100 mTimer = handler; in ALSProbe() 218 mTimer.removeCallbacksAndMessages(this /* token */); in resetTimerLocked() 220 mTimer.postDelayed(this::onTimeout, this /* token */, mMaxSubscriptionTime); in resetTimerLocked()
|
/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/native/libs/renderengine/skia/debug/ |
D | SkiaCapture.cpp | 47 mTimer.stop(); in ~SkiaCapture() 63 mTimer.setTimeout( in tryCapture()
|
D | SkiaCapture.h | 84 CaptureTimer mTimer; variable
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/ |
D | LocationBasedCountryDetectorTest.java | 147 return mTimer; in getTimer()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 8975 final StopwatchTimer timer = sensor.mTimer; in markGnssTimeUs() 10192 DualTimer mTimer; field in BatteryStatsImpl.Uid.Sensor 10215 if (mTimer.reset(true, elapsedRealtimeUs)) { in reset() 10216 mTimer = null; in reset() 10223 mTimer = readTimersFromParcel(timeBase, bgTimeBase, in); in readFromParcelLocked() 10227 Timer.writeTimerToParcel(out, mTimer, elapsedRealtimeUs); in writeToParcelLocked() 10232 return mTimer; in getSensorTime() 10237 if (mTimer == null) { in getSensorBackgroundTime() 10240 return mTimer.getSubTimer(); in getSensorBackgroundTime() 10249 detachIfNotNull(mTimer); in detachFromTimeBase() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 5156 final BatteryStats.Timer mTimer; field in BatteryStats.TimerEntry 5161 mTimer = timer; in TimerEntry() 5979 linePrefix = printWakeLock(sb, timer.mTimer, rawRealtime, null, in dumpLocked() 6001 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked() 6026 printWakeLock(sb, timer.mTimer, rawRealtime, null, which, ": "); in dumpLocked()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 15735 Landroid/filterfw/core/ShaderProgram;->mTimer:Landroid/filterfw/core/StopWatchMap; 15823 Landroid/filterfw/core/SyncRunner;->mTimer:Landroid/filterfw/core/StopWatchMap; 34373 Landroid/os/BatteryStats$TimerEntry;->mTimer:Landroid/os/BatteryStats$Timer; 73152 Lcom/android/internal/os/BatteryStatsImpl$Uid$Sensor;->mTimer:Lcom/android/internal/os/BatteryStats…
|