Home
last modified time | relevance | path

Searched refs:delayMs (Results 1 – 25 of 61) sorted by relevance

123

/packages/services/Car/service/src/com/android/car/systeminterface/
DTimeInterface.java44 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/
DIkeAlarm.java43 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/
DFanSpeedBarSegment.java68 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/
DActionServiceImpl.java71 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()
DActionService.java44 final long delayMs) { in scheduleAction() argument
45 ActionServiceImpl.scheduleAction(action, code, delayMs); in scheduleAction()
DProcessPendingMessagesAction.java166 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()
DAction.java157 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/
DFloatingActionButtonController.java168 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/
DTestScheduledExecutorService.java56 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()
DTelecomTestCase.java76 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/
DCSTestHelpers.kt137 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/
DAutoHideScheduler.java66 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/
DDriverDistractionExperimentalFeatureService.java556 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/
DMdnsProberTest.kt78 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/
DMockAdIdWorker.java53 public void setDelay(long delayMs) { in setDelay() argument
54 mDelayMs = delayMs; in setDelay()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DImsAudioSession.java202 public void adjustDelay(int delayMs) { in adjustDelay() argument
204 miSession.adjustDelay(delayMs); in adjustDelay()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioSession.java230 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()
DAudioLocalSession.java197 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/
DSetupActivity.java126 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/
DAudioStreamGraphRtpRx.cpp177 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/
DQnsTimer.java99 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/
DTelephonyTestBase.java103 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/
DToggleAutoclickPreferenceControllerTest.java122 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/
DMultiInternetManagerTest.java131 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/
DDataModel.java67 final int code, final long delayMs) { in scheduleAction() argument
68 get().getActionService().scheduleAction(action, code, delayMs); in scheduleAction()

123