/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.kt | 62 private var mTimer: Timer? = null variable 84 if (mTimer !== timer) { in update() 85 mTimer = timer in update() 91 if (mTimer == null) { in onDraw() 107 mTimer!!.isReset -> { in onDraw() 114 mTimer!!.isExpired -> { in onDraw() 130 mTimer!!.elapsedTime.toFloat() / mTimer!!.totalLength.toFloat()) in onDraw() 149 if (mTimer!!.isRunning) { in onDraw()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeService.java | 58 private CountDownTimer mTimer = null; field in EmergencyCallbackModeService 112 mTimer.cancel(); in onDestroy() 150 if (mTimer != null) { in startTimerNotification() 151 mTimer.cancel(); in startTimerNotification() 153 mTimer = new CountDownTimer(ecmTimeout, 1000) { in startTimerNotification() 167 mTimer.start(); in startTimerNotification() 178 if (mTimer != null) { in showNotification() 179 mTimer.cancel(); in showNotification() 240 mTimer.cancel(); in resetEcmTimer()
|
D | EmergencyCallbackModeExitDialog.java | 66 CountDownTimer mTimer = null; field in EmergencyCallbackModeExitDialog 212 mTimer = new CountDownTimer(mEcmTimeout, 1000) { in showEmergencyCallbackModeExitDialog() 249 mTimer.cancel(); in onCreateDialog()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | SystemTimer.java | 27 private Timer mTimer = new Timer(); field in SystemTimer 31 mTimer.cancel(); in reset() 32 mTimer = new Timer(); in reset() 37 mTimer.schedule(task, delay); in schedule() 42 mTimer.cancel(); in cancel()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestHandler.java | 30 private TestTimer mTimer = new TestTimer(); field in TestHandler 46 return mTimer.hasScheduledTask(); in hasScheduledMessage() 50 mTimer.fastForwardToNextTask(); in dispatchNextMessage() 52 mTimeDelta = mTimer.getNow() - SystemClock.uptimeMillis(); in dispatchNextMessage() 71 mTimer.scheduleAtTime(new TestTimer.Task(task), uptimeMillis + mTimeDelta); in sendMessageAtTime()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 70 private Timer mTimer; field in InstrumentClusterFragment 240 if (mTimer == null) { in toggleSendTurn() 248 if (mTimer != null) { in startSendTurn() 256 mTimer = new Timer(); in startSendTurn() 257 mTimer.schedule(new TimerTask() { in startSendTurn() 270 if (mTimer != null) { in stopSendTurn() 271 mTimer.cancel(); in stopSendTurn() 272 mTimer = null; in stopSendTurn()
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/components/ |
D | MetricDisplay.java | 73 @Nullable private Timer mTimer; field in MetricDisplay 113 mTimer = new Timer(); in startWatching() 116 mTimer.schedule( in startWatching() 129 if (mTimer == null) { in stopWatching() 135 mTimer.cancel(); in stopWatching()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | LooperStub.h | 41 LooperStub() : mHandler(nullptr), mShouldPoll(false), mTimer(0) {} in LooperStub() 43 nsecs_t now() override { return mTimer.count(); } in now() 80 std::chrono::nanoseconds mTimer; variable
|
D | LooperStub.cpp | 49 mElapsedTime = mTimer; in pollAll() 51 mTimer += 1s; // Each empty entry in the cache is a second elapsed. in pollAll() 54 mElapsedTime = mTimer - mElapsedTime; in pollAll()
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | MainActivity.java | 40 private final Timer mTimer = new Timer("com.google.android.car.obd2app.collection"); field in MainActivity 76 mTimer.purge(); in stopConnection() 109 mTimer.scheduleAtFixedRate(mCollectionTask, delay, delay); in handleConnection()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 448 private Timer mTimer; field in FocusManager.TitleSearchHelper 530 mTimer = new Timer(); in search() 558 mTimer.schedule(new TimeoutTask(), 0, SEARCH_TIMEOUT / 2); in search() 570 mTimer.cancel(); in endSearch()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchViewManager.java | 74 private final Timer mTimer; field in SearchViewManager 118 mTimer = timer; in SearchViewManager() 543 mTimer.schedule(mQueuedSearchTask, SEARCH_DELAY_MS);
|
/packages/services/Car/service/src/com/android/car/power/ |
D | CarPowerManagementService.java | 183 private Timer mTimer; field in CarPowerManagementService 771 if (mTimer != null) { in releaseTimerLocked() 772 mTimer.cancel(); in releaseTimerLocked() 774 mTimer = null; in releaseTimerLocked() 806 mTimer = new Timer(); in doHandlePreprocessing() 808 mTimer.scheduleAtFixedRate( in doHandlePreprocessing()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1146 private int mTimer; field in DhcpClient.PacketRetransmittingState 1185 mTimer = FIRST_TIMEOUT_MS; in initTimer() 1196 long timeout = jitterTimer(mTimer); in scheduleKick() 1199 mTimer *= 2; in scheduleKick() 1200 if (mTimer > MAX_TIMEOUT_MS) { in scheduleKick() 1201 mTimer = MAX_TIMEOUT_MS; in scheduleKick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 112 private BatteryStats.Timer mTimer; field in BatteryUtilsTest 274 doReturn(mTimer).when(mUid).getForegroundActivityTimer(); in testGetForegroundActivityTotalTimeMs_returnMilliseconds() 275 doReturn(TIME_SINCE_LAST_FULL_CHARGE_US).when(mTimer) in testGetForegroundActivityTotalTimeMs_returnMilliseconds()
|