/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | TimeInterface.java | 44 void scheduleAction(Runnable r, long delayMs); in scheduleAction() argument 54 public void scheduleAction(Runnable r, long delayMs) { in scheduleAction() argument 63 executor.scheduleAtFixedRate(r, delayMs, delayMs, TimeUnit.MILLISECONDS); in scheduleAction()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | IkeAlarm.java | 43 mDelayMs = alarmConfig.delayMs; in IkeAlarm() 185 public final long delayMs; field in IkeAlarm.IkeAlarmConfig 192 long delayMs, in IkeAlarmConfig() argument 197 this.delayMs = delayMs; in IkeAlarmConfig()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/ |
D | FanSpeedBarSegment.java | 68 public void playTurnOnAnimation(int delayMs, int duration) { in playTurnOnAnimation() argument 70 mDotWidthExpandAnimator.setStartDelay(delayMs); in playTurnOnAnimation() 80 public void playTurnOffAnimation(int delayMs, int duration) { in playTurnOffAnimation() argument 82 mDotWidthExpandAnimator.setStartDelay(delayMs); in playTurnOffAnimation()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionServiceImpl.java | 71 final long delayMs) { in scheduleAction() argument 77 PendingActionReceiver.scheduleAlarm(intent, requestCode, delayMs); in scheduleAction() 165 final long delayMs) { in scheduleAlarm() argument 173 if (delayMs < Long.MAX_VALUE) { in scheduleAlarm() 175 SystemClock.elapsedRealtime() + delayMs, pendingIntent); in scheduleAlarm()
|
D | ActionService.java | 44 final long delayMs) { in scheduleAction() argument 45 ActionServiceImpl.scheduleAction(action, code, delayMs); in scheduleAction()
|
D | ProcessPendingMessagesAction.java | 166 long delayMs; in register() local 169 delayMs = nextDelayMs; in register() 171 nextDelayMs = delayMs * 2; in register() 176 + " in " + delayMs + " ms for subId " + subId); in register() 178 action.schedule(PENDING_INTENT_BASE_REQUEST_CODE + subId, delayMs); in register()
|
D | Action.java | 157 public void schedule(final int requestCode, final long delayMs) { in schedule() argument 158 DataModel.scheduleAction(this, requestCode, delayMs); in schedule()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FloatingActionButtonController.java | 168 public void scaleIn(int delayMs) { in scaleIn() argument 170 AnimUtils.scaleIn(mFloatingActionButtonContainer, FAB_SCALE_IN_DURATION, delayMs); in scaleIn() 172 delayMs + FAB_SCALE_IN_FADE_IN_DELAY, null); in scaleIn()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TestScheduledExecutorService.java | 56 CompletedFuture(Callable<T> task, long delayMs) { in CompletedFuture() argument 58 mDelayMs = delayMs; in CompletedFuture() 61 CompletedFuture(Runnable task, long delayMs) { in CompletedFuture() argument 64 mDelayMs = delayMs; in CompletedFuture()
|
D | TelecomTestCase.java | 76 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument 78 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTestHelpers.kt | 137 val delayMs = ((date as Long) - SystemClock.elapsedRealtime()).coerceAtLeast(0) in makeMockAlarmManager() constant 138 if (delayMs > UNREASONABLY_LONG_ALARM_WAIT_MS) { in makeMockAlarmManager() 140 "ms into the future : $delayMs") in makeMockAlarmManager() 142 alrmHdlr.postDelayed({ handler.post(wakeupMsg::onAlarm) }, wakeupMsg, delayMs) in makeMockAlarmManager()
|
/packages/apps/TV/src/com/android/tv/ui/hideable/ |
D | AutoHideScheduler.java | 66 public void schedule(long delayMs) { in schedule() argument 69 mHandler.sendEmptyMessageDelayed(MSG_HIDE, delayMs); in schedule()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureService.java | 556 long delayMs = mLastDispatchUptimeMillis + DISPATCH_THROTTLE_MS - uptimeMillis; in scheduleAwarenessDispatchLocked() local 557 if (delayMs < 0) { in scheduleAwarenessDispatchLocked() 560 mCurrentDistractionEvent, delayMs)); in scheduleAwarenessDispatchLocked() 561 delayMs = 0; in scheduleAwarenessDispatchLocked() 564 mCurrentDistractionEvent, delayMs)); in scheduleAwarenessDispatchLocked() 566 mClientDispatchHandler.postDelayed(mDispatchCurrentDistractionRunnable, delayMs); in scheduleAwarenessDispatchLocked()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsProberTest.kt | 78 private class TestProbeInfo(probeRecords: List<MdnsRecord>, private val delayMs: Long = 1L) : in <lambda>() constant in com.android.server.connectivity.mdns.MdnsProberTest 82 override fun getDelayMs(nextIndex: Int) = delayMs in <lambda>() 193 delayMs = SHORT_TIMEOUT_MS) in <lambda>()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | MockAdIdWorker.java | 53 public void setDelay(long delayMs) { in setDelay() argument 54 mDelayMs = delayMs; in setDelay()
|
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | ImsAudioSession.java | 202 public void adjustDelay(int delayMs) { in adjustDelay() argument 204 miSession.adjustDelay(delayMs); in adjustDelay()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | AudioSession.java | 230 public void adjustDelay(int delayMs) { in adjustDelay() argument 231 Log.d(TAG, "adjustDelay: delay=" + delayMs); in adjustDelay() 232 Utils.sendMessage(mHandler, CMD_ADJUST_DELAY, delayMs); in adjustDelay() 472 private void handleAdjustDelay(int delayMs) { in handleAdjustDelay() argument 474 mLocalSession.adjustDelay(delayMs); in handleAdjustDelay()
|
D | AudioLocalSession.java | 197 public void adjustDelay(final int delayMs) { in adjustDelay() argument 200 parcel.writeInt(delayMs); in adjustDelay()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupActivity.java | 126 protected void executeActionWithDelay(Runnable action, int delayMs) { in executeActionWithDelay() argument 127 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_EXECUTE_ACTION, action), delayMs); in executeActionWithDelay() local
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/ |
D | AudioStreamGraphRtpRx.cpp | 177 void AudioStreamGraphRtpRx::adjustDelay(const int32_t delayMs) in adjustDelay() argument 183 (reinterpret_cast<IAudioPlayerNode*>(node))->AdjustDelay(delayMs); in adjustDelay()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsTimer.java | 99 int registerTimer(Message msg, long delayMs) { in registerTimer() argument 103 timerInfo.setExpireAtElapsedMillis(getSystemElapsedRealTime() + delayMs); in registerTimer() 104 logd("register timer for timerId=" + timerId + ", with delay=" + delayMs); in registerTimer()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 103 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument 105 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleAutoclickPreferenceControllerTest.java | 122 final int delayMs = Secure.getInt(mContext.getContentResolver(), in onRadioButtonClicked_offMode_disableAutoClick() local 124 assertThat(delayMs).isEqualTo(0); in onRadioButtonClicked_offMode_disableAutoClick()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | MultiInternetManagerTest.java | 131 long delayMs = uptimeMillis - SystemClock.uptimeMillis(); in sendMessageAtTime() local 132 if (delayMs > 0) { in sendMessageAtTime() 133 mIntervals.add(delayMs); in sendMessageAtTime() 136 uptimeMillis = delayMs + mClock.getElapsedSinceBootMillis(); in sendMessageAtTime()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModel.java | 67 final int code, final long delayMs) { in scheduleAction() argument 68 get().getActionService().scheduleAction(action, code, delayMs); in scheduleAction()
|