diff options
author | Xin Li <delphij@google.com> | 2024-06-13 10:51:01 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2024-06-13 10:51:01 -0700 |
commit | 0991b2298d2db6b73df11419c3516097858bf2d7 (patch) | |
tree | 4352cf8e895f8eceb1ddf349292c905378e09baf | |
parent | dfba622d924155d739a1bf3be5f2d33b5ceec5a6 (diff) | |
parent | 97a2c0aade4da5157e8cee1e5d51b3024b8b1283 (diff) | |
download | contrib-0991b2298d2db6b73df11419c3516097858bf2d7.tar.gz |
Bug: 346855327
Merged-In: I3d7ee29923ca5f883e53d0517c5fe356bd448a05
Change-Id: I6e785a2e06cfc01b93fc3196642d9fc33b2da400
-rw-r--r-- | src/com/android/performance/tests/BootTimeTest.java | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/com/android/performance/tests/BootTimeTest.java b/src/com/android/performance/tests/BootTimeTest.java index ebc0fff..e7c1362 100644 --- a/src/com/android/performance/tests/BootTimeTest.java +++ b/src/com/android/performance/tests/BootTimeTest.java @@ -219,17 +219,6 @@ public class BootTimeTest extends InstalledInstrumentationsTest importance = Importance.IF_UNSET) private List<File> mTestFileNames = new ArrayList<>(); - @Option( - name = "alt-dir", - description = - "Alternate directory to look for the apk if the apk is not in the tests zip" - + " file. For each alternate dir, will look in //, //data/app, " - + "//DATA/app," - + " //DATA/app/apk_name/ and //DATA/priv-app/apk_name/. Can be " - + "repeated." - + " Look for apks in last alt-dir first.") - private List<File> mAltDirs = new ArrayList<>(); - @Option(name = "successive-boot", description = "Calculate the successive boot delay info") private boolean mSuccessiveBoot = false; @@ -753,7 +742,12 @@ public class BootTimeTest extends InstalledInstrumentationsTest } } - String perfettoTraceFilePath = processPerfettoFile(testId.replace("$", "_")); + String perfettoTraceFilePath = + processPerfettoFile( + String.format( + "%s_%s", + successiveBootIterationTestId.getClassName().replace("$", "_"), + successiveBootIterationTestId.getTestName())); if (mBootTimePerIteration) { Map<String, String> iterationResult = new HashMap<>(); |