| /tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
| D | SimplePerfStatResultParserTest.java | 32 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 …]
|
| D | RunUtilFuncTest.java | 102 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
|
| D | RunUtilTest.java | 172 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
|
| D | LogcatEventParserTest.java | 142 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/ |
| D | RemoteManager.java | 247 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/ |
| D | DisableSELinuxTargetPreparerTest.java | 50 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
|
| D | PreloadedClassesPreparerTest.java | 75 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/ |
| D | TestRunResultTest.java | 44 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 …]
|
| D | DeviceFileReporterTest.java | 81 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/ |
| D | AdbStopServerPreparerTest.java | 93 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/ |
| D | SystraceExtractorTest.kt | 35 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/ |
| D | EnforcedSeLinuxCheckerTest.java | 52 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
|
| D | LeakedThreadStatusCheckerTest.java | 49 StatusCheckerResult result = thread.mResult; in testNoLeakedThread() local 64 StatusCheckerResult result = thread.mResult; in testLeakedThread() local 83 StatusCheckerResult result = thread.mResult; in testLeakedThread_background() local
|
| D | SystemServerStatusCheckerTest.java | 72 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/ |
| D | ExecutableHostTestTest.java | 101 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/ |
| D | SandboxedInvocationExecutionTest.java | 214 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/ |
| D | GceManagerTest.java | 114 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/ |
| D | SandboxConfigUtilTest.java | 64 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/ |
| D | ShellStatusChecker.java | 54 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in preExecutionCheck() local 82 StatusCheckerResult result = new StatusCheckerResult(CheckStatus.SUCCESS); in postExecutionCheck() local
|
| D | EnforcedSeLinuxChecker.java | 38 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/ |
| D | Sl4aEventDispatcherTest.java | 115 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/ |
| D | ZipTestUtils.java | 84 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/ |
| D | DisableSELinuxTargetPreparer.java | 41 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/ |
| D | WifiRoamingPerformanceTest.py | 77 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/ |
| D | SimplePerfStatResultParser.java | 56 List<String> result = new ArrayList<>(); in parseSingleLine() local 92 SimplePerfResult result = new SimplePerfResult(); in parseRawOutput() local
|