Home
last modified time | relevance | path

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

12345678910

/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.java172 CommandResult result = spyUtil.runTimedCmd(VERY_LONG_TIMEOUT_MS, "blahggggwarggg"); in testRunTimedCmd_failed() local
185 CommandResult result = mRunUtil.runTimedCmd(VERY_SHORT_TIMEOUT_MS, command); in testRunTimedCmd_timeout() local
344 CommandResult result = in testRuntimedCmd_withFileOutputStream() local
373 CommandResult result = spyUtil.runTimedCmd(LONG_TIMEOUT_MS, null, null, command); in testRuntimedCmd_regularOutput_fileNull() local
401 CommandResult result = in testRuntimedCmd_notWritable() local
449 CommandResult result = in testUnsetPriority() local
466 CommandResult result = in testUnsetPriority_inverted() local
477 CommandResult result = in testGotExitCodeFromCommand() local
488 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/targetprep/
DDisableSELinuxTargetPreparerTest.java50 CommandResult result = new CommandResult(); in testSetUpSuccess_permissive() local
63 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_rootBefore() local
83 CommandResult result = new CommandResult(); in testSetUpSuccess_enforced_notRootBefore() local
106 CommandResult result = new CommandResult(); in testSetUp_rootFail() local
122 CommandResult result = new CommandResult(); in testSetUp_disableSELinuxFail() local
DPreloadedClassesPreparerTest.java75 CommandResult result = new CommandResult(); in testSetUp_RemoteSuccess() local
103 CommandResult result = new CommandResult(); in testSetUp_LocalSuccess() local
123 CommandResult result = new CommandResult(); in testSetUp_WriteFailure() local
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java44 TestRunResult result = new TestRunResult(); in testGetNumTestsInState() local
60 TestRunResult result = new TestRunResult(); in testGetNumTestsInState_failed() local
82 TestRunResult result = new TestRunResult(); in testSpecifyElapsedTime() local
95 TestRunResult result = new TestRunResult(); in testMultiRun() local
125 TestRunResult result = new TestRunResult(); in testMultiRun_WithTestCases() local
165 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases() local
186 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs() local
273 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_fullMergeLogicCheck() local
332 TestRunResult result = TestRunResult.merge(testResultList); in testMergeRetriedRunResults_checkMergingStackTraces() local
407 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
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java93 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_tearDown() local
117 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testSetup_fail_tearDown() local
149 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testNoAdb() local
184 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testAdbFromEnv() local
210 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/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
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
DSystemServerStatusCheckerTest.java72 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testPidChanged() local
92 StatusCheckerResult result = mChecker.postExecutionCheck(mMockDevice); in testPidChanged_tfReboot() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java101 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable() local
125 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_dnae() local
165 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_search() local
194 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testRunHostExecutable_notFound() local
222 CommandResult result = new CommandResult(CommandStatus.FAILED); in testRunHostExecutable_failure() local
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java214 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testParentSandboxInvocation_sharding() local
239 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testParentSandboxInvocation() local
297 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInvocation_sharding_notTests() local
360 CommandResult result = new CommandResult(CommandStatus.SUCCESS); in testInvocation_preInvocationFailing() local
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java114 String result = mGceManager.extractInstanceName(log); in testExtractNameFromLog() local
134 String result = mGceManager.extractInstanceName(log); in testExtractNameFromLog_newFormat() local
152 String result = mGceManager.extractInstanceName(log); in testExtractNameFromLog_notfound() local
169 List<String> result = mGceManager.buildGceCmd(reportFile, mMockBuildInfo); in testBuildGceCommand() local
207 List<String> result = mGceManager.buildGceCmd(reportFile, mMockBuildInfo); in testBuildGceCommand_withServiceAccountJsonKeyFile() local
256 List<String> result = mGceManager.buildGceCmd(reportFile, mMockBuildInfo); in testBuildGceCommandWithEmulatorBuild() local
297 List<String> result = mGceManager.buildGceCmd(reportFile, mMockBuildInfo); in testBuildGceCommandWithGceDriverParam() local
375 List<String> result = mGceManager.buildGceCmd(reportFile, mMockBuildInfo); in testBuildGceCommandWithKernelBuild() 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
DEnforcedSeLinuxChecker.java38 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() local
52 String result = device.executeShellCommand("getenforce"); in isEnforced() 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/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
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDisableSELinuxTargetPreparer.java41 CommandResult result = device.executeShellV2Command("getenforce"); in setUp() local
76 CommandResult result = device.executeShellV2Command("setenforce 1"); in tearDown() local
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRoamingPerformanceTest.py77 def pass_fail_traffic_continuity(self, result): argument
135 def process_traffic_continuity_results(self, testcase_params, result): argument
213 def detect_roam_events(self, result): argument
280 def detect_ping_gaps(self, result): argument
295 def detect_iperf_gaps(self, result): argument
324 def plot_ping_result(self, argument
358 def plot_iperf_result(self, argument
/tools/tradefederation/core/src/com/android/tradefed/util/
DSimplePerfStatResultParser.java56 List<String> result = new ArrayList<>(); in parseSingleLine() local
92 SimplePerfResult result = new SimplePerfResult(); in parseRawOutput() local

12345678910