/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | BaseMultiTargetPreparer.java | 34 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/ |
D | IDisableable.java | 25 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/ |
D | InvocationExecutionTest.java | 85 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 …]
|
D | TestInvocationTest.java | 175 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/ |
D | ModuleDefinitionTest.java | 220 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 …]
|
D | AtestRunnerTest.java | 159 assertTrue(targetPreparer.isDisabled()); in testdisableTargetPreparers() 171 assertTrue(!targetPreparer.isDisabled()); in testdisableTargetPreparersUnset()
|
D | ModuleDefinitionMultiTest.java | 132 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testCreateAndRun()
|
D | ITestSuiteMultiTest.java | 162 EasyMock.expect(mMockTargetPrep.isDisabled()).andReturn(false); in testMultiDeviceITestSuite()
|
D | ValidateSuiteConfigHelperTest.java | 210 public void setDisable(boolean isDisabled) { in setDisable() argument
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | RunCommandTargetPreparer.java | 80 if (isDisabled()) return; in setUp() 135 if (isDisabled()) return; in tearDown()
|
D | EraseUserDataPreparer.java | 47 if (isDisabled()) { in setUp()
|
D | LocalSdkAvdPreparer.java | 57 if (isDisabled() || !mNewEmulator) { in setUp()
|
D | InstallAllTestZipAppsSetup.java | 88 if (isDisabled()) { in setUp() 238 if (isDisabled()) { in tearDown()
|
D | PushFileInvoker.java | 51 if (isDisabled()) { in setUp()
|
D | DeviceWiper.java | 39 if (isDisabled()) { in setUp()
|
D | DeviceFlashPreparer.java | 167 if (isDisabled()) { in setUp() 416 if (isDisabled()) { in tearDown()
|
D | CrashCollector.java | 61 if (isDisabled()) { in shouldDisable()
|
D | NativeLeakCollector.java | 83 if (isDisabled() || (e instanceof DeviceNotAvailableException)) { in tearDown()
|
D | PythonVirtualenvPreparer.java | 63 if (isDisabled()) { in setUp()
|
D | InstrumentationPreparer.java | 99 if (isDisabled()) { in setUp()
|
D | DeviceSetup.java | 417 if (isDisabled()) { in setUp() 459 if (isDisabled() || device.getIDevice() instanceof StubDevice) { in tearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 186 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/ |
D | ModuleDefinition.java | 586 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/ |
D | ConfigurationFactoryTest.java | 1150 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()
|