Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 79) sorted by relevance

1234

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapperTest.java52 CommandResult res = new CommandResult(); in testAdbVersionParsing() local
68 CommandResult res = new CommandResult(); in testAdbVersionParsing_altFormat() local
87 CommandResult res = new CommandResult(); in testAdbVersionParse_runFail() local
103 CommandResult res = new CommandResult(); in testAdbVersionParsing_partial() local
119 CommandResult res = new CommandResult(); in testAdbVersionParsing_parseFail() local
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java226 CommandResult res = new CommandResult(); in testSetupSuccess_removeExistingStagedApexSuccess() local
253 CommandResult res = new CommandResult(); in testSetupSuccess_noDataUnderApexDataDirs() local
283 CommandResult res = new CommandResult(); in testSetupSuccess_getActivatedPackageSuccess() local
316 CommandResult res = new CommandResult(); in testSetupSuccess_withAbsoluteTestFileName() local
349 CommandResult res = new CommandResult(); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() local
379 CommandResult res = new CommandResult(); in testSetupFail_getActivatedPackageFail() local
414 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailPackageNameWrong() local
456 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailVersionWrong() local
498 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailSourceDirWrong() local
540 CommandResult res = new CommandResult(); in testSetupSuccess_activatedSuccessOnQ() local
[all …]
DFastbootDeviceFlasherTest.java533 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashBootloader() local
583 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_flashing() local
614 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFlashingSystemWithRamdisk() local
661 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testSkipFlashingSystemWithRamdisk() local
695 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_withFlashOptions() local
728 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testCheckAndFlashSystem_exception() local
DAppSetupTest.java315 Set<String> res = new HashSet<>(); in testSetup_uninstallAll_noPackage() local
332 Set<String> res = new HashSet<>(); in testSetup_uninstallAll() local
351 Set<String> res = new HashSet<>(); in testSetup_uninstallAll_fails() local
DRunCommandTargetPreparerTest.java74 CommandResult res = new CommandResult(); in testSetUp() local
93 CommandResult res = new CommandResult(); in testSetUp_withTimeout() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DResourceUtilTest.java38 Map<String, String> res = ResourceUtil.readConfigurationFromResource("this/doesnt/exists"); in testLoadNonExisting() local
45 Map<String, String> res = in testLoad() local
57 Map<String, String> res = in testLoad_invalid() local
DBundletoolUtilTest.java87 CommandResult res = new CommandResult(); in testGenerateDeviceSpecFile() local
116 CommandResult res = new CommandResult(); in testextractSplitsFromApks() local
147 CommandResult res = new CommandResult(); in test_extractSplitsFromApksFail() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java69 CommandResult res = new CommandResult(); in newCommandResult() local
129 private void mockTestRunExpect(File binary, CommandResult res) throws Exception { in mockTestRunExpect()
159 CommandResult res = successResult("", resultCount(6, 1, 2)); in testRun() local
184 CommandResult res = successResult("", resultCount(6, 1, 2)); in testRun_withAdbPath() local
203 CommandResult res = newCommandResult(CommandStatus.EXCEPTION, "Err.", "Exception."); in testRunFail_exception() local
233 CommandResult res = newCommandResult(CommandStatus.FAILED, "", resultCount(6, 1, 2)); in testRunFail_list() local
253 CommandResult res = newCommandResult(CommandStatus.FAILED, "", resultCount(6, 1, 2)); in testRunFail_failureOnly() local
284 CommandResult res = successResult("", resultCount(6, 1, 2)); in testExcludeFilter() local
327 CommandResult res = successResult("", resultCount(3, 0, 0)); in testIncludeExcludeFilter() local
387 CommandResult res = successResult("", resultCount(2, 0, 0)); in testMultipleIncludeExcludeFilter() local
/tools/tradefederation/core/tests/src/com/android/tradefed/lite/
DSampleTests.java35 int res = 2 + 2; in testAddition() local
42 int res = 2 * 2; in testMultiplication() local
49 int res = 12 - 2; in testSubtraction() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java71 List<ModuleDefinition> res = in testSplitModule_configNotShardable() local
107 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_dynamic() local
142 List<ModuleDefinition> res = in testSplitModule_configNotStrictShardable_notDynamic() local
171 List<ModuleDefinition> res = in testSplitModule_noIntraModuleSharding() local
208 List<ModuleDefinition> res = in testSplitModule_testNotShardable() local
241 List<ModuleDefinition> res = in testSplitModule_testShardable_didNotShard() local
275 List<ModuleDefinition> res = in testSplitModule_testShardable_shard() local
304 List<ModuleDefinition> res = in testSplitModule_testShardable_shard_noDynamic() local
DSuiteModuleLoaderTest.java251 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs() local
322 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_testArgs() local
362 LinkedHashMap<String, IConfiguration> res = in testInjectConfigOptions_moduleArgs_alias() local
399 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized() local
449 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_excludeFilter_parameter() local
476 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_base() local
503 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_param() local
529 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_WithModuleArg() local
557 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_OneModule() local
581 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_MultipleModules() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteFileUtilTest.java57 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFetchRemoteFile() local
92 CommandResult res = new CommandResult(CommandStatus.FAILED); in testFetchRemoteFile_fail() local
121 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testFetchRemoteDir() local
157 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testPushFileToRemote() local
199 CommandResult res = new CommandResult(CommandStatus.FAILED); in testPushFileToRemote_fail() local
DGceRemoteCmdFormatterTest.java35 List<String> res = in testFormatSsh() local
54 List<String> res = in testFormatScp() local
DAcloudConfigParserTest.java54 AcloudConfigParser res = AcloudConfigParser.parseConfig(tmpConfig); in testParse() local
71 AcloudConfigParser res = AcloudConfigParser.parseConfig(new File("doesnotexistsfile")); in testFailParse() local
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java138 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment() local
181 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_dumpConfigFail() local
221 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_dumpConfigFail_fallback_fail() local
243 Exception res = mSandbox.prepareEnvironment(mMockContext, mMockConfig, mMockListener); in testPrepareEnvironment_noTfDirJar() local
272 File res = in testSandboxOptions() local
DSandboxConfigDumpTest.java58 int res = mConfigDump.parse(commandLine); in testParseCommandLine() local
79 int res = mConfigDump.parse(commandLine); in testParseCommandLine_filtered() local
100 int res = mConfigDump.parse(commandLine); in testParseCommandLine_run() local
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBootstrapBuildProviderTest.java66 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild() local
92 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_add_extra_file() local
117 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_stubDevice() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java123 CommandResult res = new CommandResult(); in testRun() local
165 CommandResult res = new CommandResult(); in testRun_failWithIncludeFilters() local
204 CommandResult res = new CommandResult(); in testRun_withIncludeFilters() local
266 CommandResult res = new CommandResult(); in testRun_withExcludeFilters() local
328 CommandResult res = new CommandResult(); in testRun_withAdbPath() local
373 CommandResult res = new CommandResult(); in testRun_withSharedLibInHostTestsDir() local
418 CommandResult res = new CommandResult(); in testRun_withSharedLib() local
457 CommandResult res = new CommandResult(); in testRunFail_exception() local
503 CommandResult res = new CommandResult(); in testRunFail_failureOnly() local
616 CommandResult res = new CommandResult(); in newCommandResult() local
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java103 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testBasicFormat() local
155 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testFailuresReporting() local
207 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testFailuresReporting_notDone() local
263 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testAssumptionFailures_Ignore_Reporting() local
326 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testLogReporting() local
375 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testMetricReporting() local
437 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testDeviceSerials() local
462 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testBasicFormat_shallow() local
513 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testMetricReporting_badKey() local
580 File res = mFormatter.writeResults(mResultHolder, mResultDir); in testRunHistoryReporting() local
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java291 List<IRemoteTest> res = testShard(0); in testMergeSuite_shard0() local
309 List<IRemoteTest> res = testShard(1); in testMergeSuite_shard1() local
327 List<IRemoteTest> res = testShard(2); in testMergeSuite_shard2() local
394 List<IRemoteTest> res = mConfig.getTests(); in testSuite_withAllInterfaces() local
423 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_hightests_highcount() local
451 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_lowtests_lowcount() local
465 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_lowtests_lowcount2() local
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java137 CommandResult res = getRunUtil() in checkGSUtil() local
184 CommandResult res = run in copy() local
282 CommandResult res = getRunUtil() in makeBucket() local
316 CommandResult res = in ls() local
423 CommandResult res = in stat() local
459 CommandResult res = in md5Hash() local
519 CommandResult res = copy(getUriForGcsPath(bucketPath), FILENAME_STDOUT); in pullContents() local
587 CommandResult res = getRunUtil() in remove() local
647 CommandResult res = getRunUtil() in removeBucket() local
DBundletoolUtil.java98 CommandResult res = in generateDeviceSpecFile() local
148 CommandResult res = getRunUtil().runTimedCmd(CMD_TIME_OUT, extractApkCmd); in extractSplitsFromApks() local
184 CommandResult res = in installApks() local
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java60 try (InputStream res = readFromRes(YAML_TEST_CONFIG_1)) { in testParseConfig()
110 try (InputStream res = readFromRes(YAML_TEST_CONFIG_1)) { in testParseModule()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DNativeBenchmarkTestTest.java81 String res = mBenchmark.getTestPath(); in testGetTestPath() local
89 String res = mBenchmark.getTestPath(); in testGetTestPath_withModule() local
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/
DHttpRemoteFileResolverTest.java55 File res = in testResolve() local

1234