Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 264) sorted by relevance

1234567891011

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSimplePerfStatResultParserTest.java32 List<String> result = SimplePerfStatResultParser.parseSingleLine(emptyString); in testParseSingleLineWithEmptyString() local
38 List<String> result = SimplePerfStatResultParser.parseSingleLine(nullString); in testParseSingleLineWithNullString() local
44 List<String> result = SimplePerfStatResultParser.parseSingleLine(headerString); in testParseSingleLineWithHeaderString() local
50 List<String> result = SimplePerfStatResultParser.parseSingleLine(returnString); in testParseSingleLineWithReturnString() local
56 List<String> result = SimplePerfStatResultParser.parseSingleLine(randomString); in testParseSingleLineWithRandomString() local
62 List<String> result = SimplePerfStatResultParser.parseSingleLine(validMetricString); in testParseSingleLineWithValidMetricString() local
71 List<String> result = SimplePerfStatResultParser.parseSingleLine(validTotalTimeString); in testParseSingleLineWithValidTotalTimeString() local
78 List<String> result = SimplePerfStatResultParser.parseSingleLine(multiplePoundString); in testParseSingleLineWithMultiplePoundString() local
84 List<String> result = SimplePerfStatResultParser.parseSingleLine(multiplePoundString); in testParseSingleLineWithMultipleSpaceString() local
90 SimplePerfResult result = SimplePerfStatResultParser.parseRawOutput(nullString); in testParseRawOutputWithNullString() local
[all …]
DRunUtilFuncTest.java102 CommandResult result = in testRunTimedCmd_repeatedOutput() local
117 CommandResult result = RunUtil.getDefault().runTimedCmd(0l, "sleep", "35"); in testRunTimedCmd_noTimeout() local
141 CommandResult result = in testRunTimedCmd_largeOutput() local
165 CommandResult result = in testUnsetEnvVariable() local
190 CommandResult result = runUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout() local
221 CommandResult result = in testRunTimedCmd_WithInputRedirect() local
238 CommandResult result = in testRunTimedCmd_WithOutputRedirect() local
DRunUtilTest.java175 CommandResult result = spyUtil.runTimedCmd(VERY_LONG_TIMEOUT_MS, "blahggggwarggg"); in testRunTimedCmd_failed() local
188 CommandResult result = mRunUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout() local
347 CommandResult result = in testRuntimedCmd_withFileOutputStream() local
376 CommandResult result = spyUtil.runTimedCmd(LONG_TIMEOUT_MS, null, null, command); in testRuntimedCmd_regularOutput_fileNull() local
404 CommandResult result = in testRuntimedCmd_notWritable() local
452 CommandResult result = in testUnsetPriority() local
469 CommandResult result = in testUnsetPriority_inverted() local
480 CommandResult result = in testGotExitCodeFromCommand() local
491 CommandResult result = in testSetRedirectStderrToStdout() local
DLogcatEventParserTest.java142 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(EVENT_TIMEOUT_MS); in testWaitForEvent() local
151 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(0); in testWaitForEventTimeout() local
187 LogcatEventParser.LogcatEvent result = mParser.waitForEvent(EVENT_TIMEOUT_MS); in testEndToEnd() local
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java247 JSONObject result = new JSONObject(); in processClientOperations() local
254 processAdd((AddCommandOp)rc, result); in processClientOperations() local
257 processAddCommandFile((AddCommandFileOp)rc, result); in processClientOperations() local
260 processClose((CloseOp)rc, result); in processClientOperations() local
263 processAllocate((AllocateDeviceOp)rc, result); in processClientOperations() local
266 processFree((FreeDeviceOp)rc, result); in processClientOperations() local
272 processHandoverInitComplete((HandoverInitCompleteOp)rc, result); in processClientOperations() local
278 processListDevices((ListDevicesOp)rc, result); in processClientOperations() local
281 processExecCommand((ExecCommandOp)rc, result); in processClientOperations() local
284 processGetLastCommandResult((GetLastCommandResultOp)rc, result); in processClientOperations() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/retry/
DBaseRetryDecisionTest.java115 TestRunResult result = createResult(null, null); in testShouldRetry() local
122 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure() local
131 TestRunResult result = in testShouldRetry_failure_nonRetriable() local
145 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success() local
158 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_morefailure() local
172 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure() local
183 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure_nonRetriable() local
199 TestRunResult result = createResult(null, null, failure); in testShouldRetry_multi_runFailure_nonRetriable() local
211 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_multilayer_morefailure() local
234 TestRunResult result = new TestRunResult(); in testAbortTooManyFailures() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java45 TestRunResult result = new TestRunResult(); in testGetNumTestsInState() local
61 TestRunResult result = new TestRunResult(); in testGetNumTestsInState_failed() local
83 TestRunResult result = new TestRunResult(); in testSpecifyElapsedTime() local
96 TestRunResult result = new TestRunResult(); in testMultiRun() local
126 TestRunResult result = new TestRunResult(); in testMultiRun_WithTestCases() local
166 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases() local
187 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs() local
274 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_fullMergeLogicCheck() local
335 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_checkMergingStackTraces() local
412 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_CheckMergeMapAttributes() local
[all …]
DDeviceFileReporterTest.java81 final String result = "/data/tombstones/tombstone_00\r\n"; in testSimple() local
106 final String result = "/data/tombstones/tombstone_00 \r\n"; in testTrim() local
135 final String result = "/data/tombstones/tombstone_00 \r\n" + filename1 + " " + filename2; in testLine_containingSpace() local
171 String result = ArrayUtil.join("\n", (Object[])filenames); in testLineEnding_LF() local
199 String result = ArrayUtil.join("\r\n", (Object[])filenames); in testLineEnding_CRLF() local
350 final String result = file + ": No such file or directory\r\n"; in testNoExist() local
364 final String result = "/data/tombstones/tombstone_00\r\n/data/tombstones/tombstone_01\r\n"; in testTwoFiles() local
399 final String result = "/data/files/file.png\r\n/data/files/file.xml\r\n" + in testInferDataTypes() local
DConsoleResultReporterTest.java68 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed() local
79 TestResult result = createTestResult(TestStatus.FAILURE); in testFailed_suppressPassed() local
111 TestResult result = new TestResult(); in createTestResult() local
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparerTest.java58 CommandResult result = new CommandResult(); in testSetUpSuccess_permissive() local
71 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_rootBefore() local
91 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_notRootBefore() local
114 CommandResult result = new CommandResult(); in testSetUp_rootFail() local
130 CommandResult result = new CommandResult(); in testSetUp_disableSELinuxFail() local
DRunHostCommandTargetPreparerTest.java86 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetUp() local
101 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetUp_withWorkDir() local
117 CommandResult result = new CommandResult(CommandStatus.FAILED); in testSetUp_withErrors() local
128 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testTearDown() local
143 CommandResult result = new CommandResult(CommandStatus.FAILED); in testTearDown_withError() local
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java100 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_tearDown() local
124 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_fail_tearDown() local
156 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testNoAdb() local
195 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testAdbFromEnv() local
221 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in mockTearDown() local
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/
DSystraceExtractorTest.kt35 val result = extract(buffers) in <lambda>() constant
43 val result = extract(buffers) in <lambda>() constant
54 val result = extract(buffers) in <lambda>() constant
67 val result = extract(listOf(buffer)) in <lambda>() constant
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java119 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable() local
148 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_relativePath() local
181 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_dnae() local
232 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_search() local
265 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_notFound() local
295 CommandResult result = new CommandResult(CommandStatus.FAILED); in testRunHostExecutable_failure() local
341 CommandResult result = new CommandResult(CommandStatus.TIMED_OUT); in testRunHostExecutable_timeout() local
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DEnforcedSeLinuxCheckerTest.java52 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testEnforced() local
63 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testPermissive() local
74 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testEnforced_failed() local
DUserCheckerTest.java176 StatusCheckerResult result = checker.postExecutionCheck(postDevice); in testCreateCleanup_cleanupFail() local
219 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSystem() local
235 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSecondary() local
251 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToSecondary_fail() local
271 StatusCheckerResult result = checker.preExecutionCheck(device); in testSwitchToGuest() local
288 StatusCheckerResult result = checker.preExecutionCheck(device); in testCreateSecondary() local
306 StatusCheckerResult result = checker.preExecutionCheck(device); in testCreateGuest() local
341 Map<Integer, UserInfo> result = new HashMap<>(); in mockListUsersInfo() local
DSystemServerStatusCheckerTest.java74 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testSystemServerProcessRestartedWithoutDeviceReboot() local
89 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testSystemServerProcessRestartedWithAbnormalDeviceReboot() local
DLeakedThreadStatusCheckerTest.java49 StatusCheckerResult result = thread.mResult; in testNoLeakedThread() local
64 StatusCheckerResult result = thread.mResult; in testLeakedThread() local
83 StatusCheckerResult result = thread.mResult; in testLeakedThread_background() local
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigUtilTest.java64 CommandResult result = new CommandResult(); in testDumpVersion() local
88 CommandResult result = new CommandResult(); in testDumpVersion_failed() local
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DShellStatusChecker.java54 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() local
82 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() local
DSystemServerStatusChecker.java58 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() local
98 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.FAILED); in postExecutionCheck() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcherTest.java115 List<EventSl4aObject> result = mEventDispatcher.popAllEvents("BluetoothStateChangedOff"); in testPopAllEvents() local
124 List<EventSl4aObject> result = mEventDispatcher.popAllEvents("BluetoothStateChangedOff"); in testPopAllEvents_noEvent() local
145 List<EventSl4aObject> result = mEventDispatcher.popAllEvents("BluetoothStateChangedOff"); in testClearEvents() local
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java230 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testParentSandboxInvocation_sharding() local
255 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testParentSandboxInvocation() local
314 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInvocation_sharding_notTests() local
377 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInvocation_preInvocationFailing() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java287 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordPass() local
304 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordFail() local
321 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapSummary() local
333 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapControllerInfo() local
346 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapUserData() local
357 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapTestNameList() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipTestUtils.java84 File result = new File(folder.getRoot(), cloneName); in cloneRsrc() local
87 Files.write(rsrcBytes(rsrcName), result); in cloneRsrc() local

1234567891011