Home
last modified time | relevance | path

Searched refs:isDisabled (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DBaseMultiTargetPreparer.java34 public final boolean isDisabled() { in isDisabled() method in BaseMultiTargetPreparer
46 public final void setDisable(boolean isDisabled) { in setDisable() argument
47 mDisable = isDisabled; in setDisable()
52 public final void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
53 mDisableTearDown = isDisabled; in setDisableTearDown()
/tools/tradefederation/core/src/com/android/tradefed/util/
DIDisableable.java25 public default boolean isDisabled() { in isDisabled() method
41 public default void setDisable(boolean isDisabled) { in setDisable() argument
50 public default void setDisableTearDown(boolean isDisabled) { in setDisableTearDown() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java85 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp()
104 EasyMock.expect(cleaner.isDisabled()).andReturn(true); in testCleanUp_disabled()
123 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp_tearDownDisabled()
218 inOrder.verify(stub1).isDisabled(); in testDoSetup()
220 inOrder.verify(stub2).isDisabled(); in testDoSetup()
225 inOrder.verify(stub3).isDisabled(); in testDoSetup()
227 inOrder.verify(stub4).isDisabled(); in testDoSetup()
231 inOrder.verify(stub4).isDisabled(); in testDoSetup()
233 inOrder.verify(stub3).isDisabled(); in testDoSetup()
238 inOrder.verify(stub2).isDisabled(); in testDoSetup()
[all …]
DTestInvocationTest.java175 EasyMock.expect(mMockPreparer.isDisabled()).andStubReturn(false); in setUp()
697 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown()
722 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_deviceNotAvail()
757 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_tearDown_runtime()
1554 EasyMock.expect(mMockPreparer.isDisabled()).andReturn(true); in testNotSkipPreDeviceSetup()
1589 EasyMock.expect(mMockPreparer.isDisabled()).andReturn(true); in testSkipPreDeviceSetup()
1646 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_noEnv()
1715 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_withEnv()
1798 EasyMock.expect(mockCleaner.isDisabled()).andReturn(false).times(2); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java220 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun()
222 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun()
247 EasyMock.expect(mMockPrep.isDisabled()).andReturn(true); in testRun_disabledPreparation()
248 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(true); in testRun_disabledPreparation()
269 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_disabledTearDown()
271 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_disabledTearDown()
344 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_fullPass()
347 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_fullPass()
388 EasyMock.expect(mMockPrep.isDisabled()).andReturn(false); in testRun_partialRun()
391 EasyMock.expect(mMockCleaner.isDisabled()).andStubReturn(false); in testRun_partialRun()
[all …]
DAtestRunnerTest.java159 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers()
171 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
DModuleDefinitionMultiTest.java132 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testCreateAndRun()
DITestSuiteMultiTest.java162 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testMultiDeviceITestSuite()
DValidateSuiteConfigHelperTest.java210 public void setDisable(boolean isDisabled) { in setDisable() argument
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparer.java80 if (isDisabled()) return; in setUp()
135 if (isDisabled()) return; in tearDown()
DEraseUserDataPreparer.java47 if (isDisabled()) { in setUp()
DLocalSdkAvdPreparer.java57 if (isDisabled() || !mNewEmulator) { in setUp()
DInstallAllTestZipAppsSetup.java88 if (isDisabled()) { in setUp()
238 if (isDisabled()) { in tearDown()
DPushFileInvoker.java51 if (isDisabled()) { in setUp()
DDeviceWiper.java39 if (isDisabled()) { in setUp()
DDeviceFlashPreparer.java167 if (isDisabled()) { in setUp()
416 if (isDisabled()) { in tearDown()
DCrashCollector.java61 if (isDisabled()) { in shouldDisable()
DNativeLeakCollector.java83 if (isDisabled() || (e instanceof DeviceNotAvailableException)) { in tearDown()
DPythonVirtualenvPreparer.java63 if (isDisabled()) { in setUp()
DInstrumentationPreparer.java99 if (isDisabled()) { in setUp()
DDeviceSetup.java417 if (isDisabled()) { in setUp()
459 if (isDisabled() || device.getIDevice() instanceof StubDevice) { in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java186 if (preparer.isDisabled()) { in doSetup()
232 if (multiPreparer.isDisabled()) { in runMultiTargetPreparers()
256 if (multipreparer.isDisabled() || multipreparer.isTearDownDisabled()) { in runMultiTargetPreparersTearDown()
287 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in doTeardown()
336 if (preparer.isDisabled() || preparer.isTearDownDisabled()) { in doCleanUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java586 if (preparer.isDisabled()) { in runPreparerSetup()
607 if (preparer.isDisabled()) { in runMultiPreparerSetup()
632 if (multiCleaner.isDisabled() || multiCleaner.isTearDownDisabled()) { in runTearDown()
649 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in runTearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1150 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1156 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1166 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency()
1183 assertTrue(prep1.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1189 assertFalse(prep3.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()
1199 assertTrue(prep2.isDisabled()); in testCreateConfigurationFromArgs_frequency_withOptionOpen()