/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | SystemServerFileDescriptorCheckerTest.java | 50 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid() 51 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetPid() 66 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetFdCount() 67 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetFdCount() 82 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testAcceptableFdCount() 83 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testAcceptableFdCount() 98 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testUnacceptableFdCount() 110 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testUserBuild() 111 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testUserBuild()
|
D | UserCheckerTest.java | 53 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testNoWarningsIsSuccess() 57 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testNoWarningsIsSuccess() 73 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testSwitchIsSuccess() 83 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testSwitchIsSuccess() 102 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testCreateIsSuccess() 112 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testCreateIsSuccess() 132 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testCreateCleanup() 144 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testCreateCleanup() 164 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testCreateCleanup_cleanupFail() 197 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testAllErrorsIsFailed() [all …]
|
D | SystemServerStatusCheckerTest.java | 61 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSystemServerProcessNotRestarted() 62 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testSystemServerProcessNotRestarted() 73 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSystemServerProcessRestartedWithoutDeviceReboot() 88 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSystemServerProcessRestartedWithAbnormalDeviceReboot() 105 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetSystemServerProcess()
|
D | DeviceSettingCheckerTest.java | 68 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSettingsUnchanged() 69 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testSettingsUnchanged() 95 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSettingsChanged() 123 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testIgnoredSettings() 124 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testIgnoredSettings() 148 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSettingsMissedPostExecution() 176 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSettingsNewPostExecution() 201 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testSettingsNonePreExecution()
|
D | ShellStatusCheckerTest.java | 72 CheckStatus preState = CheckStatus.SUCCESS; in expectPreAndPost() 73 CheckStatus postState = CheckStatus.SUCCESS; in expectPreAndPost() 101 if (preState != CheckStatus.SUCCESS || !preRevertOk) { in expectPreAndPost() 111 if (postState != CheckStatus.SUCCESS || !postRevertOk) { in expectPreAndPost()
|
D | EnforcedSeLinuxCheckerTest.java | 53 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testEnforced() 64 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testPermissive()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | SystemServerStatusChecker.java | 49 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 55 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 58 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 78 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 84 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 88 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | SystemServerFileDescriptorChecker.java | 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() 70 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | ISystemStatusChecker.java | 50 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 64 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | TimeStatusChecker.java | 52 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() 60 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | ShellStatusChecker.java | 54 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 82 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
D | UserChecker.java | 72 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 93 return new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() 157 return new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | FastbootDeviceFlasherTest.java | 131 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetImageVersion() 149 fastbootResult.setStatus(CommandStatus.SUCCESS); in testGetCurrentSlot_fastboot() 195 fastbootInValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand() 202 fastbootValidResult.setStatus(CommandStatus.SUCCESS); in testRetryGetVersionCommand() 298 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists() 310 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_exists() 347 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists() 373 fastbootOutput.setStatus(CommandStatus.SUCCESS); in testWipeCache_not_exists_error() 392 result.setStatus(CommandStatus.SUCCESS); in doTestFlashWithWipe() 533 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashBootloader() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 105 CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_repeatedOutput() 118 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_noTimeout() 148 CommandStatus.SUCCESS, in testRunTimedCmd_largeOutput() 171 CommandStatus.SUCCESS, in testUnsetEnvVariable() 224 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_WithInputRedirect() 246 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_WithOutputRedirect()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | AndroidDebugBridgeWrapperTest.java | 53 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing() 69 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_altFormat() 104 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_partial() 120 res.setStatus(CommandStatus.SUCCESS); in testAdbVersionParsing_parseFail()
|
D | RemoteAndroidDeviceTest.java | 84 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect() 87 adbResultConfirmation.setStatus(CommandStatus.SUCCESS); in testAdbConnect() 103 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails() 122 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbConnect_fails_confirmation() 137 adbResult.setStatus(CommandStatus.SUCCESS); in testAdbDisconnect()
|
/tools/tradefederation/contrib/src/com/android/build/tests/ |
D | KernelImageCheck.java | 133 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in test_stable_abi() 141 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in test_stable_abi() 182 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in test_stable_abi() 193 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in test_stable_abi() 197 assertEquals(CommandStatus.SUCCESS, result.getStatus()); in test_stable_abi() 219 CommandStatus.SUCCESS, in test_stable_abi()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | FastbootHelper.java | 66 if (CommandStatus.SUCCESS.equals(fastbootResult.getStatus())) { in isFastbootAvailable() 88 if (fastbootResult.getStatus().equals(CommandStatus.SUCCESS)) { in getDevices() 107 if (fastbootResult.getStatus().equals(CommandStatus.SUCCESS)) { in getBootloaderAndFastbootdDevices() 159 if (fastbootResult.getStatus() != CommandStatus.SUCCESS) { in executeCommand()
|
D | RemoteAndroidDevice.java | 189 if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect() 200 } else if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect() 214 if (CommandStatus.SUCCESS.equals(resultConfirmation.getStatus()) in confirmAdbTcpConnect() 238 return CommandStatus.SUCCESS.equals(result.getStatus()); in adbTcpDisconnect()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/ |
D | AdbStopServerPreparerTest.java | 100 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_tearDown() 124 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_fail_tearDown() 156 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testNoAdb() 195 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testAdbFromEnv() 221 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in mockTearDown()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 140 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in checkGSUtil() 186 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in copy() 286 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in makeBucket() 324 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in ls() 431 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in stat() 467 if (CommandStatus.SUCCESS.equals(res.getStatus())) { in md5Hash() 591 if (!force && !CommandStatus.SUCCESS.equals(res.getStatus())) { in remove() 650 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in removeBucket()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTestTest.java | 124 res.setStatus(CommandStatus.SUCCESS); in testRun() 161 res.setStatus(CommandStatus.SUCCESS); in testRun_failWithIncludeFilters() 200 res.setStatus(CommandStatus.SUCCESS); in testRun_withIncludeFilters() 262 res.setStatus(CommandStatus.SUCCESS); in testRun_withExcludeFilters() 324 res.setStatus(CommandStatus.SUCCESS); in testRun_withAdbPath() 369 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLibInHostTestsDir() 414 res.setStatus(CommandStatus.SUCCESS); in testRun_withSharedLib() 527 newCommandResult(CommandStatus.SUCCESS, "NOT TEST OUTPUT"), in testRun_useTestOutputFileOptionSet_parsesSubprocessOutputFile() 541 newCommandResult(CommandStatus.SUCCESS, "NOT TEST OUTPUT"), in testRun_useTestOutputFileOptionSet_parsesUnitTestOutputFile() 561 newCommandResult(CommandStatus.SUCCESS, errorOutput), in testRun_useTestOutputFileOptionSet_logsErrorOutput() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DeviceWiper.java | 54 if (r.getStatus() != CommandStatus.SUCCESS) { in doFormat() 69 if (r.getStatus() != CommandStatus.SUCCESS) { in performFastbootOp()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | InvocationStatus.java | 22 SUCCESS, FAILED, BUILD_ERROR; enumConstant
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | CommandStatus.java | 23 SUCCESS, enumConstant
|