/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() 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()
|
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() 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()
|
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() 179 assertEquals(CheckStatus.FAILED, result.getStatus()); in testCreateCleanup_cleanupFail() [all …]
|
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() 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 …]
|
D | DeviceStorageStatusCheckerTest.java | 55 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()
|
D | EnforcedSeLinuxCheckerTest.java | 53 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testEnforced() 64 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testPermissive() 75 assertEquals(CheckStatus.FAILED, result.getStatus()); in testEnforced_failed()
|
D | KeyguardStatusCheckerTest.java | 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 | LeakedThreadStatusCheckerTest.java | 50 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testNoLeakedThread() 65 assertEquals(CheckStatus.FAILED, result.getStatus()); in testLeakedThread() 84 assertEquals(CheckStatus.SUCCESS, result.getStatus()); in testLeakedThread_background()
|
D | ActivityStatusCheckerTest.java | 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/util/ |
D | RunUtilFuncTest.java | 105 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/ |
D | FastbootHelper.java | 66 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()
|
D | RemoteAndroidDevice.java | 189 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/ |
D | GCSBucketUtil.java | 140 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 …]
|
D | BundletoolUtil.java | 104 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/ |
D | TestResultTest.java | 40 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/ |
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() 220 result.getStatus()); in test_stable_abi()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DisableSELinuxTargetPreparer.java | 58 if (result.getStatus() != CommandStatus.SUCCESS) { in setUp() 60 "Disabling SELinux failed with status: " + result.getStatus(), in setUp()
|
D | DeviceWiper.java | 54 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/ |
D | GranularRetriableTestWrapperTest.java | 373 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/ |
D | PerfettoPullerMetricCollector.java | 240 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/ |
D | TestResourceDownloader.java | 66 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in download() 69 "Failed to download %s: command status=%s", url, result.getStatus()); in download()
|
D | TestOutputUploader.java | 80 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in uploadFile() 84 file.getAbsolutePath(), result.getStatus()); in uploadFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | NestedRemoteDevice.java | 97 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/ |
D | SandboxInvocationRunner.java | 70 if (!CommandStatus.SUCCESS.equals(result.getStatus())) { in prepareAndRun() 73 result.getStatus(), result.getExitCode()); in prepareAndRun()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | StatusCheckerResult.java | 45 public CheckStatus getStatus() { in getStatus() method in StatusCheckerResult
|