/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | RetryManagerTest.java | 153 long delay = rm.getDelayForNextApn(false); in testRetryManagerEmpty() local 154 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerEmpty() 158 delay = rm.getDelayForNextApn(false); in testRetryManagerEmpty() 159 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerEmpty() 181 long delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnNoRetry() local 182 assertEquals(RetryManager.NO_RETRY, delay); in testRetryManagerOneApnNoRetry() 203 long delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnTwoRetries() local 204 assertEquals(2000, delay); in testRetryManagerOneApnTwoRetries() 208 delay = rm.getDelayForNextApn(false); in testRetryManagerOneApnTwoRetries() 209 assertEquals(3000, delay); in testRetryManagerOneApnTwoRetries() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | DelayMix_16x16.cpp | 29 LVM_INT16 *delay, /* Delay buffer */ in DelayMix_16x16() argument 42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16() 46 delay[Offset] = *src; in DelayMix_16x16() 51 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16() 55 delay[Offset] = *src; in DelayMix_16x16() 72 LVM_FLOAT *delay, /* Delay buffer */ in DelayMix_Float() argument 85 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f); in DelayMix_Float() 89 delay[Offset] = *src; in DelayMix_Float() 94 temp = (LVM_FLOAT)((LVM_FLOAT)(*dst - (LVM_FLOAT)delay[Offset]) / 2.0f); in DelayMix_Float() 98 delay[Offset] = *src; in DelayMix_Float()
|
D | DelayAllPass_Sat_32x16To32.cpp | 30 void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay buffer */ in DelayAllPass_Sat_32x16To32() argument 46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15) in DelayAllPass_Sat_32x16To32() 48 b = delay[DelayOffset]; in DelayAllPass_Sat_32x16To32() 68 b = delay[AllPassOffset]; in DelayAllPass_Sat_32x16To32() 81 delay[AllPassOffset] = c; in DelayAllPass_Sat_32x16To32()
|
D | DelayWrite_32.cpp | 29 LVM_INT32 *delay, /* Delay buffer */ in DelayWrite_32() argument 39 delay[Offset] = *src; in DelayWrite_32()
|
/frameworks/base/core/java/android/os/ |
D | CountDownTimer.java | 134 long delay; 138 delay = millisLeft - lastTickDuration; 142 if (delay < 0) delay = 0; 144 delay = mCountdownInterval - lastTickDuration; 148 while (delay < 0) delay += mCountdownInterval; 151 sendMessageDelayed(obtainMessage(MSG), delay);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ExponentialBackoffTest.java | 74 long delay = mBackoffUnderTest.getCurrentDelay(); in testStartBackoff() local 75 waitForHandlerActionDelayed(mHandler, delay, 2 * delay); in testStartBackoff() 96 long delay = mBackoffUnderTest.getCurrentDelay(); in testDelayIncreasedExponentially() local 99 assertTrue("delay = " + delay + " minDelay = " + minDelay, delay >= minDelay); in testDelayIncreasedExponentially() 100 assertTrue("delay = " + delay + " maxDelay = " + maxDelay, delay <= maxDelay); in testDelayIncreasedExponentially() 111 long delay = mBackoffUnderTest.getCurrentDelay(); in testDelayShouldNotExceededTheMaximumLimit() local 113 "delay = " + delay + " maximumDelay = " + MAXIMUM_DELAY_MS, in testDelayShouldNotExceededTheMaximumLimit() 114 delay <= MAXIMUM_DELAY_MS); in testDelayShouldNotExceededTheMaximumLimit()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | AppearAnimationUtils.java | 89 long delay = columns[0]; in startAnimations() local 98 creator.createAnimation(objects[row], delay, mDuration, in startAnimations() 117 long delay = columns[col]; in startAnimations() local 122 creator.createAnimation(objects[row][col], delay, mDuration, in startAnimations() 136 long delay = calculateDelay(row, 0); in getDelays() local 137 mProperties.delays[row][0] = delay; in getDelays() 138 if (items[row] != null && delay > maxDelay) { in getDelays() 139 maxDelay = delay; in getDelays() 156 long delay = calculateDelay(row, col); in getDelays() local 157 mProperties.delays[row][col] = delay; in getDelays() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationIconDozeHelper.java | 47 public void setImageDark(ImageView target, boolean dark, boolean fade, long delay, in setImageDark() argument 51 fadeImageColorFilter(target, dark, delay); in setImageDark() 52 fadeImageAlpha(target, dark, delay); in setImageDark() 54 fadeGrayscale(target, dark, delay); in setImageDark() 66 private void fadeImageColorFilter(final ImageView target, boolean dark, long delay) { in fadeImageColorFilter() argument 69 }, dark, delay, null /* listener */); in fadeImageColorFilter() 72 private void fadeImageAlpha(final ImageView target, boolean dark, long delay) { in fadeImageAlpha() argument 76 }, dark, delay, null /* listener */); in fadeImageAlpha()
|
D | NotificationDozeHelper.java | 37 public void fadeGrayscale(final ImageView target, final boolean dark, long delay) { in fadeGrayscale() argument 43 }, dark, delay, new AnimatorListenerAdapter() { in fadeGrayscale() 68 boolean dark, long delay, Animator.AnimatorListener listener) { in startIntensityAnimation() argument 75 animator.setStartDelay(delay); in startIntensityAnimation() 83 boolean animate, long delay, View view) { in setDozing() argument 86 delay, in setDozing()
|
/frameworks/base/core/java/android/view/animation/ |
D | LayoutAnimationController.java | 144 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument 145 mDelay = delay; in LayoutAnimationController() 283 public void setDelay(float delay) { in setDelay() argument 284 mDelay = delay; in setDelay() 323 final long delay = getDelayForView(view) + mAnimation.getStartOffset(); in getAnimationForView() local 324 mMaxDelay = Math.max(mMaxDelay, delay); in getAnimationForView() 328 animation.setStartOffset(delay); in getAnimationForView() 378 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView() local 379 final long viewDelay = (long) (getTransformedIndex(params) * delay); in getDelayForView() 380 final float totalDelay = delay * params.count; in getDelayForView()
|
/frameworks/base/core/java/android/view/ |
D | HandlerActionQueue.java | 85 handler.postDelayed(handlerAction.action, handlerAction.delay); in executeActions() 108 return mActions[index].delay; in getDelay() 113 final long delay; field in HandlerActionQueue.HandlerAction 115 public HandlerAction(Runnable action, long delay) { in HandlerAction() argument 117 this.delay = delay; in HandlerAction()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | MockScheduledExecutorService.java | 84 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 86 MockScheduledFuture<?> future = new MockScheduledFuture<>(command, delay, unit); in schedule() 92 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { in schedule() argument 104 long delay, TimeUnit unit) { in scheduleWithFixedDelay() argument 195 MockScheduledFuture(Runnable runnable, long delay, TimeUnit timeUnit) { in MockScheduledFuture() argument 196 this(runnable, null, delay); in MockScheduledFuture() 199 MockScheduledFuture(Callable<V> callable, long delay, TimeUnit timeUnit) { in MockScheduledFuture() argument 200 this(null, callable, delay); in MockScheduledFuture() 203 private MockScheduledFuture(Runnable runnable, Callable<V> callable, long delay) { in MockScheduledFuture() argument 206 mDelay = delay; in MockScheduledFuture()
|
/frameworks/base/core/java/android/animation/ |
D | AnimationHandler.java | 93 public void addAnimationFrameCallback(final AnimationFrameCallback callback, long delay) { in addAnimationFrameCallback() argument 101 if (delay > 0) { in addAnimationFrameCallback() 102 mDelayedCallbackStartTime.put(callback, (SystemClock.uptimeMillis() + delay)); in addAnimationFrameCallback() 197 public static void setFrameDelay(long delay) { in setFrameDelay() argument 198 getInstance().getProvider().setFrameDelay(delay); in setFrameDelay() 267 public void setFrameDelay(long delay) { in setFrameDelay() argument 268 Choreographer.setFrameDelay(delay); in setFrameDelay() 315 void setFrameDelay(long delay); in setFrameDelay() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/ |
D | RepeatableExecutorImpl.java | 38 public Runnable executeRepeatedly(Runnable r, long initDelay, long delay, TimeUnit unit) { in executeRepeatedly() argument 39 ExecutionToken token = new ExecutionToken(r, delay, unit); in executeRepeatedly() 51 ExecutionToken(Runnable r, long delay, TimeUnit unit) { in ExecutionToken() argument 53 mDelay = delay; in ExecutionToken()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueBackupJob.java | 71 public static void schedule(int userId, Context ctx, long delay, in schedule() argument 89 if (delay <= 0) { in schedule() 90 delay = interval + new Random().nextInt((int) fuzz); in schedule() 93 Slog.v(TAG, "Scheduling k/v pass in " + (delay / 1000 / 60) + " minutes"); in schedule() 98 .setMinimumLatency(delay) in schedule() 111 sNextScheduledForUserId.put(userId, System.currentTimeMillis() + delay); in schedule()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 209 int delay = Settings.Secure.getIntForUser( in onChange() local 212 mClickScheduler.updateDelay(delay); in onChange() 258 public ClickScheduler(Handler handler, int delay) { in ClickScheduler() argument 263 mDelay = delay; in ClickScheduler() 321 public void updateDelay(int delay) { in updateDelay() argument 322 mDelay = delay; in updateDelay() 330 private void rescheduleClick(int delay) { in rescheduleClick() argument 331 long clickTime = SystemClock.uptimeMillis() + delay; in rescheduleClick() 347 mHandler.postDelayed(this, delay); in rescheduleClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 33 public long delay; field in AnimationProperties 117 public AnimationProperties setDelay(long delay) { 118 this.delay = delay;
|
/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 70 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound() local 71 if (delay > 1000) { in startSound() 72 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); in startSound() 102 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run() local 103 if (delay > 1000) { in run() 104 Log.w(mTag, "Notification stop delayed by " + delay + "msecs"); in run()
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 170 delay(); in changesPersistedWhenUninstallingDisabledOverlay() 192 private void delay() { in delay() method in InstallOverlayTests 201 delay(); in installPackage() 206 delay(); in installInstantPackage() 215 delay(); in setPackageEnabled() 220 delay(); in setOverlayEnabled()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpTimeHelper.java | 146 long delay; in blockingGetNtpTimeAndInject() local 178 delay = NTP_INTERVAL; in blockingGetNtpTimeAndInject() 182 delay = mNtpBackOff.nextBackoffMillis(); in blockingGetNtpTimeAndInject() 190 delay)); in blockingGetNtpTimeAndInject() 199 mHandler.postDelayed(this::retrieveAndInjectNtpTime, delay); in blockingGetNtpTimeAndInject()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDcTracker.java | 167 long delay = apnContext.getDelayForNextApn(mFailFast); in onDataSetupCompleteError() local 186 delay = -1; in onDataSetupCompleteError() 188 delay = mPhone.getContext().getResources().getInteger( in onDataSetupCompleteError() 190 if (DBG) log("onDataSetupCompleteError: delay from config: " + delay); in onDataSetupCompleteError() 200 if (delay >= 0) { in onDataSetupCompleteError() 201 if (DBG) log("onDataSetupCompleteError: Try next APN. delay = " + delay); in onDataSetupCompleteError() 206 startReconnect(delay, apnContext); in onDataSetupCompleteError() 213 if (DBG) log("onDataSetupCompleteError: Stop retrying APNs. delay=" + delay in onDataSetupCompleteError()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutor.java | 142 public Runnable executeDelayed(Runnable r, long delay, TimeUnit unit) { in executeDelayed() argument 143 if (delay < 0) { in executeDelayed() 144 delay = 0; in executeDelayed() 146 return executeAtTime(r, mClock.uptimeMillis() + unit.toMillis(delay)); in executeDelayed()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingStartActivityUids.java | 56 final long delay = SystemClock.elapsedRealtime() - pendingPid.second; in delete() local 57 if (delay >= 1000 /*ms*/) { in delete() 60 + delay + "ms," + " uid:" + uid); in delete()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RetryManager.java | 579 long delay; in getDelayForNextApn() local 586 delay = getRetryTimer(); in getDelayForNextApn() 590 delay = mInterApnDelay; in getDelayForNextApn() 593 if (failFastEnabled && delay > mFailFastInterApnDelay) { in getDelayForNextApn() 598 delay = mFailFastInterApnDelay; in getDelayForNextApn() 601 return delay; in getDelayForNextApn() 668 public void setModemSuggestedDelay(long delay) { in setModemSuggestedDelay() argument 673 mModemSuggestedDelay = delay; in setModemSuggestedDelay()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 590 @NonNull BtHelper.BluetoothA2dpDeviceInfo btDeviceInfo, int delay) { in postA2dpSinkConnection() argument 595 state, btDeviceInfo, delay); in postA2dpSinkConnection() 599 @NonNull BtHelper.BluetoothA2dpDeviceInfo btDeviceInfo, int delay) { in postA2dpSourceConnection() argument 601 state, btDeviceInfo, delay); in postA2dpSourceConnection() 605 AudioDeviceInventory.WiredDeviceConnectionState connectionState, int delay) { in postSetWiredDeviceConnectionState() argument 606 sendLMsg(MSG_L_SET_WIRED_DEVICE_CONNECTION_STATE, SENDMSG_QUEUE, connectionState, delay); in postSetWiredDeviceConnectionState() 611 @NonNull BluetoothDevice device, int delay) { in postSetHearingAidConnectionState() argument 615 delay); in postSetHearingAidConnectionState() 706 /*package*/ void handleFailureToConnectToBtHeadsetService(int delay) { in handleFailureToConnectToBtHeadsetService() argument 707 sendMsg(MSG_BT_HEADSET_CNCT_FAILED, SENDMSG_REPLACE, delay); in handleFailureToConnectToBtHeadsetService() [all …]
|