Home
last modified time | relevance | path

Searched refs:IsolationGrade (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/
DCurrentInvocation.java57 public enum IsolationGrade { enum in CurrentInvocation
70 public IsolationGrade mIsModuleIsolated = IsolationGrade.FULLY_ISOLATED;
71 public IsolationGrade mIsRunIsolated = IsolationGrade.FULLY_ISOLATED;
222 public static IsolationGrade moduleCurrentIsolation() { in moduleCurrentIsolation()
226 return IsolationGrade.NOT_ISOLATED; in moduleCurrentIsolation()
233 public static void setModuleIsolation(IsolationGrade isolation) { in setModuleIsolation()
244 public static IsolationGrade runCurrentIsolation() { in runCurrentIsolation()
248 return IsolationGrade.NOT_ISOLATED; in runCurrentIsolation()
255 public static void setRunIsolation(IsolationGrade isolation) { in setRunIsolation()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java31 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
83 private IsolationGrade mRetryIsolationGrade = IsolationGrade.NOT_ISOLATED;
206 if (!IsolationGrade.FULLY_ISOLATED.equals(mRetryIsolationGrade)) { in shouldRetryPreparation()
280 if (IsolationGrade.FULLY_ISOLATED.equals(mRetryIsolationGrade)) { in shouldRetry()
398 public IsolationGrade getIsolationGrade() { in getIsolationGrade()
669 if (IsolationGrade.REBOOT_ISOLATED.equals(mRetryIsolationGrade)) { in recoverStateOfDevices()
675 CurrentInvocation.setModuleIsolation(IsolationGrade.REBOOT_ISOLATED); in recoverStateOfDevices()
676 CurrentInvocation.setRunIsolation(IsolationGrade.REBOOT_ISOLATED); in recoverStateOfDevices()
682 } else if (IsolationGrade.FULLY_ISOLATED.equals(mRetryIsolationGrade)) { in recoverStateOfDevices()
690 CurrentInvocation.setModuleIsolation(IsolationGrade.REBOOT_ISOLATED); in recoverStateOfDevices()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/config/filter/
DOptionFetcherTest.java26 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
90 assertEquals(IsolationGrade.REBOOT_ISOLATED, in testOptionFetch()
106 assertEquals(IsolationGrade.REBOOT_ISOLATED, in testOptionFetch_single()
132 assertEquals(IsolationGrade.REBOOT_ISOLATED, in testOptionFetch_notExist()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java20 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
60 private IsolationGrade mAttemptIsolation = IsolationGrade.NOT_ISOLATED;
74 public void setAttemptIsolation(IsolationGrade isolation) { in setAttemptIsolation()
140 if (!IsolationGrade.NOT_ISOLATED.equals(mAttemptIsolation)) { in testRunEnded()
144 mAttemptIsolation = IsolationGrade.NOT_ISOLATED; in testRunEnded()
DGranularRetriableTestWrapper.java32 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
423 CurrentInvocation.setRunIsolation(IsolationGrade.NOT_ISOLATED); in intraModuleRun()
DITestSuite.java48 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
870 if (!IsolationGrade.NOT_ISOLATED.equals( in run()
931 CurrentInvocation.setModuleIsolation(IsolationGrade.NOT_ISOLATED); in run()
1023 CurrentInvocation.setModuleIsolation(IsolationGrade.REBOOT_ISOLATED); in moduleIsolation()
1024 CurrentInvocation.setRunIsolation(IsolationGrade.REBOOT_ISOLATED); in moduleIsolation()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceResetHandler.java27 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
113 CurrentInvocation.setModuleIsolation(IsolationGrade.FULLY_ISOLATED); in resetDevice()
114 CurrentInvocation.setRunIsolation(IsolationGrade.FULLY_ISOLATED); in resetDevice()
DDeviceSnapshotHandler.java27 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
190 CurrentInvocation.setModuleIsolation(IsolationGrade.FULLY_ISOLATED); in restoreSnapshotDevice()
191 CurrentInvocation.setRunIsolation(IsolationGrade.FULLY_ISOLATED); in restoreSnapshotDevice()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java35 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
193 CurrentInvocation.setRunIsolation(IsolationGrade.NOT_ISOLATED); in run()
194 CurrentInvocation.setModuleIsolation(IsolationGrade.NOT_ISOLATED); in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java50 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
1232 CurrentInvocation.setRunIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
1233 CurrentInvocation.setModuleIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
1261 CurrentInvocation.setRunIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
1262 CurrentInvocation.setModuleIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
1309 CurrentInvocation.setRunIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
1310 CurrentInvocation.setModuleIsolation(IsolationGrade.NOT_ISOLATED); in runTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java37 import com.android.tradefed.invoker.logger.CurrentInvocation.IsolationGrade;
318 IsolationGrade.FULLY_ISOLATED.equals( in setUp()