/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | FakeUid.java | 94 public void noteWifiRunningLocked(long elapsedRealtime) { in noteWifiRunningLocked() argument 98 public void noteWifiStoppedLocked(long elapsedRealtime) { in noteWifiStoppedLocked() argument 102 public void noteFullWifiLockAcquiredLocked(long elapsedRealtime) { in noteFullWifiLockAcquiredLocked() argument 106 public void noteFullWifiLockReleasedLocked(long elapsedRealtime) { in noteFullWifiLockReleasedLocked() argument 110 public void noteWifiScanStartedLocked(long elapsedRealtime) { in noteWifiScanStartedLocked() argument 114 public void noteWifiScanStoppedLocked(long elapsedRealtime) { in noteWifiScanStoppedLocked() argument 118 public void noteWifiBatchedScanStartedLocked(int csph, long elapsedRealtime) { in noteWifiBatchedScanStartedLocked() argument 122 public void noteWifiBatchedScanStoppedLocked(long elapsedRealtime) { in noteWifiBatchedScanStoppedLocked() argument 126 public void noteWifiMulticastEnabledLocked(long elapsedRealtime) { in noteWifiMulticastEnabledLocked() argument 130 public void noteWifiMulticastDisabledLocked(long elapsedRealtime) { in noteWifiMulticastDisabledLocked() argument [all …]
|
D | BatteryUtils.java | 148 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getScreenUsageTimeMs() 153 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessBackgroundTimeMs() 163 final long rawRealTimeUs = PowerUtil.convertMsToUs(SystemClock.elapsedRealtime()); in getProcessForegroundTimeMs() 285 SystemClock.elapsedRealtime()); in calculateRunningTimeBasedOnStatsType() 448 SystemClock.elapsedRealtime()); in getBatteryInfo()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | FakeUid.java | 94 public void noteWifiRunningLocked(long elapsedRealtime) { in noteWifiRunningLocked() argument 98 public void noteWifiStoppedLocked(long elapsedRealtime) { in noteWifiStoppedLocked() argument 102 public void noteFullWifiLockAcquiredLocked(long elapsedRealtime) { in noteFullWifiLockAcquiredLocked() argument 106 public void noteFullWifiLockReleasedLocked(long elapsedRealtime) { in noteFullWifiLockReleasedLocked() argument 110 public void noteWifiScanStartedLocked(long elapsedRealtime) { in noteWifiScanStartedLocked() argument 114 public void noteWifiScanStoppedLocked(long elapsedRealtime) { in noteWifiScanStoppedLocked() argument 118 public void noteWifiBatchedScanStartedLocked(int csph, long elapsedRealtime) { in noteWifiBatchedScanStartedLocked() argument 122 public void noteWifiBatchedScanStoppedLocked(long elapsedRealtime) { in noteWifiBatchedScanStoppedLocked() argument 126 public void noteWifiMulticastEnabledLocked(long elapsedRealtime) { in noteWifiMulticastEnabledLocked() argument 130 public void noteWifiMulticastDisabledLocked(long elapsedRealtime) { in noteWifiMulticastDisabledLocked() argument [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 105 mDisChargingBatteryBroadcast, mBatteryStats, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_hasStatusLabel() 115 mBatteryStats, SystemClock.elapsedRealtime() * 1000, false /* shortString */); in testGetBatteryInfo_doNotShowChargingMethod_hasRemainingTime() 124 mBatteryStats, SystemClock.elapsedRealtime() * 1000, false /* shortString */); in testGetBatteryInfo_doNotShowChargingMethod_noRemainingTime() 134 mBatteryStats, SystemClock.elapsedRealtime() * 1000, true /* shortString */); in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData() 146 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() 149 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() 166 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_basedOnUsageTrueLessThanSevenMinutes_usesCorrectString() 169 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_basedOnUsageTrueLessThanSevenMinutes_usesCorrectString() 186 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() 199 mBatteryStats, estimate, SystemClock.elapsedRealtime() * 1000, in testGetBatteryInfo_basedOnUsageTrueBetweenSevenAndFifteenMinutes_usesCorrectString() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioClock.java | 49 mDeltaUpdatedTimeUs = SystemClock.elapsedRealtime() * 1000; in start() 65 mDeltaUpdatedTimeUs = SystemClock.elapsedRealtime() * 1000; in setPositionUs() 75 SystemClock.elapsedRealtime() * 1000 - mDeltaUpdatedTimeUs; in getPositionUs() 87 mDeltaUpdatedTimeUs = SystemClock.elapsedRealtime() * 1000; in setPlaybackSpeed() 92 return SystemClock.elapsedRealtime() * 1000 - toSubtractUs; in elapsedRealtimeMinus()
|
D | AudioTrackMonitor.java | 59 mExpireMs = SystemClock.elapsedRealtime(); in reset() 86 mStartMs = SystemClock.elapsedRealtime(); in addPts() 102 long now = SystemClock.elapsedRealtime(); in maybeLog()
|
/packages/apps/Dialer/java/com/android/incallui/latencyreport/ |
D | LatencyReport.java | 66 callAddedTimeMillis = SystemClock.elapsedRealtime(); in LatencyReport() 83 callAddedTimeMillis = SystemClock.elapsedRealtime(); in LatencyReport() 112 callBlockingTimeMillis = SystemClock.elapsedRealtime(); in onCallBlockingDone() 122 callNotificationTimeMillis = SystemClock.elapsedRealtime(); in onNotificationShown() 132 inCallUiShownTimeMillis = SystemClock.elapsedRealtime(); in onInCallUiShown()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 99 long time = SystemClock.elapsedRealtime(); in searchFromDataManagers() 119 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers() 143 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers() 156 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers() 161 time = SystemClock.elapsedRealtime(); in searchFromDataManagers() 182 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers() 208 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers() 221 + (SystemClock.elapsedRealtime() - time) in searchFromDataManagers()
|
D | TvProviderSearch.java | 171 long time = SystemClock.elapsedRealtime(); in searchChannels() 209 + (SystemClock.elapsedRealtime() - time) in searchChannels() 360 long time = SystemClock.elapsedRealtime(); in searchPrograms() 471 + (SystemClock.elapsedRealtime() - time) in searchPrograms() 498 long time = SystemClock.elapsedRealtime(); in searchInputs() 521 + (SystemClock.elapsedRealtime() - time) in searchInputs() 547 + (SystemClock.elapsedRealtime() - time) in searchInputs() 561 + (SystemClock.elapsedRealtime() - time) in searchInputs()
|
/packages/apps/Dialer/java/com/android/dialer/performancereport/ |
D | PerformanceReport.java | 63 appLaunchTimeMillis = SystemClock.elapsedRealtime(); in startRecording() 92 long currentTime = SystemClock.elapsedRealtime(); in recordClick() 127 return SystemClock.elapsedRealtime() - appLaunchTimeMillis; in getTimeSinceAppLaunch() 134 return SystemClock.elapsedRealtime() - firstClickTimeMillis; in getTimeSinceFirstClick()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | Clock.java | 37 long elapsedRealtime(); in elapsedRealtime() method 64 public long elapsedRealtime() { 65 return SystemClock.elapsedRealtime();
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | PausableChronometer.java | 54 setBase(SystemClock.elapsedRealtime()); in reset() 63 setBase(SystemClock.elapsedRealtime() - mTimeWhenPaused); in resume() 73 mTimeWhenPaused = SystemClock.elapsedRealtime() - getBase(); in pause()
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
D | TvOptionsRowAdapterTest.java | 141 long start = SystemClock.elapsedRealtime(); in waitUntilTracksHaveSize() 143 while (SystemClock.elapsedRealtime() < start + WAIT_TRACK_EVENT_TIMEOUT_MS) { in waitUntilTracksHaveSize() 172 long start = SystemClock.elapsedRealtime(); in waitUntilTrackSelected() 174 while (SystemClock.elapsedRealtime() < start + WAIT_TRACK_EVENT_TIMEOUT_MS) { in waitUntilTrackSelected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AppScanStats.java | 185 startTime = SystemClock.elapsedRealtime(); in recordScanStart() 250 stopTime = SystemClock.elapsedRealtime(); in recordScanStop() 313 scan.suspendStartTime = SystemClock.elapsedRealtime(); in recordScanSuspend() 324 stopTime = SystemClock.elapsedRealtime(); in recordScanResume() 346 return (SystemClock.elapsedRealtime() - mLastScans.get(0).timestamp) in isScanningTooFrequently() 354 return (SystemClock.elapsedRealtime() - mScanStartTime) > SCAN_TIMEOUT_MS; in isScanningTooLong() 452 long currTime = SystemClock.elapsedRealtime(); in dumpToString()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarService.java | 19 import static android.os.SystemClock.elapsedRealtime; 150 long start = elapsedRealtime(); in getVehicleWithTimeout() 151 while (vehicle == null && (start + waitMilliseconds) > elapsedRealtime()) { in getVehicleWithTimeout() 247 long lastCrash = SystemClock.elapsedRealtime(); in crashDetected()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 144 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in startSound() 157 final long delay = SystemClock.elapsedRealtime() - cmd.requestTime; in stopSound() 280 cmd.requestTime = SystemClock.elapsedRealtime(); in play() 308 cmd.requestTime = SystemClock.elapsedRealtime(); in stop()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioPlaybackProgressBar.java | 50 progress = (int) (((mCumulativeTime + SystemClock.elapsedRealtime() - in AudioPlaybackProgressBar() 83 mCurrentPlayStartTime = SystemClock.elapsedRealtime(); in resume() 89 mCumulativeTime += SystemClock.elapsedRealtime() - mCurrentPlayStartTime; in pause()
|
/packages/apps/Dialer/java/com/android/dialer/metrics/ |
D | StubMetrics.java | 64 SystemClock.elapsedRealtime() - stubTimerEvent.startTime); in stopTimer() 81 SystemClock.elapsedRealtime() - startTime); in stopUnnamedTimer() 108 this.startTime = SystemClock.elapsedRealtime(); in StubTimerEvent()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | ProgressLiveData.java | 61 this(playbackState, maxProgress, SystemClock::elapsedRealtime); in ProgressLiveData() 67 Supplier<Long> elapsedRealtime) { in ProgressLiveData() argument 70 mElapsedRealtime = elapsedRealtime; in ProgressLiveData()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | Utils.java | 19 import static android.os.SystemClock.elapsedRealtime; 102 long endTime = elapsedRealtime() + waitMilliseconds; in getVehicleWithTimeout() 103 while (vehicle == null && endTime > elapsedRealtime()) { in getVehicleWithTimeout()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 576 mTransactionStartMillis = SystemClock.elapsedRealtime(); in startNewTransaction() 680 return (short) ((SystemClock.elapsedRealtime() - mTransactionStartMillis) / 1000); in getSecs() 752 final long now = SystemClock.elapsedRealtime(); in scheduleLeaseTimers() 861 mEnterTimeMs = SystemClock.elapsedRealtime(); in enter() 866 long durationMs = SystemClock.elapsedRealtime() - mEnterTimeMs; in exit() 1051 (leaseTimeMillis > 0) ? SystemClock.elapsedRealtime() + leaseTimeMillis : 0; in setDhcpLeaseExpiry() 1084 long alarmTime = SystemClock.elapsedRealtime() + mTimeout; in maybeInitTimeout() 1151 long now = SystemClock.elapsedRealtime(); in scheduleKick() 1262 mLastInitEnterTime = SystemClock.elapsedRealtime(); in enter() 1296 mLastInitEnterTime = SystemClock.elapsedRealtime(); in enter() [all …]
|
D | DhcpLeaseRepository.java | 191 final long currentTime = mClock.elapsedRealtime(); in getOffer() 281 final long currentTime = mClock.elapsedRealtime(); in requestLease() 408 final long expTime = mClock.elapsedRealtime() + mLeaseTimeMs; in markLeaseDeclined() 435 removeExpiredLeases(mClock.elapsedRealtime()); in getCommittedLeases() 444 removeExpiredLeases(mClock.elapsedRealtime()); in getDeclinedAddresses()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDrivingRestrictionsTest.java | 258 long start = SystemClock.elapsedRealtime(); in waitForDrivingStateChange() 262 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForDrivingStateChange() 280 long start = SystemClock.elapsedRealtime(); in waitForUxRestrictionsChange() 283 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForUxRestrictionsChange()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSession.java | 151 mTuneStartTimestamp = SystemClock.elapsedRealtime(); in onTune() 165 mTuneStartTimestamp = SystemClock.elapsedRealtime(); in onTimeShiftPlay() 195 + (SystemClock.elapsedRealtime() - mTuneStartTimestamp) in notifyVideoAvailable()
|
D | TunerSessionExoV2.java | 150 mTuneStartTimestamp = SystemClock.elapsedRealtime(); in onTune() 164 mTuneStartTimestamp = SystemClock.elapsedRealtime(); in onTimeShiftPlay() 194 + (SystemClock.elapsedRealtime() - mTuneStartTimestamp) in notifyVideoAvailable()
|