Home
last modified time | relevance | path

Searched refs:cleaner (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java81 ITargetHostCleaner cleaner = EasyMock.createMock(ITargetHostCleaner.class); in testCleanUp() local
82 holder.addSpecificConfig(cleaner); in testCleanUp()
85 EasyMock.expect(cleaner.isDisabled()).andReturn(false); in testCleanUp()
86 EasyMock.expect(cleaner.isTearDownDisabled()).andReturn(false); in testCleanUp()
87 cleaner.cleanUp(null, null); in testCleanUp()
88 EasyMock.replay(cleaner); in testCleanUp()
90 EasyMock.verify(cleaner); in testCleanUp()
100 ITargetHostCleaner cleaner = EasyMock.createMock(ITargetHostCleaner.class); in testCleanUp_disabled() local
101 holder.addSpecificConfig(cleaner); in testCleanUp_disabled()
104 EasyMock.expect(cleaner.isDisabled()).andReturn(true); in testCleanUp_disabled()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java68 ITargetCleaner cleaner = (ITargetCleaner)configObject; in tearDown() local
69 cleaner.tearDown(device, buildInfo, e); in tearDown()
72 IHostCleaner cleaner = (IHostCleaner)configObject; in tearDown() local
73 cleaner.cleanUp(buildInfo, e); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java285 ITargetCleaner cleaner = (ITargetCleaner) preparer; in doTeardown() local
287 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in doTeardown()
288 CLog.d("%s has been disabled. skipping.", cleaner); in doTeardown()
295 cleaner.tearDown(device, context.getBuildInfo(deviceName), exception); in doTeardown()
335 IHostCleaner cleaner = (IHostCleaner) preparer; in doCleanUp() local
337 CLog.d("%s has been disabled. skipping.", cleaner); in doCleanUp()
340 cleaner.cleanUp(context.getBuildInfo(deviceName), exception); in doCleanUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java647 ITargetCleaner cleaner = (ITargetCleaner) preparer; in runTearDown() local
649 if (cleaner.isDisabled() || cleaner.isTearDownDisabled()) { in runTearDown()
650 CLog.d("%s has been disabled. skipping.", cleaner); in runTearDown()
653 cleaner.tearDown( in runTearDown()