Home
last modified time | relevance | path

Searched refs:durationMillis (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallRatTracker.java84 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 …]
DVoiceCallSessionStats.java542 private static int classifySetupDuration(long durationMillis) { in classifySetupDuration() argument
544 if (durationMillis < CALL_SETUP_DURATION_MAP.keyAt(i)) { in classifySetupDuration()
/frameworks/base/services/core/java/com/android/server/
DUserspaceRebootLogger.java118 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/base/core/java/android/view/animation/
DAnimation.java442 public void setDuration(long durationMillis) { in setDuration() argument
443 if (durationMillis < 0) { in setDuration()
446 mDuration = durationMillis; in setDuration()
458 public void restrictDuration(long durationMillis) { in restrictDuration() argument
460 if (mStartOffset > durationMillis) { in restrictDuration()
461 mStartOffset = durationMillis; in restrictDuration()
468 if (dur > durationMillis) { in restrictDuration()
469 mDuration = durationMillis-mStartOffset; in restrictDuration()
470 dur = durationMillis; in restrictDuration()
481 if (mRepeatCount < 0 || mRepeatCount > durationMillis in restrictDuration()
[all …]
DAnimationSet.java206 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/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java79 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()
DInboundSmsHandler.java1598 int durationMillis = (int) ((System.nanoTime() - mBroadcastTimeNano) / 1000000); in onReceive() local
1599 if (durationMillis >= 5000) { in onReceive()
1600 loge("Slow ordered broadcast completion time: " + durationMillis + " ms"); in onReceive()
1602 log("ordered broadcast completed in: " + durationMillis + " ms"); in onReceive()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java425 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/core/java/android/view/
DWindowInsetsAnimation.java57 long durationMillis) { in WindowInsetsAnimation() argument
60 mDurationMillis = durationMillis; in WindowInsetsAnimation()
DPendingInsetsController.java198 public void controlWindowInsetsAnimation(@InsetsType int types, long durationMillis, in controlWindowInsetsAnimation() argument
203 mReplayedInsetsController.controlWindowInsetsAnimation(types, durationMillis, in controlWindowInsetsAnimation()
DWindowInsetsController.java168 void controlWindowInsetsAnimation(@InsetsType int types, long durationMillis, in controlWindowInsetsAnimation() argument
DInsetsController.java871 public void controlWindowInsetsAnimation(@InsetsType int types, long durationMillis, in controlWindowInsetsAnimation() argument
876 false /* fromIme */, durationMillis, interpolator, ANIMATION_TYPE_USER); in controlWindowInsetsAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java114 public void startTransition(int durationMillis) { in startTransition() argument
118 mDuration = mOriginalDuration = durationMillis; in startTransition()
/frameworks/base/core/java/android/content/
DContentResolver.java1203 long durationMillis = SystemClock.uptimeMillis() - startTime;
1204 maybeLogQueryToEventLog(durationMillis, uri, projection, queryArgs);
2150 long durationMillis = SystemClock.uptimeMillis() - startTime;
2151 maybeLogUpdateToEventLog(durationMillis, url, "insert", null /* where */);
2231 long durationMillis = SystemClock.uptimeMillis() - startTime;
2232 maybeLogUpdateToEventLog(durationMillis, url, "bulkinsert", null /* where */);
2290 long durationMillis = SystemClock.uptimeMillis() - startTime;
2291 maybeLogUpdateToEventLog(durationMillis, url, "delete", null);
2357 long durationMillis = SystemClock.uptimeMillis() - startTime;
2358 maybeLogUpdateToEventLog(durationMillis, uri, "update", null);
[all …]
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java631 public long durationMillis; field in ApplicationErrorReport.RunningServiceInfo
648 durationMillis = in.readLong(); in RunningServiceInfo()
656 dest.writeLong(durationMillis); in writeToParcel()
664 pw.println(prefix + "durationMillis: " + durationMillis); in dump()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderEndToEndTest.java164 final long durationMillis = duration.toMillis(); in timedWork() local
167 if (elapsedMillis >= durationMillis) { in timedWork()
/frameworks/base/services/people/java/com/android/server/people/data/
DUsageStatsQueryHelper.java193 long durationMillis = endEvent.getTimeStamp() - startEvent.getTimeStamp(); in onInAppConversationEnded() local
195 .setDurationSeconds((int) (durationMillis / DateUtils.SECOND_IN_MILLIS)) in onInAppConversationEnded()
/frameworks/base/core/java/android/os/
DStrictMode.java364 if (info.durationMillis != -1) {
365 msg = "StrictMode policy violation; ~duration=" + info.durationMillis + " ms:";
1669 info.durationMillis = -1; // unknown (redundant, already set) in handleViolationWithTimingAttempt()
1725 v.durationMillis = in handleViolationWithTimingAttempt()
2708 public int durationMillis = -1; field in StrictMode.ViolationInfo
2873 durationMillis = in.readInt(); in ViolationInfo()
2898 dest.writeInt(durationMillis); in writeToParcel()
2912 + durationMillis in writeToParcel()
2931 if (durationMillis != -1) { in dump()
2932 pw.println(prefix + "durationMillis: " + durationMillis); in dump()
/frameworks/base/media/java/android/media/
DVolumeShaper.java874 public @NonNull Builder setDuration(long durationMillis) { in setDuration() argument
875 if (durationMillis <= 0) { in setDuration()
877 "duration: " + durationMillis + " not positive"); in setDuration()
879 mDurationMs = (double) durationMillis; in setDuration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto127 optional uint64 durationMillis = 2; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java105 proto.durationMillis = mEndTimestampMillis - mStartTimestampMillis; in toProto()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl95 void noteVibratorOn(int uid, long durationMillis); in noteVibratorOn() argument
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java487 long durationMillis = end.toMillis(false /* use isDst */) in computeDuration() local
489 long durationSeconds = (durationMillis / 1000); in computeDuration()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java780 long durationMillis = Settings.Global.getLong( in handleRequestLocation() local
784 if (durationMillis == 0) { in handleRequestLocation()
818 durationMillis *= EMERGENCY_LOCATION_UPDATE_DURATION_MULTIPLIER; in handleRequestLocation()
825 provider, durationMillis)); in handleRequestLocation()
837 }, durationMillis); in handleRequestLocation()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java518 final long durationMillis; in reportExemptedSyncScheduled() local
524 durationMillis = mExemptedSyncScheduledNonDozeTimeoutMillis; in reportExemptedSyncScheduled()
529 durationMillis = mExemptedSyncScheduledDozeTimeoutMillis; in reportExemptedSyncScheduled()
536 usageReason, elapsedRealtime, durationMillis, linkedProfiles); in reportExemptedSyncScheduled()

12