diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-02 01:24:47 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-02 01:24:47 +0000 |
commit | f138697fe1413ae17630bbaa2f56f8fcd78e68d5 (patch) | |
tree | aca1cb1cdf6eec5387f1b8df47adae515e44c4c8 | |
parent | a90aca8f78bea8897575032319172c68f0a88979 (diff) | |
parent | 9bf135f0492f500104a47a84ea5f249e2bc445b5 (diff) | |
download | contrib-f138697fe1413ae17630bbaa2f56f8fcd78e68d5.tar.gz |
Snap for 11038355 from 9bf135f0492f500104a47a84ea5f249e2bc445b5 to 24Q1-release
Change-Id: I9ee9705e494ff30a6a618c3b04720822f4ac8cb3
-rw-r--r-- | src/com/android/performance/tests/BootTimeTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/performance/tests/BootTimeTest.java b/src/com/android/performance/tests/BootTimeTest.java index d8000f7..ebc0fff 100644 --- a/src/com/android/performance/tests/BootTimeTest.java +++ b/src/com/android/performance/tests/BootTimeTest.java @@ -38,6 +38,7 @@ import com.android.tradefed.invoker.IInvocationContext; import com.android.tradefed.invoker.TestInformation; import com.android.tradefed.log.LogUtil.CLog; import com.android.tradefed.metrics.proto.MetricMeasurement.Metric; +import com.android.tradefed.result.CollectingTestListener; import com.android.tradefed.result.FailureDescription; import com.android.tradefed.result.ITestInvocationListener; import com.android.tradefed.result.InputStreamSource; @@ -499,7 +500,8 @@ public class BootTimeTest extends InstalledInstrumentationsTest // setup the pin. if (!mSkipPinSetup) { mRunner = createRemoteAndroidTestRunner(SETUP_PIN_TEST); - getDevice().runInstrumentationTests(mRunner, listener); + getDevice() + .runInstrumentationTests(mRunner, new CollectingTestListener()); } testSuccessiveBoots(true, listener); } finally { @@ -699,7 +701,7 @@ public class BootTimeTest extends InstalledInstrumentationsTest if (dismissPin) { getRunUtil().sleep(2000); mRunner = createRemoteAndroidTestRunner(UNLOCK_PIN_TEST); - getDevice().runInstrumentationTests(mRunner, listener); + getDevice().runInstrumentationTests(mRunner, new CollectingTestListener()); } if (mBootTimePerIteration) { |