/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallRatTracker.java | 84 long durationMillis = timestampMillis - mLastKeyTimestampMillis; in add() local 85 if (durationMillis < 0L) { in add() 87 durationMillis = 0L; in add() 89 addToKey(mLastKey, durationMillis, connectionIds); in add() 103 long durationMillis = timestampMillis - mLastKeyTimestampMillis; in conclude() local 104 if (durationMillis < 0L) { in conclude() 106 durationMillis = 0L; in conclude() 112 value.durationMillis += durationMillis; in conclude() 134 private void addToKey(Key key, long durationMillis, Set<Integer> connectionIds) { in addToKey() argument 137 mRatUsageMap.put(key, new Value(durationMillis, connectionIds)); in addToKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | WifiPowerStatsLayout.java | 96 public void setDeviceRxTime(long[] stats, long durationMillis) { in setDeviceRxTime() argument 97 stats[mDeviceRxTimePosition] = durationMillis; in setDeviceRxTime() 104 public void setDeviceTxTime(long[] stats, long durationMillis) { in setDeviceTxTime() argument 105 stats[mDeviceTxTimePosition] = durationMillis; in setDeviceTxTime() 112 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime() argument 113 stats[mDeviceScanTimePosition] = durationMillis; in setDeviceScanTime() 120 public void setDeviceBasicScanTime(long[] stats, long durationMillis) { in setDeviceBasicScanTime() argument 121 stats[mDeviceBasicScanTimePosition] = durationMillis; in setDeviceBasicScanTime() 128 public void setDeviceBatchedScanTime(long[] stats, long durationMillis) { in setDeviceBatchedScanTime() argument 129 stats[mDeviceBatchedScanTimePosition] = durationMillis; in setDeviceBatchedScanTime() [all …]
|
D | MobileRadioPowerStatsLayout.java | 93 public void setDeviceSleepTime(long[] stats, long durationMillis) { in setDeviceSleepTime() argument 94 stats[mDeviceSleepTimePosition] = durationMillis; in setDeviceSleepTime() 101 public void setDeviceIdleTime(long[] stats, long durationMillis) { in setDeviceIdleTime() argument 102 stats[mDeviceIdleTimePosition] = durationMillis; in setDeviceIdleTime() 109 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime() argument 110 stats[mDeviceScanTimePosition] = durationMillis; in setDeviceScanTime() 117 public void setDeviceCallTime(long[] stats, long durationMillis) { in setDeviceCallTime() argument 118 stats[mDeviceCallTimePosition] = durationMillis; in setDeviceCallTime() 133 public void setStateRxTime(long[] stats, long durationMillis) { in setStateRxTime() argument 134 stats[mStateRxTimePosition] = durationMillis; in setStateRxTime() [all …]
|
D | BluetoothPowerStatsLayout.java | 60 public void setDeviceRxTime(long[] stats, long durationMillis) { in setDeviceRxTime() argument 61 stats[mDeviceRxTimePosition] = durationMillis; in setDeviceRxTime() 68 public void setDeviceTxTime(long[] stats, long durationMillis) { in setDeviceTxTime() argument 69 stats[mDeviceTxTimePosition] = durationMillis; in setDeviceTxTime() 76 public void setDeviceIdleTime(long[] stats, long durationMillis) { in setDeviceIdleTime() argument 77 stats[mDeviceIdleTimePosition] = durationMillis; in setDeviceIdleTime() 84 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime() argument 85 stats[mDeviceScanTimePosition] = durationMillis; in setDeviceScanTime()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/ |
D | ColumnVolumeSliders.kt | 112 expandVertically(animationSpec = tween(durationMillis = EXPAND_DURATION_MILLIS)), in <lambda>() 114 shrinkVertically(animationSpec = tween(durationMillis = COLLAPSE_DURATION_MILLIS)), in <lambda>() 200 animationSpec = tween(durationMillis = enterDuration, delayMillis = enterDelay), in enterTransition() 204 animationSpec = tween(durationMillis = enterDuration, delayMillis = enterDelay), in enterTransition() 208 animationSpec = tween(durationMillis = enterDuration, delayMillis = enterDelay), in enterTransition() 216 animationSpec = tween(durationMillis = exitDuration), in exitTransition() 220 animationSpec = tween(durationMillis = exitDuration), in exitTransition() 223 fadeOut(animationSpec = tween(durationMillis = exitDuration)) in exitTransition() 230 durationMillis = EXPAND_BUTTON_ANIMATION_DURATION_MILLIS, in expandButtonEnterTransition() 237 durationMillis = EXPAND_BUTTON_ANIMATION_DURATION_MILLIS, in expandButtonEnterTransition() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | UserspaceRebootLogger.java | 118 final long durationMillis; in logEventAsync() local 120 durationMillis = SystemProperties.getLong(USERSPACE_REBOOT_LAST_FINISHED_PROPERTY, 0) in logEventAsync() 123 durationMillis = 0; in logEventAsync() 132 + " durationMillis: " + durationMillis + " encryptionState: " in logEventAsync() 135 durationMillis, encryptionState); in logEventAsync()
|
/frameworks/av/services/mediametrics/ |
D | statsd_mediaparser.cpp | 64 int64_t durationMillis = -1; in statsd_mediaparser() local 65 item->getInt64("android.media.mediaparser.durationMillis", &durationMillis); in statsd_mediaparser() 96 durationMillis, in statsd_mediaparser() 116 << " duration_millis:" << durationMillis in statsd_mediaparser()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BlockChecker.java | 79 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in getBlockStatus() local 80 if (durationMillis > 500 || VDBG) { in getBlockStatus() 81 Rlog.d(TAG, "Blocked number lookup took: " + durationMillis + " ms."); in getBlockStatus()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | TransitionDslImpl.kt | 195 private val durationMillis: Int by lazy { in <lambda>() constant in com.android.compose.animation.scene.TransitionBuilderImpl 201 spec.vectorize(Float.VectorConverter).durationMillis in <lambda>() 219 if (startMillis != null && (startMillis < 0 || startMillis > durationMillis)) { in timestampRange() 220 error("invalid start value: startMillis=$startMillis durationMillis=$durationMillis") in timestampRange() 223 if (endMillis != null && (endMillis < 0 || endMillis > durationMillis)) { in timestampRange() 224 error("invalid end value: endMillis=$startMillis durationMillis=$durationMillis") in timestampRange() 227 val start = startMillis?.let { it.toFloat() / durationMillis } in timestampRange() 228 val end = endMillis?.let { it.toFloat() / durationMillis } in timestampRange()
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 451 public void setDuration(long durationMillis) { in setDuration() argument 452 if (durationMillis < 0) { in setDuration() 455 mDuration = durationMillis; in setDuration() 467 public void restrictDuration(long durationMillis) { in restrictDuration() argument 469 if (mStartOffset > durationMillis) { in restrictDuration() 470 mStartOffset = durationMillis; in restrictDuration() 477 if (dur > durationMillis) { in restrictDuration() 478 mDuration = durationMillis-mStartOffset; in restrictDuration() 479 dur = durationMillis; in restrictDuration() 490 if (mRepeatCount < 0 || mRepeatCount > durationMillis in restrictDuration() [all …]
|
D | AnimationSet.java | 206 public void setDuration(long durationMillis) { in setDuration() argument 208 super.setDuration(durationMillis); in setDuration() 282 public void restrictDuration(long durationMillis) { in restrictDuration() argument 283 super.restrictDuration(durationMillis); in restrictDuration() 289 animations.get(i).restrictDuration(durationMillis); in restrictDuration()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/ |
D | AnimatedNavGraphBuilder.kt | 89 durationMillis = FADE_IN_MILLIS, 93 private val slideOutEffect = tween<IntOffset>(durationMillis = FADE_IN_MILLIS) 95 durationMillis = FADE_OUT_MILLIS, 99 durationMillis = FADE_IN_MILLIS,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | DemoSimulator.java | 172 long durationMillis = mSatelliteController.getDemoPointingAlignedDurationMillis(); in handleEventDeviceAlignedWithSatellite() local 175 + " durationMillis=" + durationMillis); in handleEventDeviceAlignedWithSatellite() 176 sendMessageDelayed(EVENT_DEVICE_ALIGNED, durationMillis); in handleEventDeviceAlignedWithSatellite() 232 long durationMillis = in handleEventDeviceAlignedWithSatellite() local 236 + " in durationMillis=" + durationMillis); in handleEventDeviceAlignedWithSatellite() 237 sendMessageDelayed(EVENT_DEVICE_NOT_ALIGNED, durationMillis); in handleEventDeviceAlignedWithSatellite()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | ShortcutKeyTestBase.java | 141 void sendKeyCombination(int[] keyCodes, long durationMillis, boolean longPress, int displayId) { in sendKeyCombination() argument 157 if (durationMillis > 0) { in sendKeyCombination() 158 mPhoneWindowManager.moveTimeForward(durationMillis); in sendKeyCombination() 186 void sendKeyCombination(int[] keyCodes, long durationMillis) { in sendKeyCombination() argument 187 sendKeyCombination(keyCodes, durationMillis, false /* longPress */, DEFAULT_DISPLAY); in sendKeyCombination() 190 void sendKeyCombination(int[] keyCodes, long durationMillis, int displayId) { in sendKeyCombination() argument 191 sendKeyCombination(keyCodes, durationMillis, false /* longPress */, displayId); in sendKeyCombination()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | ThreadingDomain.java | 87 final void postAndWait(@NonNull Runnable runnable, @DurationMillisLong long durationMillis) { in postAndWait() argument 92 }, durationMillis); in postAndWait() 107 @NonNull Callable<V> callable, @DurationMillisLong long durationMillis) in postAndWait() argument
|
D | HandlerThreadingDomain.java | 65 <V> V postAndWait(@NonNull Callable<V> callable, @DurationMillisLong long durationMillis) in postAndWait() argument 84 if (!latch.await(durationMillis, TimeUnit.MILLISECONDS)) { in postAndWait()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 425 public AutoScrollHelper setRampUpDuration(int durationMillis) { in setRampUpDuration() argument 426 mScroller.setRampUpDuration(durationMillis); in setRampUpDuration() 440 public AutoScrollHelper setRampDownDuration(int durationMillis) { in setRampDownDuration() argument 441 mScroller.setRampDownDuration(durationMillis); in setRampDownDuration() 750 public void setRampUpDuration(int durationMillis) { in setRampUpDuration() argument 751 mRampUpDuration = durationMillis; in setRampUpDuration() 754 public void setRampDownDuration(int durationMillis) { in setRampDownDuration() argument 755 mRampDownDuration = durationMillis; in setRampDownDuration()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/ |
D | TestValues.kt | 54 spec = tween(durationMillis = TestTransitionDuration.toInt(), easing = LinearEasing) in <lambda>() 58 spec = tween(durationMillis = TestTransitionDuration.toInt(), easing = FastOutSlowInEasing) in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/ |
D | MediaOutputComponent.kt | 199 private fun <T> isPlayingOutSpec() = tween<T>(durationMillis = 400, delayMillis = 500) 201 private fun <T> isPlayingInIconSpec() = tween<T>(durationMillis = 400, delayMillis = 300) 203 private fun <T> isPlayingInIconBackgroundSpec() = tween<T>(durationMillis = 400, delayMillis = 700) 205 private fun <T> isNotPlayingOutIconSpec() = tween<T>(durationMillis = 400, delayMillis = 300) 207 private fun <T> isNotPlayingInIconSpec() = tween<T>(durationMillis = 400, delayMillis = 900)
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | PatternBouncer.kt | 159 durationMillis = SELECTED_DOT_REACTION_ANIMATION_DURATION_MS, in <lambda>() 168 durationMillis = SELECTED_DOT_RETRACT_ANIMATION_DURATION_MS, in <lambda>() 195 durationMillis = lineFadeOutAnimationDurationMs, in <lambda>() 388 durationMillis = 450, in showEntryAnimation() 401 durationMillis = 450 + (33 * dot.y), in showEntryAnimation() 461 durationMillis = in showFailureAnimation() 473 durationMillis = in showFailureAnimation()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | CommunalContainer.kt | 91 spec = tween(durationMillis = 250) in <lambda>() 95 spec = tween(durationMillis = 1000) in <lambda>() 100 spec = tween(durationMillis = 1000) in <lambda>() 111 spec = tween(durationMillis = TransitionDuration.BETWEEN_HUB_AND_EDIT_MODE_MS) in <lambda>() 120 spec = tween(durationMillis = TransitionDuration.BETWEEN_HUB_AND_EDIT_MODE_MS) in <lambda>() 326 durationMillis = ANIMATION_DURATION_MS, in animatedRadialGradientBackground()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | LockoutConsumer.java | 23 void onLockoutTimed(long durationMillis); in onLockoutTimed() argument
|
/frameworks/base/core/java/android/view/ |
D | WindowInsetsAnimation.java | 57 long durationMillis) { in WindowInsetsAnimation() argument 60 mDurationMillis = durationMillis; in WindowInsetsAnimation()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 606 private void sendFirstWindowFrame(FrameTracker tracker, long durationMillis, in sendFirstWindowFrame() argument 608 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ true); in sendFirstWindowFrame() 611 private void sendFrame(FrameTracker tracker, long durationMillis, in sendFrame() argument 613 sendFrame(tracker, durationMillis, jankType, vsyncId, /* firstWindowFrame= */ false); in sendFrame() 624 private void sendFrame(FrameTracker tracker, long durationMillis, in sendFrame() argument 627 sendHwuiFrame(tracker, durationMillis, vsyncId, firstWindowFrame); in sendFrame() 632 private void sendHwuiFrame(FrameTracker tracker, long durationMillis, long vsyncId, in sendHwuiFrame() argument 637 doReturn(TimeUnit.MILLISECONDS.toNanos(durationMillis)) in sendHwuiFrame()
|
/frameworks/base/media/java/android/media/metrics/ |
D | MediaItemInfo.java | 163 long durationMillis, in MediaItemInfo() argument 177 mDurationMillis = durationMillis; in MediaItemInfo() 341 public @NonNull Builder setDurationMillis(long durationMillis) { in setDurationMillis() argument 342 mDurationMillis = durationMillis; in setDurationMillis()
|