Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5de7075 authored by Calin Juravle's avatar Calin Juravle Committed by Automerger Merge Worker
Browse files

Merge "Set the timestamp of dex2oat metrics to SystemClock.uptimeMillis()"...

Merge "Set the timestamp of dex2oat metrics to SystemClock.uptimeMillis()" into sc-dev am: a389edcf am: 02363e40

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15081198

Change-Id: I9343cddaa3ca5fddd59c4e35b720136602059820
parents b1f9412f 02363e40
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import static com.android.internal.art.ArtStatsLog.ART_DATUM_REPORTED__COMPILATI
import static com.android.internal.art.ArtStatsLog.ART_DATUM_REPORTED__COMPILE_FILTER__ART_COMPILATION_FILTER_FAKE_RUN_FROM_APK_FALLBACK;
import static com.android.internal.art.ArtStatsLog.ART_DATUM_REPORTED__COMPILE_FILTER__ART_COMPILATION_FILTER_FAKE_RUN_FROM_VDEX_FALLBACK;

import android.os.SystemClock;
import android.util.Slog;
import android.util.jar.StrictJarFile;

@@ -288,7 +289,7 @@ public class ArtStatsLogUtils {
                            ART_DATUM_REPORTED__COMPILE_FILTER__ART_COMPILATION_FILTER_UNKNOWN),
                    COMPILATION_REASON_MAP.getOrDefault(compilationReason, ArtStatsLog.
                            ART_DATUM_REPORTED__COMPILATION_REASON__ART_COMPILATION_REASON_UNKNOWN),
                    /*timestamp_millis=*/ 0L,
                    /*timestamp_millis=*/ SystemClock.uptimeMillis(),
                    ArtStatsLog.ART_DATUM_REPORTED__THREAD_TYPE__ART_THREAD_MAIN,
                    kind,
                    value,