Searched refs:CheckStatus (Results 1 – 12 of 12) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | StatusCheckerResult.java | 21 public enum CheckStatus { enum in StatusCheckerResult 28 private CheckStatus mCheckStatus = CheckStatus.FAILED; 39 public StatusCheckerResult(CheckStatus status) { in StatusCheckerResult() 44 public CheckStatus getStatus() { in getStatus() 49 public void setStatus(CheckStatus status) { in setStatus()
|
D | SystemServerFileDescriptorChecker.java | 21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 40 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 49 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 54 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 60 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 64 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.FAILED); in postExecutionCheck() 70 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | SystemServerStatusChecker.java | 21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 37 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 41 result.setStatus(CheckStatus.FAILED); in preExecutionCheck() 61 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 68 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 75 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.FAILED); in postExecutionCheck()
|
D | ISystemStatusChecker.java | 20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 50 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 64 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | KeyguardStatusChecker.java | 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 35 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 57 result.setStatus(CheckStatus.FAILED); in postExecutionCheck()
|
D | ActivityStatusChecker.java | 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 47 result.setStatus(CheckStatus.SUCCESS); in isFrontActivityLauncher() 57 result.setStatus(CheckStatus.FAILED); in isFrontActivityLauncher()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | SystemServerStatusCheckerTest.java | 21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 49 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPidRemainUnchanged() 50 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPidRemainUnchanged() 62 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPidChanged() 63 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPidChanged() 73 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid() 74 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid() 87 assertEquals(CheckStatus.FAILED, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testPid_null() 88 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testPid_null()
|
D | KeyguardStatusCheckerTest.java | 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 56 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck() 70 assertEquals(CheckStatus.FAILED, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck_showingAfter() 82 assertEquals(CheckStatus.SUCCESS, mKsc.postExecutionCheck(mMockDevice).getStatus()); in testPostExecutionCheck_notSupported()
|
D | TimeStatusCheckerTest.java | 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 51 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_small() 64 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckTimeDiff_large()
|
D | ActivityStatusCheckerTest.java | 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 58 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckerLauncherHomeScreen() 75 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testCheckerOtherActivity()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteTest.java | 52 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 254 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun() 256 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun() 274 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.FAILED); in testRun_failedSystemChecker() 304 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun_failedSystemChecker_reportFailure() 311 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.FAILED); in testRun_failedSystemChecker_reportFailure() 878 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun_withCollectors() 880 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun_withCollectors() 929 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun_SkipOneModuleChecker() 931 .andReturn(new StatusCheckerResult(CheckStatus.SUCCESS)); in testRun_SkipOneModuleChecker() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 44 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus; 537 if (!CheckStatus.SUCCESS.equals(result.getStatus())) { in runPreModuleCheck() 579 if (!CheckStatus.SUCCESS.equals(result.getStatus())) { in runPostModuleCheck()
|