Home
last modified time | relevance | path

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

123

/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 testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() local
346 CommandResult res = new CommandResult(); in testSetupFail_getActivatedPackageFail() local
381 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailPackageNameWrong() local
423 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailVersionWrong() local
465 CommandResult res = new CommandResult(); in testSetupFail_apexActivationFailSourceDirWrong() local
507 CommandResult res = new CommandResult(); in testSetupSuccess_activatedSuccessOnQ() local
538 CommandResult res = new CommandResult(); in testSetupAndTearDown_SingleApk() 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/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
DNativeDeviceTest.java1216 InputStreamSource res = null; in testGetBugreport_deviceUnavail_fallback() local
1911 Long res = mTestDevice.parseFreeSpaceFromModernOutput(dfOutput); in testParseDfOutput_mountWithNumber() local
1924 Long res = mTestDevice.parseFreeSpaceFromModernOutput(dfOutput); in testParseDfOutput() local
1937 Long res = mTestDevice.parseFreeSpaceFromModernOutput(dfOutput); in testParseDfOutput_wrongMount() local
1949 Long res = mTestDevice.parseFreeSpaceFromModernOutput(dfOutput); in testParseDfOutput_filesystemWithNumber() local
2160 File res = mTestDevice.pullFile(fakeRemotePath); in testPullFile_returnFileSuccess() local
2181 File res = mTestDevice.pullFile(fakeRemotePath); in testPullFile_returnNull() local
2203 String res = mTestDevice.pullFileContents(fakeRemotePath); in testPullFileContents_returnFileSuccess() local
2221 String res = mTestDevice.pullFileContents(fakeRemotePath); in testPullFileContents_returnNull() local
2429 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testGetProperty_noOutput() local
[all …]
/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
445 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_base() local
472 LinkedHashMap<String, IConfiguration> res = in testFilterParameterized_includeFilter_param() local
496 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_OneModule() local
520 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_MultipleModules() local
552 LinkedHashMap<String, IConfiguration> res = in testLoadConfigsFromSpecifiedPaths_WithExcludeFilter() local
709 LinkedHashMap<String, IConfiguration> res = in testLoadParameterizedMainlineModules() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java123 CommandResult res = new CommandResult(); in testRun() local
160 CommandResult res = new CommandResult(); in testRun_failWithIncludeFilters() local
199 CommandResult res = new CommandResult(); in testRun_withIncludeFilters() local
261 CommandResult res = new CommandResult(); in testRun_withExcludeFilters() local
323 CommandResult res = new CommandResult(); in testRun_withAdbPath() local
368 CommandResult res = new CommandResult(); in testRun_withSharedLibInHostTestsDir() local
413 CommandResult res = new CommandResult(); in testRun_withSharedLib() local
452 CommandResult res = new CommandResult(); in testRunFail_exception() local
498 CommandResult res = new CommandResult(); in testRunFail_failureOnly() local
611 CommandResult res = new CommandResult(); in newCommandResult() local
/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
DAcloudConfigParserTest.java54 AcloudConfigParser res = AcloudConfigParser.parseConfig(tmpConfig); in testParse() local
71 AcloudConfigParser res = AcloudConfigParser.parseConfig(new File("doesnotexistsfile")); in testFailParse() local
DGceManagerTest.java462 GceAvdInfo res = mGceManager.startGce(); in testStartGce() local
560 GceAvdInfo res = mGceManager.startGce(); in testStartGce_bootFail() local
681 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testGetSshBugreport() local
735 CommandResult res = new CommandResult(CommandStatus.SUCCESS); in testGetNestedSshBugreport() local
811 CommandResult res = new CommandResult(CommandStatus.FAILED); in testGetSshBugreport_Fail() 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/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/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/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/build/
DBootstrapBuildProviderTest.java62 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild() local
85 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_stubDevice() local
/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/targetprep/suite/
DSuiteApkInstallerTest.java83 File res = mPreparer.getLocalPathForFilename(mTestInfo, apk.getName()); in testGetLocalPathForFilename_withVariable() local
101 File res = mPreparer.getLocalPathForFilename(mTestInfo, apkFile.getName()); in testGetTestsDir_notDir() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java69 CommandResult res = new CommandResult(); in mockCountTests() local
94 CommandResult res = new CommandResult(); in mockRunTest() local

123