/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | BaseCollectionListenerTest.java | 38 import static org.mockito.Mockito.verify; 83 verify(helper, times(1)).startCollecting(); in testPerRunFlow() 85 verify(helper, times(1)).startCollecting(); in testPerRunFlow() 87 verify(helper, times(0)).stopCollecting(); in testPerRunFlow() 89 verify(helper, times(1)).stopCollecting(); in testPerRunFlow() 104 verify(helper, times(0)).startCollecting(); in testPerTestFlow() 106 verify(helper, times(1)).startCollecting(); in testPerTestFlow() 108 verify(helper, times(1)).getMetrics(); in testPerTestFlow() 109 verify(helper, times(1)).stopCollecting(); in testPerTestFlow() 111 verify(helper, times(2)).startCollecting(); in testPerTestFlow() [all …]
|
D | BatteryStatsListenerTest.java | 42 import static org.mockito.Mockito.verify; 100 verify(mListener).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunCollector() 101 verify(mListener, times(1)).resetBatteryStats(); in testTestRunCollector() 105 verify(mListener, times(1)).resetBatteryStats(); in testTestRunCollector() 109 verify(mListener, times(1)).resetBatteryStats(); in testTestRunCollector() 110 verify(mListener, times(0)).dumpBatteryStats(anyString()); in testTestRunCollector() 114 verify(mListener, times(1)).resetBatteryStats(); in testTestRunCollector() 115 verify(mListener, times(1)).dumpBatteryStats(anyString()); in testTestRunCollector() 136 verify(mListener).createAndEmptyDirectory("unique/bs/dir"); in testTestRunSaveToSpecifiedDirCollector() 148 verify(mListener, times(0)).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunToBytesCollector() [all …]
|
D | HeapDumpListenerTest.java | 19 import static org.mockito.Mockito.verify; 64 verify(mHelper, times(1)).startCollecting("run_test_one_1"); in testHeapCollectionEnableAllIterations() 77 verify(mHelper, times(0)).startCollecting("run_test_one_1"); in testHeapCollectionEnableAllFlagDisabled() 89 verify(mHelper, times(0)).startCollecting("run_test_one_1"); in testHeapCollectionEnableAllDisabledByDefault() 105 verify(mHelper, times(1)).startCollecting("run_test_one_2"); in testHeapCollectionSpecificIterations() 106 verify(mHelper, times(1)).startCollecting("run_test_one_3"); in testHeapCollectionSpecificIterations() 124 verify(mHelper, times(1)).setUp(HeapDumpListener.DEFAULT_OUTPUT_DIR, "system_server"); in testHeapCollectionWithProcessNames() 125 verify(mHelper, times(1)).startCollecting("run_test_one_2"); in testHeapCollectionWithProcessNames() 126 verify(mHelper, times(1)).startCollecting("run_test_one_3"); in testHeapCollectionWithProcessNames() 143 verify(mHelper, times(1)).startCollecting("run_test_one_2"); in testHeapCollectionSpecificIterationsMultipleTests() [all …]
|
D | PerfettoListenerTest.java | 31 import static org.mockito.Mockito.verify; 152 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerTestSuccessFlow() 154 verify(mPerfettoHelper, times(1)) in testPerfettoPerTestSuccessFlow() 180 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerTestFailureFlowDefault() 187 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault() 208 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerTestFailureFlowWithSkipMmetrics() 215 verify(mPerfettoHelper, times(1)).stopPerfetto(anyInt()); in testPerfettoPerTestFailureFlowWithSkipMmetrics() 235 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoDefaultStartWaitTime() 237 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoDefaultStartWaitTime() 262 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoCustomStartWaitTime() [all …]
|
D | SimpleperfListenerTest.java | 27 import static org.mockito.Mockito.verify; 110 verify(mSimpleperfHelperVisibleUidevice, times(1)).getPID("surfaceflinger"); in testSingleRecordCallsWithUiDevice() 111 verify(mSimpleperfHelperVisibleUidevice, times(1)) in testSingleRecordCallsWithUiDevice() 113 verify(mUiDevice, times(1)) in testSingleRecordCallsWithUiDevice() 120 verify(mSimpleperfHelperVisibleUidevice, times(1)).getPID("surfaceflinger"); in testRecordCallsWithUiDevice() 121 verify(mSimpleperfHelperVisibleUidevice, times(1)).getPID("system_server"); in testRecordCallsWithUiDevice() 122 verify(mSimpleperfHelperVisibleUidevice, times(1)) in testRecordCallsWithUiDevice() 128 verify(mUiDevice, times(1)) in testRecordCallsWithUiDevice() 176 verify(mSimpleperfHelper, times(1)).startCollecting(anyString(), anyString()); in testSimpleperfPerTestSuccessFlow() 178 verify(mSimpleperfHelper, times(1)).stopCollecting(anyString()); in testSimpleperfPerTestSuccessFlow() [all …]
|
D | TotalPssMetricListenerTest.java | 26 import static org.mockito.Mockito.verify; 79 verify(mTotalPssMetricHelper).setUp("process1", "process2"); in testHelperReceivesProcessNames() 94 verify(mTotalPssMetricHelper).setUp("process1"); in testAdditionalPssOptions() 95 verify(mTotalPssMetricHelper).setMinIterations(50); in testAdditionalPssOptions() 96 verify(mTotalPssMetricHelper).setMaxIterations(102); in testAdditionalPssOptions() 97 verify(mTotalPssMetricHelper).setSleepTime(2000); in testAdditionalPssOptions() 98 verify(mTotalPssMetricHelper).setThreshold(2048); in testAdditionalPssOptions()
|
D | PerfettoTracingPerTestStrategyTest.java | 26 import static org.mockito.Mockito.verify; 116 verify(mPerfettoHelper, times(0)).startCollecting(); in testPerfettoTraceStartOnTestStart() 118 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOnTestStart() 130 verify(mPerfettoHelper, times(0)).startCollecting(); in testPerfettoTraceStartOnTestStartMultiple() 133 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOnTestStartMultiple() 135 verify(mPerfettoHelper, times(2)).startCollecting(); in testPerfettoTraceStartOnTestStartMultiple() 148 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceEndOnRunEnd() 150 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd() 152 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd() 167 verify(mPerfettoHelper, times(2)).startCollecting(); in testPerfettoTraceEndOnRunEndMultiple() [all …]
|
D | PerfettoTracingPerRunStrategyTest.java | 26 import static org.mockito.Mockito.verify; 109 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOnRunStart() 121 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOnRunStartMultiple() 123 verify(mPerfettoHelper, times(2)).startCollecting(); in testPerfettoTraceStartOnRunStartMultiple() 136 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceEndOnRunEnd() 137 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEnd() 152 verify(mPerfettoHelper, times(2)).startCollecting(); in testPerfettoTraceEndOnRunEndMultiple() 153 verify(mPerfettoHelper, times(2)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndOnRunEndMultiple() 169 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart() 172 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceDoesNotStartOnTestStart() [all …]
|
D | ScreenRecordCollectorTest.java | 33 import static org.mockito.Mockito.verify; 119 verify(mListener).createDirectory(ScreenRecordCollector.OUTPUT_DIR, true); in testScreenRecord() 127 verify(mDevice, times(i)).executeShellCommand(matches("screenrecord .*video.mp4")); in testScreenRecord() 129 verify(mDevice, times(i)) in testScreenRecord() 141 verify(mDevice, times(i)).executeShellCommand(eq("pidof screenrecord")); in testScreenRecord() 142 verify(mDevice, times(i)).executeShellCommand(matches("kill -2 1234")); in testScreenRecord() 152 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testScreenRecord() 195 .verify(mDevice, times(ScreenRecordCollector.MAX_RECORDING_PARTS)) in testScreenRecord_multipleTests() 200 .verify(mDevice) in testScreenRecord_multipleTests() 205 .verify(mDevice) in testScreenRecord_multipleTests() [all …]
|
D | PerfettoTracingPerClassStrategyTest.java | 26 import static org.mockito.Mockito.verify; 112 verify(mPerfettoHelper, times(0)).startCollecting(); in testPerfettoTraceStartOnFirstTestStart() 114 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOnFirstTestStart() 126 verify(mPerfettoHelper, times(0)).startCollecting(); in testPerfettoTraceStartOncePerClass() 131 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoTraceStartOncePerClass() 145 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartInClassChange() 147 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceStartInClassChange() 148 verify(mPerfettoHelper, times(2)).startCollecting(); in testPerfettoTraceStartInClassChange() 162 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndsOnRunEnds() 164 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoTraceEndsOnRunEnds() [all …]
|
D | ScreenshotOnFailureCollectorTest.java | 29 import static org.mockito.Mockito.verify; 114 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSavePngAsFile() 123 verify(mListener, times(i)).takeScreenshot(any()); in testSavePngAsFile() 133 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testSavePngAsFile() 156 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSaveUixAsFile() 162 verify(mListener, times(i)).collectUiXml(any()); in testSaveUixAsFile() 169 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testSaveUixAsFile() 194 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testNoUixWithoutOption() 201 verify(mListener, Mockito.never()).collectUiXml(any()); in testNoUixWithoutOption() 206 Mockito.verify(mInstrumentation, times(NUM_TEST_CASE)) in testNoUixWithoutOption() [all …]
|
D | ShowmapSnapshotListenerTest.java | 24 import static org.mockito.Mockito.verify; 76 verify(mShowmapSnapshotHelper).setUp(VALID_OUTPUT_DIR, "process1", "process2"); in testHelperReceivesProcessNames() 90 verify(mShowmapSnapshotHelper).setUp(VALID_OUTPUT_DIR, "process1"); in testAdditionalOptions() 91 verify(mShowmapSnapshotHelper).setMetricNameIndex(SAMPLE_METRIC_INDEX); in testAdditionalOptions() 93 verify(mShowmapSnapshotHelper).setDropCacheOption(3); in testAdditionalOptions()
|
/platform_testing/host_runners/utils/tests/src/com/android/runner/utils/ |
D | InstrumentationResultProtoParserTest.java | 21 import static org.mockito.Mockito.verify; 176 inOrder.verify(mMockListener).testRunStarted(RUN_KEY, 0); in testNullProtoFile() 177 inOrder.verify(mMockListener) in testNullProtoFile() 179 inOrder.verify(mMockListener).testRunEnded(0, Collections.emptyMap()); in testNullProtoFile() 181 verify(mMockListener).testRunStarted(RUN_KEY, 0); in testNullProtoFile() 182 verify(mMockListener) in testNullProtoFile() 184 verify(mMockListener).testRunEnded(0, Collections.emptyMap()); in testNullProtoFile() 199 inOrder.verify(mMockListener).testRunStarted(RUN_KEY, 0); in testEmptyProtoFile() 200 inOrder.verify(mMockListener) in testEmptyProtoFile() 202 inOrder.verify(mMockListener).testRunEnded(0, Collections.emptyMap()); in testEmptyProtoFile() [all …]
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | GarbageCollectionHelperTest.java | 83 inOrder.verify(mUiDevice).executeShellCommand("pidof package.name1"); in testOneAppToGc() 84 inOrder.verify(mUiDevice).executeShellCommand("kill -10 1"); in testOneAppToGc() 96 inOrder.verify(mUiDevice).executeShellCommand("pidof package.name1"); in testMultipleAppsToGc() 97 inOrder.verify(mUiDevice).executeShellCommand("kill -10 1"); in testMultipleAppsToGc() 98 inOrder.verify(mUiDevice).executeShellCommand("pidof package.name2"); in testMultipleAppsToGc() 99 inOrder.verify(mUiDevice).executeShellCommand("kill -10 2"); in testMultipleAppsToGc() 100 inOrder.verify(mUiDevice).executeShellCommand("pidof package.name3"); in testMultipleAppsToGc() 101 inOrder.verify(mUiDevice).executeShellCommand("kill -10 3"); in testMultipleAppsToGc() 113 inOrder.verify(mUiDevice).executeShellCommand("pidof does.not.exist"); in testSkipsGcOnDneApp() 114 inOrder.verify(mUiDevice).executeShellCommand("pidof package.name1"); in testSkipsGcOnDneApp() [all …]
|
/platform_testing/libraries/flicker/collector/test/src/android/tools/collectors/ |
D | DefaultUITraceListenerTest.java | 25 import static org.mockito.Mockito.verify; 115 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerTestSuccessFlow() 117 verify(mPerfettoHelper, times(1)) in testPerfettoPerTestSuccessFlow() 143 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerTestFailureFlowDefault() 149 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerTestFailureFlowDefault() 166 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerRunSuccessFlow() 168 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerRunSuccessFlow() 170 verify(mPerfettoHelper, times(0)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow() 172 verify(mPerfettoHelper, times(1)).stopCollecting(anyLong(), anyString()); in testPerfettoPerRunSuccessFlow() 187 verify(mPerfettoHelper, times(1)).startCollecting(); in testPerfettoPerRunFailureFlow() [all …]
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | GarbageCollectRuleTest.java | 20 import static org.mockito.Mockito.verify; 53 verify(mGcHelper, times(0)).garbageCollect(); in testNoGcBeforeTest() 68 verify(mGcHelper).setUp("package.name1"); in testCallsGcBeforeTest() 69 verify(mGcHelper) in testCallsGcBeforeTest() 91 verify(mGcHelper).setUp("package.name1"); in testCallsGcBeforeAndAfterTest() 97 verify(mGcHelper, times(2)) in testCallsGcBeforeAndAfterTest() 113 verify(mGcHelper).setUp("package.name1"); in testCallsGcOnlyBeforeTest() 119 verify(mGcHelper, times(1)) in testCallsGcOnlyBeforeTest() 135 verify(mGcHelper).setUp("package.name1"); in testExtendWaitTime() 140 verify(mGcHelper, times(1)).garbageCollect(5000L); in testExtendWaitTime()
|
D | UnlockScreenRuleTest.java | 21 import static org.mockito.Mockito.verify; 49 verify(rule.getUiDevice(), times(1)).wakeUp(); in testScreenOff() 50 verify(rule.getUiDevice(), times(1)).pressMenu(); in testScreenOff() 65 verify(rule.getUiDevice(), times(0)).wakeUp(); in testScreenLocked() 66 verify(rule.getUiDevice(), times(1)).pressMenu(); in testScreenLocked() 81 verify(rule.getUiDevice(), times(0)).wakeUp(); in testScreenOn() 82 verify(rule.getUiDevice(), times(0)).pressMenu(); in testScreenOn()
|
D | NotificationPressureRuleTest.java | 19 import static org.mockito.Mockito.verify; 49 verify(rule.initNotificationHelper()) in testPostNotifications_withoutPackage() 58 verify(rule.initNotificationHelper()).cancelNotifications(); in testPostNotifications_withoutPackage() 74 verify(rule.initNotificationHelper()) in testPostNotifications_withPackage() 82 verify(rule.initNotificationHelper()).cancelNotifications(); in testPostNotifications_withPackage()
|
D | SuspendUnsuspendAppRuleTest.java | 20 import static org.mockito.Mockito.verify; 59 verify(mockPackageManager, times(1)) in testSuspendUnsuspendAppRule() 68 verify(mockPackageManager, times(1)) in testSuspendUnsuspendAppRule() 94 verify(mockPackageManager, times(1)) in testEnableSuspendUnsuspendAppRuleTrue() 103 verify(mockPackageManager, times(1)) in testEnableSuspendUnsuspendAppRuleTrue() 129 verify(mockPackageManager, never()) in testEnableSuspendUnsuspendAppRuleFalse() 138 verify(mockPackageManager, never()) in testEnableSuspendUnsuspendAppRuleFalse()
|
D | PressHomeRuleTest.java | 20 import static org.mockito.Mockito.verify; 52 verify(rule.getUiDevice(), never()).pressHome(); in testPressHomeEnabled() 57 verify(rule.getUiDevice(), times(1)).pressHome(); in testPressHomeEnabled() 74 verify(rule.getUiDevice(), never()).pressHome(); in testPressHomeDisabled() 79 verify(rule.getUiDevice(), times(0)).pressHome(); in testPressHomeDisabled()
|
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/ |
D | NativePocTest.java | 27 import static org.mockito.Mockito.verify; 133 verify(device) in testBasicPocExecution() 139 verify(device).deleteFile(REMOTE_POC_FILE); in testBasicPocExecution() 158 verify(device) in testPocExecutionWithArgsAndEnvVarsAndTimeout() 167 verify(device).deleteFile(REMOTE_POC_FILE); in testPocExecutionWithArgsAndEnvVarsAndTimeout() 193 verify(device).pushFile(any(), eq("/tmp/" + TEST_RESOURCE)); in testPocExecutionWithResourceAndAfter() 195 verify(device) in testPocExecutionWithResourceAndAfter() 201 verify(device).executeShellV2Command("echo EXTRA AFTER CMD"); in testPocExecutionWithResourceAndAfter() 202 verify(device).deleteFile(REMOTE_POC_FILE); in testPocExecutionWithResourceAndAfter() 203 verify(device).deleteFile("/tmp/" + TEST_RESOURCE); in testPocExecutionWithResourceAndAfter() [all …]
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunnerTest.java | 26 import static org.mockito.Mockito.verify; 108 verify(mRunNotifier, atLeastOnce()).fireTestFailure(failureCaptor.capture()); in testOverTimeTest_throwsTestTimedOutException() 151 verify(runner, never()).performIdleBeforeTeardown(anyLong()); in testOverTimeTest_doesNotIdleBeforeTeardown() 175 verify(runner, times(1)) in testOverTimeTest_idlesAfterTeardownUntilNextScenario() 203 verify(runner, times(1)) in testRespectsAfterTestPolicy_stayInApp() 208 verify(mRunNotifier, never()).fireTestFailure(any(Failure.class)); in testRespectsAfterTestPolicy_stayInApp() 232 verify(runner, never()).performIdleBeforeTeardown(anyLong()); in testRespectsAfterTestPolicy_exit() 234 verify(runner, times(1)) in testRespectsAfterTestPolicy_exit() 237 verify(mRunNotifier, never()).fireTestFailure(any(Failure.class)); in testRespectsAfterTestPolicy_exit() 267 verify(runner, never()).performIdleBeforeTeardown(anyLong()); in testIgnoredScenario_doesIdle() [all …]
|
/platform_testing/libraries/audio-test-harness/tradefed/src/test/java/com/android/media/audiotestharness/tradefed/ |
D | AudioTestHarnessHermeticServerManagingMetricCollectorTests.java | 24 import static org.mockito.Mockito.verify; 120 verify(mAudioTestHarnessGrpcServerFactory).createOnNextAvailablePort(any()); in onTestRunStart_buildsServerFromFactoryOnAvailablePort() 126 verify(mAudioTestHarnessGrpcServerFactory).createOnNextAvailablePort(null); in onTestRunStart_usesDefaultSharedHostConfigurationWhenNoCaptureDevices() 137 verify(mAudioTestHarnessGrpcServerFactory) in onTestRunStart_usesCustomSharedHostConfigurationWhenCaptureDevicesSet() 154 verify(mAudioTestHarnessGrpcServer).open(); in onTestRunStart_startsServerProperly() 163 verify(mTestDeviceOne).executeAdbCommand("reverse", "tcp:55555", "tcp:8080"); in onTestRunStart_triggersAdbPortReversalToServerPort() 164 verify(mTestDeviceTwo).executeAdbCommand("reverse", "tcp:55555", "tcp:8080"); in onTestRunStart_triggersAdbPortReversalToServerPort() 187 verify(mAudioTestHarnessGrpcServer).close(); in onTestRunEnd_closesGrpcServer() 197 verify(mAudioTestHarnessGrpcServerFactory).close(); in onTestRunEnd_closesServerFactory() 207 verify(mTestDeviceOne).executeAdbCommand("reverse", "--remove-all"); in onTestRunEnd_properlyUndoesPortReversals() [all …]
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | AudioCaptureSessionTests.java | 24 import static org.mockito.Mockito.verify; 73 verify(mAudioCapturer).attachOutput(mCaptureChunkStreamObserverOutputStream); in create_attachesOutputStreamToAudioCapturer() 92 verify(mAudioCapturer).open(); in start_opensAudioCapturer() 116 verify(mAudioCapturer).close(); in stop_closesAudioCapturer() 127 verify(mCaptureChunkStreamObserverOutputStream).close(); in stop_closesCaptureChunkOutputStream() 151 verify(mCaptureChunkStreamObserverOutputStream).awaitClose(1234, TimeUnit.SECONDS); in awaitStop_waitsOnCaptureChunkStreamObserverToClose() 164 verify(mAudioCapturer).close(); in awaitStop_closesAudioCapturerWhenTimeoutReached() 177 verify(mCaptureChunkStreamObserverOutputStream).close(); in awaitStop_closesCaptureChunkOutputStreamWhenTimeoutReached()
|
/platform_testing/host_runners/power/tests/src/com/android/power/ |
D | PowerRunnerTests.java | 128 Mockito.verify(mDevice, Mockito.times(3)).getMountPoint(Mockito.anyString()); in testRunWhenDeviceIsOnline() 129 Mockito.verify(mDevice, Mockito.times(4)).executeShellCommand(Mockito.anyString()); in testRunWhenDeviceIsOnline() 130 Mockito.verify(mDevice, Mockito.times(3)).doesFileExist(Mockito.anyString()); in testRunWhenDeviceIsOnline() 131 Mockito.verify(mIDevice, Mockito.times(4)).getSerialNumber(); in testRunWhenDeviceIsOnline() 132 Mockito.verify(mDevice, Mockito.times(1)) in testRunWhenDeviceIsOnline() 134 Mockito.verify(mPowerRunner, Mockito.times(1)).setUp(); in testRunWhenDeviceIsOnline() 135 Mockito.verify(mPowerRunner, Mockito.times(1)).waitForDeviceToBeDisconnected(); in testRunWhenDeviceIsOnline() 136 Mockito.verify(mPowerRunner, Mockito.times(1)).waitForDeviceToBeConnected(); in testRunWhenDeviceIsOnline() 137 Mockito.verify(mPowerRunner, Mockito.times(1)).parseInstrumentationResults(); in testRunWhenDeviceIsOnline() 138 Mockito.verify(mPowerRunner, Mockito.times(1)) in testRunWhenDeviceIsOnline()
|