/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 …]
|
D | VoiceCallSessionStats.java | 554 private static int classifySetupDuration(long durationMillis) { in classifySetupDuration() argument 557 if (durationMillis < CALL_SETUP_DURATION_MAP.keyAt(i)) { in classifySetupDuration()
|
/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/base/core/java/android/view/animation/ |
D | Animation.java | 442 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 …]
|
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/opt/telephony/src/java/com/android/internal/telephony/ |
D | BlockChecker.java | 80 int durationMillis = (int) ((System.nanoTime() - startTimeNano) / 1000000); in getBlockStatus() local 81 if (durationMillis > 500 || VDBG) { in getBlockStatus() 82 Rlog.d(TAG, "Blocked number lookup took: " + durationMillis + " ms."); in getBlockStatus()
|
D | InboundSmsHandler.java | 1513 int durationMillis = (int) ((System.nanoTime() - mBroadcastTimeNano) / 1000000); in onReceive() local 1514 if (durationMillis >= 5000) { in onReceive() 1515 loge("Slow ordered broadcast completion time: " + durationMillis + " ms"); in onReceive() 1517 log("ordered broadcast completed in: " + durationMillis + " ms"); in onReceive()
|
/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/core/java/android/content/ |
D | ContentResolver.java | 964 long durationMillis = SystemClock.uptimeMillis() - startTime; 965 maybeLogQueryToEventLog(durationMillis, uri, projection, queryArgs); 1829 long durationMillis = SystemClock.uptimeMillis() - startTime; 1830 maybeLogUpdateToEventLog(durationMillis, url, "insert", null /* where */); 1910 long durationMillis = SystemClock.uptimeMillis() - startTime; 1911 maybeLogUpdateToEventLog(durationMillis, url, "bulkinsert", null /* where */); 1950 long durationMillis = SystemClock.uptimeMillis() - startTime; 1951 maybeLogUpdateToEventLog(durationMillis, url, "delete", where); 1994 long durationMillis = SystemClock.uptimeMillis() - startTime; 1995 maybeLogUpdateToEventLog(durationMillis, uri, "update", where); [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 114 public void startTransition(int durationMillis) { in startTransition() argument 118 mDuration = mOriginalDuration = durationMillis; in startTransition()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationErrorReport.java | 631 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()
|
D | AppOpsManager.java | 3040 final long durationMillis = getDurationMillis(); in filter() local 3044 / (double) durationMillis, 1); in filter()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderEndToEndTest.java | 164 final long durationMillis = duration.toMillis(); in timedWork() local 167 if (elapsedMillis >= durationMillis) { in timedWork()
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 355 if (info.durationMillis != -1) { 356 msg = "StrictMode policy violation; ~duration=" + info.durationMillis + " ms:"; 1628 info.durationMillis = -1; // unknown (redundant, already set) in handleViolationWithTimingAttempt() 1684 v.durationMillis = in handleViolationWithTimingAttempt() 2622 public int durationMillis = -1; field in StrictMode.ViolationInfo 2787 durationMillis = in.readInt(); in ViolationInfo() 2812 dest.writeInt(durationMillis); in writeToParcel() 2826 + durationMillis in writeToParcel() 2845 if (durationMillis != -1) { in dump() 2846 pw.println(prefix + "durationMillis: " + durationMillis); in dump()
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 874 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/ |
D | touch_analytics.proto | 127 optional uint64 durationMillis = 2; field
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 105 proto.durationMillis = mEndTimestampMillis - mStartTimestampMillis; in toProto()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 95 void noteVibratorOn(int uid, long durationMillis); in noteVibratorOn() argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceSet.java | 487 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/ |
D | GnssLocationProvider.java | 746 long durationMillis = Settings.Global.getLong( in handleRequestLocation() local 750 if (durationMillis == 0) { in handleRequestLocation() 784 durationMillis *= EMERGENCY_LOCATION_UPDATE_DURATION_MULTIPLIER; in handleRequestLocation() 791 provider, durationMillis)); in handleRequestLocation() 803 }, durationMillis); in handleRequestLocation()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 440 final long durationMillis; in reportExemptedSyncScheduled() local 446 durationMillis = mExemptedSyncScheduledNonDozeTimeoutMillis; in reportExemptedSyncScheduled() 451 durationMillis = mExemptedSyncScheduledDozeTimeoutMillis; in reportExemptedSyncScheduled() 460 elapsedRealtime + durationMillis); in reportExemptedSyncScheduled()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 617 public void noteVibratorOn(int uid, long durationMillis) { in noteVibratorOn() argument 620 mStats.noteVibratorOnLocked(uid, durationMillis); in noteVibratorOn()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 1490 public boolean setScanMode(@ScanMode int mode, long durationMillis) { in setScanMode() argument 1497 int durationSeconds = Math.toIntExact(durationMillis / 1000); in setScanMode()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 2075 public void addDuration(BatteryStatsImpl stats, long durationMillis) { in addDuration() argument 2079 mLastAddedDuration = durationMillis * 1000; in addDuration() 5447 public void noteVibratorOnLocked(int uid, long durationMillis) { in noteVibratorOnLocked() argument 5449 getUidStatsLocked(uid).noteVibratorOnLocked(durationMillis); in noteVibratorOnLocked() 7321 public void noteVibratorOnLocked(long durationMillis) { in noteVibratorOnLocked() argument 7322 createVibratorOnTimerLocked().addDuration(mBsi, durationMillis); in noteVibratorOnLocked()
|
/frameworks/base/api/ |
D | test-lint-baseline.txt | 2244 MutableBareField: android.os.StrictMode.ViolationInfo#durationMillis:
|