/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.java | 57 private Timer mTimer; field in TimerCircleView 86 if (mTimer != timer) { in update() 87 mTimer = timer; in update() 94 if (mTimer == null) { in onDraw() 109 if (mTimer.isReset()) { in onDraw() 115 } else if (mTimer.isExpired()) { in onDraw() 129 … redPercent = Math.min(1, (float) mTimer.getElapsedTime() / (float) mTimer.getTotalLength()); in onDraw() 147 if (mTimer.isRunning()) { in onDraw()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeService.java | 57 private CountDownTimer mTimer = null; field in EmergencyCallbackModeService 110 mTimer.cancel(); in onDestroy() 149 if (mTimer != null) { in startTimerNotification() 150 mTimer.cancel(); in startTimerNotification() 152 mTimer = new CountDownTimer(ecmTimeout, 1000) { in startTimerNotification() 166 mTimer.start(); in startTimerNotification() 177 if (mTimer != null) { in showNotification() 178 mTimer.cancel(); in showNotification() 230 mTimer.cancel(); in resetEcmTimer()
|
D | EmergencyCallbackModeExitDialog.java | 63 CountDownTimer mTimer = null; field in EmergencyCallbackModeExitDialog 196 mTimer = new CountDownTimer(mEcmTimeout, 1000) { in showEmergencyCallbackModeExitDialog() 233 mTimer.cancel(); in onCreateDialog()
|
/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 | 72 private Timer mTimer; field in InstrumentClusterFragment 238 if (mTimer == null) { in toggleSendTurn() 246 if (mTimer != null) { in startSendTurn() 254 mTimer = new Timer(); in startSendTurn() 255 mTimer.schedule(new TimerTask() { in startSendTurn() 268 if (mTimer != null) { in stopSendTurn() 269 mTimer.cancel(); in stopSendTurn() 270 mTimer = null; in stopSendTurn()
|
/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/UnifiedEmail/src/com/android/mail/utils/ |
D | Throttle.java | 47 private final Timer mTimer; field in Throttle 93 mTimer = timer; in Throttle() 143 mTimer.schedule(mRunningTimerTask, mTimeout); in onEvent()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ThrottleTest.java | 40 private final MockTimer mTimer = new MockTimer(mClock); field in ThrottleTest 43 MIN_TIMEOUT, MAX_TIMEOUT, mClock, mTimer); 50 mTimer.runExpiredTasks(); in advanceClock()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPowerManagementService.java | 71 private Timer mTimer; field in CarPowerManagementService 386 if (mTimer != null) { in releaseTimerLocked() 387 mTimer.cancel(); in releaseTimerLocked() 389 mTimer = null; in releaseTimerLocked() 413 mTimer = new Timer(); in doHandlePreprocessing() 415 mTimer.scheduleAtFixedRate( in doHandlePreprocessing()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/ |
D | WifiDetailPreferenceController.java | 150 private static CountDownTimer mTimer; field in WifiDetailPreferenceController 1102 if (mTimer != null) { in startTimer() 1106 mTimer = new CountDownTimer(TIMEOUT, TIMEOUT + 1) { in startTimer() 1126 mTimer.start(); in startTimer() 1130 if (mTimer == null) return; in stopTimer() 1132 mTimer.cancel(); in stopTimer() 1133 mTimer = null; in stopTimer()
|
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceController.java | 149 static CountDownTimer mTimer; field in WifiDetailPreferenceController 1103 if (mTimer != null) { in startTimer() 1107 mTimer = new CountDownTimer(TIMEOUT, TIMEOUT + 1) { in startTimer() 1131 mTimer.start(); in startTimer() 1135 if (mTimer == null) return; in stopTimer() 1137 mTimer.cancel(); in stopTimer() 1138 mTimer = null; in stopTimer()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 715 private int mTimer; field in DhcpClient.PacketRetransmittingState 757 mTimer = FIRST_TIMEOUT_MS; in initTimer() 768 long timeout = jitterTimer(mTimer); in scheduleKick() 771 mTimer *= 2; in scheduleKick() 772 if (mTimer > MAX_TIMEOUT_MS) { in scheduleKick() 773 mTimer = MAX_TIMEOUT_MS; in scheduleKick()
|
/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 | 73 private final Timer mTimer; field in SearchViewManager 116 mTimer = timer; in SearchViewManager() 503 mTimer.schedule(mQueuedSearchTask, SEARCH_DELAY_MS);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 1453 mController.mTimer.onFinish(); in testConnectButton_clickConnectButTimeout_displayFailMessage() 1482 mController.mTimer.onFinish(); in testConnectButton_clickConnectButTimeout_displayNotInRangeMessage() 1561 mController.mTimer.onFinish(); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWiFi() 1600 mController.mTimer.onFinish(); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWifiBecauseNotInRange() 1631 mController.mTimer.onFinish(); in testConnectButton_clickConnectWhenWiFiDisabled_failedToEnableWifi() 1663 mController.mTimer.onFinish(); in testConnectButton_clickConnectAndBackKey_ignoreTimeoutEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 126 private BatteryStats.Timer mTimer; field in BatteryUtilsTest 458 doReturn(mTimer).when(mUid).getForegroundActivityTimer(); in testGetForegroundActivityTotalTimeMs_returnMilliseconds() 459 doReturn(TIME_SINCE_LAST_FULL_CHARGE_US).when(mTimer) in testGetForegroundActivityTotalTimeMs_returnMilliseconds()
|