Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 44) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageTestBase.java204 for (InstrumentationTarget target : instrumentationTargets) { in run()
206 int numShards = doesRunnerSupportSharding(target) ? getNumberOfShards(target) : 1; in run()
212 TestRunResult result = runTest(target, shardIndex, numShards, coverageListener); in run()
223 for (TestDescription identifier : collectTests(target, shardIndex, numShards)) { in run()
224 runTest(target, identifier, coverageListener); in run()
311 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in getInstrumentationTargets()
314 if ((packageFilter.isEmpty() || packageFilter.contains(target.packageName)) && in getInstrumentationTargets()
315 (runnerFilter.isEmpty() || runnerFilter.contains(target.runnerName))) { in getInstrumentationTargets()
316 ret.add(target); in getInstrumentationTargets()
324 boolean doesRunnerSupportSharding(InstrumentationTarget target) in doesRunnerSupportSharding() argument
[all …]
DInstalledInstrumentationsTest.java272 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in buildTests()
273 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
276 if (mTotalShards > 0 && !target.isShardable()) { in buildTests()
292 t.setPackageName(target.packageName); in buildTests()
293 t.setRunnerName(target.runnerName); in buildTests()
294 t.setCoverageTarget(target.targetName); in buildTests()
295 if (mTotalShards > 0 && target.isShardable()) { in buildTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java362 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
363 doReturn(ImmutableList.of(target)).when(mInstrumentationParser).getInstrumentationTargets();
378 doReturn(failure).when(coverageTest).runTest(eq(target), eq(0), eq(1),
380 doReturn(success).when(coverageTest).runTest(eq(target), eq(FOO_TEST1),
382 doReturn(failure).when(coverageTest).runTest(eq(target), eq(FOO_TEST2),
384 doReturn(success).when(coverageTest).runTest(eq(target), eq(FOO_TEST3),
391 verify(coverageTest).runTest(eq(target), eq(0), eq(1), any(ITestInvocationListener.class));
392 verify(coverageTest).runTest(eq(target), eq(FOO_TEST1), any(ITestInvocationListener.class));
393 verify(coverageTest).runTest(eq(target), eq(FOO_TEST2), any(ITestInvocationListener.class));
394 verify(coverageTest).runTest(eq(target), eq(FOO_TEST3), any(ITestInvocationListener.class));
[all …]
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py170 def __init__(self, target, instance): argument
176 self.target = target
178 self.__name__ = target.__name__
185 return self.target(self.instance, *args, **kwargs)
191 return self.target.gather(self.instance, *args, **kwargs)
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py262 def run_find_cmd(ref_type, search_dir, target): argument
274 find_cmd = FIND_CMDS[ref_type] % (search_dir, prune_cond, target)
518 target = line.strip()
520 if not target:
524 if target.endswith(_VTS_PUSH_SUFFIX):
528 sanitized_target = target.split(_XML_PUSH_DELIM, 1)[0].strip()
569 target = value
573 target = os.path.join(rel_out_dir, match.group('target'))
576 target = value.split(_XML_PUSH_DELIM, 1)[0].strip()
577 target = os.path.join(rel_out_dir, target)
[all …]
/tools/tradefederation/core/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/GoogleTradeFed_intermedia…
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/GoogleTradeFedTests_inter…
DAndroid.mk69 $(copy-file-to-new-target)
72 $(copy-file-to-new-target)
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java171 String target = findTargetToLaunch(targets); in createAvd() local
172 return createAvdForTarget(sdkBuildInfo, target); in createAvd()
386 private String createAvdForTarget(ISdkBuildInfo sdkBuild, String target) in createAvdForTarget() argument
390 final String targetName = createAvdName(target); in createAvdForTarget()
392 CLog.d("Creating avd for target %s with name %s", target, targetName); in createAvdForTarget()
399 setCommandList(avdCommand, "--target", target); in createAvdForTarget()
416 "Unable to create avd for target '%s'. stderr: '%s'", target, in createAvdForTarget()
429 private String createAvdName(String target) { in createAvdName() argument
430 if (target == null) { in createAvdName()
433 return target.replaceAll("[^a-zA-Z0-9\\.\\-]", ""); in createAvdName()
/tools/dexter/dexter/
Ddissasembler.cc80 for (auto target : packed_switch->targets) { in Visit() local
82 printf("Label_%d", target->id); in Visit()
94 printf("Label_%d", switchCase.target->id); in Visit()
108 bool PrintCodeIrVisitor::Visit(lir::CodeLocation* target) { in Visit() argument
109 printf("Label_%d", target->label->id); in Visit()
/tools/acloud/internal/lib/
Dandroid_build_client.py70 target=build_target,
111 target=build_target,
Dandroid_build_client_test.py73 target=self.BUILD_TARGET,
105 target=self.BUILD_TARGET,
/tools/tradefederation/core/prod-tests/tests/
DAndroid.mk39 $(copy-file-to-new-target)
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/
DInfraAssociationStressTest.py94 target=self.wait_for_disassociation, args=(q, init_dut))
96 target=self.wait_for_disassociation, args=(q, resp_dut))
/tools/loganalysis/
DAndroid.mk36 $(copy-file-to-new-target)
/tools/loganalysis/tests/
DAndroid.mk37 $(copy-file-to-new-target)
/tools/tradefederation/core/remote/
DAndroid.mk37 $(copy-file-to-new-target)
/tools/tradefederation/core/prod-tests/
DAndroid.mk40 $(copy-file-to-new-target)
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectoryEntry.java266 public void moveTo(FatLfnDirectory target, String newName) in moveTo() argument
271 if (!target.isFreeName(newName)) { in moveTo()
277 this.parent = target; in moveTo()
/tools/tradefederation/core/tests/
DAndroid.mk41 $(copy-file-to-new-target)
/tools/tradefederation/contrib/
DAndroid.mk42 $(copy-file-to-new-target)
/tools/repohooks/rh/
Dgit.py136 def raw_diff(path, target): argument
148 cmd = ['git', 'diff', '--no-ext-diff', '-M', '--raw', target]
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py123 thread = threading.Thread(target=self._start_advertisements_thread,
153 target=self._start_advertisements_thread,
328 target=self._restart_special_advertisements_thread,
/tools/test/connectivity/tools/
D.gitignore61 target/
/tools/test/connectivity/acts/
D.gitignore61 target/
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiItem.kt116 val target = containingMethod() in appendDocumentation() constant
117 target.appendDocumentation(comment, parameterName) in appendDocumentation()

12