Home
last modified time | relevance | path

Searched refs:getStatus (Results 1 – 25 of 113) sorted by relevance

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DSystemServerFileDescriptorCheckerTest.java50 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()
100 assertEquals(CheckStatus.FAILED, postResult.getStatus()); in testUnacceptableFdCount()
110 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testUserBuild()
111 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testUserBuild()
DSystemServerStatusCheckerTest.java61 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()
75 assertEquals(CheckStatus.FAILED, result.getStatus()); in testSystemServerProcessRestartedWithoutDeviceReboot()
88 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSystemServerProcessRestartedWithAbnormalDeviceReboot()
90 assertEquals(CheckStatus.FAILED, result.getStatus()); in testSystemServerProcessRestartedWithAbnormalDeviceReboot()
104 assertEquals(CheckStatus.FAILED, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testFailToGetSystemServerProcess()
105 assertEquals(CheckStatus.SUCCESS, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testFailToGetSystemServerProcess()
DUserCheckerTest.java53 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()
179 assertEquals(CheckStatus.FAILED, result.getStatus()); in testCreateCleanup_cleanupFail()
[all …]
DDeviceSettingCheckerTest.java68 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()
96 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(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()
149 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testSettingsMissedPostExecution()
176 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testSettingsNewPostExecution()
177 assertEquals(CheckStatus.FAILED, mChecker.postExecutionCheck(mMockDevice).getStatus()); in testSettingsNewPostExecution()
[all …]
DDeviceStorageStatusCheckerTest.java55 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testEnoughDeviceStorage()
67 assertEquals(CheckStatus.FAILED, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testInEnoughDeviceStorageOn1Partition()
80 assertEquals(CheckStatus.FAILED, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testNotEnoughDeviceStorageWithGivenStorageParameter()
93 assertEquals(CheckStatus.SUCCESS, mChecker.preExecutionCheck(mMockDevice).getStatus()); in testEnoughDeviceStorageWithGivenStorageParameter()
DEnforcedSeLinuxCheckerTest.java53 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testEnforced()
64 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testPermissive()
75 assertEquals(CheckStatus.FAILED, result.getStatus()); in testEnforced_failed()
DKeyguardStatusCheckerTest.java56 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()
DLeakedThreadStatusCheckerTest.java50 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testNoLeakedThread()
65 assertEquals(CheckStatus.FAILED, result.getStatus()); in testLeakedThread()
84 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testLeakedThread_background()
DActivityStatusCheckerTest.java58 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/util/
DRunUtilFuncTest.java105 CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_repeatedOutput()
118 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_noTimeout()
147 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_largeOutput()
149 result.getStatus()); in testRunTimedCmd_largeOutput()
170 result.getStatus(), result.getStdout(), result.getStderr()), in testUnsetEnvVariable()
172 result.getStatus()); in testUnsetEnvVariable()
179 assertEquals(CommandStatus.FAILED, result.getStatus()); in testUnsetEnvVariable()
194 result.getStatus(), result.getStdout(), result.getStderr()), in testRunTimedCmd_timeout()
196 result.getStatus()); in testRunTimedCmd_timeout()
224 assertTrue(CommandStatus.SUCCESS.equals(result.getStatus())); in testRunTimedCmd_WithInputRedirect()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DFastbootHelper.java66 if (CommandStatus.SUCCESS.equals(fastbootResult.getStatus())) { in isFastbootAvailable()
88 if (fastbootResult.getStatus().equals(CommandStatus.SUCCESS)) { in getDevices()
93 CLog.w("'fastboot devices' failed. Result: %s, stderr: %s", fastbootResult.getStatus(), in getDevices()
107 if (fastbootResult.getStatus().equals(CommandStatus.SUCCESS)) { in getBootloaderAndFastbootdDevices()
122 fastbootResult.getStatus(), fastbootResult.getStderr()); in getBootloaderAndFastbootdDevices()
159 if (fastbootResult.getStatus() != CommandStatus.SUCCESS) { in executeCommand()
161 fastbootResult.getStatus(), fastbootResult.getStderr()); in executeCommand()
DRemoteAndroidDevice.java189 if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
193 result.getStatus(), result.getStdout()); in adbTcpConnect()
200 } else if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect()
206 result.getStatus(), result.getStdout(), result.getStderr()); in adbTcpConnect()
214 if (CommandStatus.SUCCESS.equals(resultConfirmation.getStatus()) in confirmAdbTcpConnect()
220 resultConfirmation.getStatus(), resultConfirmation.getStdout(), in confirmAdbTcpConnect()
238 return CommandStatus.SUCCESS.equals(result.getStatus()); in adbTcpDisconnect()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java140 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in checkGSUtil()
186 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in copy()
192 res.getStatus(), in copy()
286 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in makeBucket()
291 res.getStatus(), in makeBucket()
324 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in ls()
330 res.getStatus(), in ls()
431 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in stat()
437 res.getStatus(), in stat()
467 if (CommandStatus.SUCCESS.equals(res.getStatus())) { in md5Hash()
[all …]
DBundletoolUtil.java104 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in generateDeviceSpecFile()
149 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in extractSplitsFromApks()
189 if (!CommandStatus.SUCCESS.equals(res.getStatus())) { in installApks()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestResultTest.java40 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_singleRes()
54 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_multiRes_aggPass()
69 assertEquals(TestStatus.FAILURE, finalRes.getStatus()); in testMerge_allFailed_aggPass()
82 assertEquals(TestStatus.FAILURE, finalRes.getStatus()); in testMerge_multiRes()
95 assertEquals(TestStatus.PASSED, finalRes.getStatus()); in testMerge_multiRes_allPass()
/tools/tradefederation/contrib/src/com/android/build/tests/
DKernelImageCheck.java133 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()
220 result.getStatus()); in test_stable_abi()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparer.java58 if (result.getStatus() != CommandStatus.SUCCESS) { in setUp()
60 "Disabling SELinux failed with status: " + result.getStatus(), in setUp()
DDeviceWiper.java54 if (r.getStatus() != CommandStatus.SUCCESS) { in doFormat()
69 if (r.getStatus() != CommandStatus.SUCCESS) { in performFastbootOp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java373 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase).getStatus()); in testRun_withMultipleRun()
374 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun()
375 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun()
432 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase).getStatus()); // became pass in testRun_withMultipleRun_becomePass()
433 assertEquals(TestStatus.FAILURE, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun_becomePass()
434 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun_becomePass()
491 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase).getStatus()); // became pass in testRun_withMultipleRun_AllBecomePass()
492 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase2).getStatus()); in testRun_withMultipleRun_AllBecomePass()
493 assertEquals(TestStatus.PASSED, testResults.get(fakeTestCase3).getStatus()); in testRun_withMultipleRun_AllBecomePass()
577 TestStatus.FAILURE, runResult.getTestResults().get(fakeTestCase1).getStatus()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java240 if (CommandStatus.SUCCESS.equals(cr.getStatus()) || in processMetricFile()
241 (CommandStatus.FAILED.equals(cr.getStatus()) && in processMetricFile()
271 processSrcFile.getName(), cr.getStderr(), cr.getStatus()); in processMetricFile()
354 if (!CommandStatus.SUCCESS.equals(conversionResult.getStatus())) { in convertToMetricProto()
357 errStream.toString(), conversionResult.getStatus()); in convertToMetricProto()
479 if (!CommandStatus.SUCCESS.equals(decompressResult.getStatus())) { in decompressFile()
482 decompressResult.getStatus()); in decompressFile()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java66 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in download()
69 "Failed to download %s: command status=%s", url, result.getStatus()); in download()
DTestOutputUploader.java80 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in uploadFile()
84 file.getAbsolutePath(), result.getStatus()); in uploadFile()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java97 if (!CommandStatus.SUCCESS.equals(stopCvdRes.getStatus())) { in resetVirtualDevice()
120 if (!CommandStatus.SUCCESS.equals(createRes.getStatus())) { in resetVirtualDevice()
194 if (!CommandStatus.SUCCESS.equals(readLauncherLogRes.getStatus())) { in captureLauncherLog()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxInvocationRunner.java70 if (!CommandStatus.SUCCESS.equals(result.getStatus())) { in prepareAndRun()
73 result.getStatus(), result.getExitCode()); in prepareAndRun()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DStatusCheckerResult.java45 public CheckStatus getStatus() { in getStatus() method in StatusCheckerResult

12345