/frameworks/ex/common/tests/src/com/android/common/ |
D | OperationSchedulerTest.java | 32 public long timeMillis = DEFAULT_TIME; field in OperationSchedulerTest.TimeTravelScheduler 35 protected long currentTimeMillis() { return timeMillis; } in currentTimeMillis() 53 long beforeTrigger = scheduler.timeMillis; in testScheduler() 70 long beforeError = (scheduler.timeMillis += 100); in testScheduler() 80 beforeError = (scheduler.timeMillis += 100); in testScheduler() 101 long beforeSuccess = (scheduler.timeMillis += 100); in testScheduler() 134 long beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff() 141 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff() 147 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff() 153 beforeError = (scheduler.timeMillis += 10); in testExponentialBackoff() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/shared/model/ |
D | PackageChangeModel.kt | 40 @get:CurrentTimeMillisLong val timeMillis: Long constant 54 override val timeMillis: Long constant 67 @CurrentTimeMillisLong override val timeMillis: Long = 0, constant in com.android.systemui.common.shared.model.PackageChangeModel.Uninstalled 79 @CurrentTimeMillisLong override val timeMillis: Long = 0, constant in com.android.systemui.common.shared.model.PackageChangeModel.UpdateStarted 92 @CurrentTimeMillisLong override val timeMillis: Long = 0, constant in com.android.systemui.common.shared.model.PackageChangeModel.UpdateFinished 104 @CurrentTimeMillisLong override val timeMillis: Long = 0, constant in com.android.systemui.common.shared.model.PackageChangeModel.Installed 116 @CurrentTimeMillisLong override val timeMillis: Long = 0, constant in com.android.systemui.common.shared.model.PackageChangeModel.Changed
|
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/ |
D | FlowTestUtil.kt | 24 suspend fun <T> Flow<T>.firstWithTimeoutOrNull(timeMillis: Long = 500): T? = in firstWithTimeoutOrNull() 25 withTimeoutOrNull(timeMillis) { in firstWithTimeoutOrNull() 29 suspend fun <T> Flow<T>.toListWithTimeout(timeMillis: Long = 500): List<T> { in toListWithTimeout() 31 return withTimeoutOrNull(timeMillis) { in toListWithTimeout()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardActiveUnlockModel.kt | 26 @CurrentTimeMillisLong override var timeMillis: Long = 0L, variable in com.android.keyguard.KeyguardActiveUnlockModel 42 DATE_FORMAT.format(timeMillis), in <lambda>() 43 timeMillis.toString(), in <lambda>() 69 timeMillis = model.timeMillis in insert()
|
D | KeyguardFingerprintListenModel.kt | 26 @CurrentTimeMillisLong override var timeMillis: Long = 0L, variable in com.android.keyguard.KeyguardFingerprintListenModel 57 DATE_FORMAT.format(timeMillis), in <lambda>() 58 timeMillis.toString(), in <lambda>() 99 timeMillis = model.timeMillis in insert()
|
D | KeyguardListenModel.kt | 25 abstract var timeMillis: Long variable in com.android.keyguard.KeyguardListenModel
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetectorTest.java | 109 private void tap(int timeMillis, float x, float y) { in tap() argument 111 MotionEvent.obtain(timeMillis, timeMillis, MotionEvent.ACTION_DOWN, x, y, 0)); in tap() 113 MotionEvent.obtain(timeMillis, timeMillis + 10, MotionEvent.ACTION_UP, x, y, 0)); in tap()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeMigrationUtilsTest.java | 107 for (long timeMillis : timesMillis) { in formatMillisAsDateTime_matchesOldBehavior() 109 time.set(timeMillis); in formatMillisAsDateTime_matchesOldBehavior() 111 String newResult = TimeMigrationUtils.formatMillisWithFixedFormat(timeMillis); in formatMillisAsDateTime_matchesOldBehavior() 114 + ", timeMillis=" + timeMillis, in formatMillisAsDateTime_matchesOldBehavior()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/ |
D | PackageUpdateMonitor.kt | 97 timeMillis = systemClock.currentTimeMillis() in <lambda>() 108 timeMillis = systemClock.currentTimeMillis() in <lambda>() 123 timeMillis = systemClock.currentTimeMillis() in <lambda>() 135 timeMillis = systemClock.currentTimeMillis() in <lambda>() 146 timeMillis = systemClock.currentTimeMillis() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/common/data/repository/ |
D | FakePackageChangeRepository.kt | 60 timeMillis = systemClock.currentTimeMillis(), in notifyInstall() 74 timeMillis = systemClock.currentTimeMillis(), in notifyUpdateStarted() 88 timeMillis = systemClock.currentTimeMillis(), in notifyUpdateFinished() 102 timeMillis = systemClock.currentTimeMillis(), in notifyUninstall()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeMigrationUtils.java | 35 public static String formatMillisWithFixedFormat(long timeMillis) { in formatMillisWithFixedFormat() argument 38 return new TimeFormatter().formatMillisWithFixedFormat(timeMillis); in formatMillisWithFixedFormat()
|
/frameworks/base/core/java/android/view/displayhash/ |
D | VerifiedDisplayHash.java | 111 @CurrentTimeMillisLong long timeMillis, in VerifiedDisplayHash() 115 this.mTimeMillis = timeMillis; in VerifiedDisplayHash() 201 long timeMillis = in.readLong(); in VerifiedDisplayHash() local 206 this.mTimeMillis = timeMillis; in VerifiedDisplayHash()
|
D | DisplayHash.java | 78 public DisplayHash(@CurrentTimeMillisLong long timeMillis, @NonNull Rect boundsInWindow, in DisplayHash() argument 80 mTimeMillis = timeMillis; in DisplayHash()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/ |
D | PackageUpdateMonitorTest.kt | 111 timeMillis = 100, in packageAdded() 132 timeMillis = 200, in packageRemoved() 153 timeMillis = 100, in packageChanged() 174 timeMillis = 100, in packageUpdateStarted() 195 timeMillis = 100, in packageUpdateFinished()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerDialog.java | 60 long timeMillis = 0; in onCreateView() local 64 timeMillis = b.getLong(BUNDLE_START_TIME_MILLIS); in onCreateView() 72 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this, in onCreateView()
|
D | TimeZonePickerUtils.java | 82 private CharSequence buildGmtDisplayName(TimeZone tz, long timeMillis, boolean grayGmt) { in buildGmtDisplayName() argument 84 time.set(timeMillis); in buildGmtDisplayName() 92 final int gmtOffset = tz.getOffset(timeMillis); in buildGmtDisplayName()
|
D | TimeZoneData.java | 66 public TimeZoneData(Context context, String defaultTimeZoneId, long timeMillis) { in TimeZoneData() argument 72 if (timeMillis == 0) { in TimeZoneData() 75 mTimeMillis = timeMillis; in TimeZoneData() 90 public void setTime(long timeMillis) { in setTime() argument 91 mTimeMillis = timeMillis; in setTime()
|
D | TimeZonePickerView.java | 56 String timeZone, long timeMillis, OnTimeZoneSetListener l, in TimeZonePickerView() argument 66 TimeZoneData tzd = new TimeZoneData(mContext, timeZone, timeMillis); in TimeZonePickerView()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 367 long timeMillis = createUnixEpochTime(2015, 6, 20, 1, 2, 3); in testDefaultBoostBehavior() local 378 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testDefaultBoostBehavior() 383 majorityWinterOffset, 0, timeMillis, null /* emulatorTimeZone */); in testDefaultBoostBehavior() 394 chathamWinterOffset, 0, timeMillis, null /* emulatorTimeZone */); in testDefaultBoostBehavior() 403 nonsenseOffset, 0, timeMillis, null /* emulatorTimeZone */); in testDefaultBoostBehavior() 411 long timeMillis = createUnixEpochTime(2015, 6, 20, 1, 2, 3); in testNoDefaultBoostBehavior() local 420 mTimeZoneLookupHelper.lookupByCountry(countryIsoCode, timeMillis)); in testNoDefaultBoostBehavior() 425 chuukWinterOffset, 0, timeMillis, null /* emulatorTimeZone */); in testNoDefaultBoostBehavior() 434 nonsenseOffset, 0, timeMillis, null /* emulatorTimeZone */); in testNoDefaultBoostBehavior()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelper.java | 169 long timeMillis = nitzData.getCurrentTimeInMillis(); in lookupByNitz() local 178 OffsetResult match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, isDst); in lookupByNitz() 185 match = lookupByInstantOffsetDst(timeMillis, utcOffsetMillis, null /* isDst */); in lookupByNitz() 259 private static OffsetResult lookupByInstantOffsetDst(long timeMillis, int utcOffsetMillis, in lookupByInstantOffsetDst() argument 271 if (offsetMatchesAtTime(tz, utcOffsetMillis, isDst, timeMillis)) { in lookupByInstantOffsetDst()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 279 private static TwilightState calculateTwilightState(Location location, long timeMillis) { in calculateTwilightState() argument 288 noon.setTimeInMillis(timeMillis); in calculateTwilightState() 298 if (sunsetTimeMillis < timeMillis) { in calculateTwilightState() 302 } else if (sunriseTimeMillis > timeMillis) { in calculateTwilightState()
|
/frameworks/base/core/java/android/app/ |
D | IActivityController.aidl | 48 long timeMillis, String stackTrace); in appCrashed() argument
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 162 public Event(long timeMillis, int pid, int uid, Object data) { in Event() argument 163 mTimeMillis = timeMillis; in Event()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 139 public void setTime(long timeMillis) { in setTime() argument 140 mTimeMillis = timeMillis; in setTime() 141 LocalDateTime dateTime = toLocalDateTime(timeMillis, ZoneId.systemDefault()); in setTime() 537 private static LocalDateTime toLocalDateTime(long timeMillis, ZoneId zoneId) { in toLocalDateTime() argument 541 Instant instant = Instant.ofEpochMilli(timeMillis); in toLocalDateTime()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | KernelWakelockReaderTest.java | 56 public ProcFileBuilder addLine(String name, int count, long timeMillis) { in addLine() argument 57 return addLine(name, count, timeMillis, 0); in addLine() 60 public ProcFileBuilder addLine(String name, int count, long timeMillis, long activeTimeMs) { in addLine() argument 64 .append(timeMillis).append("\t0\t0\t0\n"); in addLine()
|