Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageTestBase.java171 for (InstrumentationTarget target : instrumentationTargets) { in run()
173 int numShards = doesRunnerSupportSharding(target) ? getNumberOfShards(target) : 1; in run()
179 TestRunResult result = runTest(target, shardIndex, numShards, coverageListener); in run()
191 collectTests(target, shardIndex, numShards)) { in run()
192 runTest(target, identifier, coverageListener); in run()
278 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in getInstrumentationTargets()
281 if ((packageFilter.isEmpty() || packageFilter.contains(target.packageName)) && in getInstrumentationTargets()
282 (runnerFilter.isEmpty() || runnerFilter.contains(target.runnerName))) { in getInstrumentationTargets()
283 ret.add(target); in getInstrumentationTargets()
291 boolean doesRunnerSupportSharding(InstrumentationTarget target) in doesRunnerSupportSharding() argument
[all …]
DInstalledInstrumentationsTest.java257 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in buildTests()
258 if (mRunner == null || mRunner.equals(target.runnerName)) { in buildTests()
261 if (mTotalShards > 0 && !target.isShardable()) { in buildTests()
277 t.setPackageName(target.packageName); in buildTests()
278 t.setRunnerName(target.runnerName); in buildTests()
279 t.setCoverageTarget(target.targetName); in buildTests()
280 if (mTotalShards > 0 && target.isShardable()) { in buildTests()
DInstrumentationTest.java606 for (InstrumentationTarget target : parser.getInstrumentationTargets()) { in queryRunnerName()
607 if (mPackageName.equals(target.packageName)) { in queryRunnerName()
608 return target.runnerName; in queryRunnerName()
/tools/tradefederation/core/prod-tests/src/com/android/sdk/tests/
DSdkTestAppTest.java86 for (String target : mSdkBuild.getSdkTargets()) { in run()
87 buildTestAppsForTarget(target, sdkTestAppDir.listFiles(), listener); in run()
100 private void buildTestAppsForTarget(String target, File[] testAppDirs, in buildTestAppsForTarget() argument
105 buildTestApp(target, listener, testAppDir, true); in buildTestAppsForTarget()
111 buildTestApp(target, listener, testAppDir, false); in buildTestAppsForTarget()
171 private void buildTestApp(String target, ITestInvocationListener listener, File testAppDir, in buildTestApp() argument
173 CLog.i("Building %s test-app for target %s", testAppDir.getName(), target); in buildTestApp()
176 "%s_%s", testAppDir.getName(), target)); in buildTestApp()
179 runTestAppTest(target, testAppDir, isLibrary); in buildTestApp()
188 private void runTestAppTest(String target, File testAppDir, boolean isLibrary) { in runTestAppTest() argument
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java132 public void addTests(InstrumentationTarget target, Collection<TestIdentifier> tests) { in addTests() argument
133 mTests.putIfAbsent(target, new ArrayList<TestIdentifier>()); in addTests()
134 mTests.get(target).addAll(tests); in addTests()
174 InstrumentationTarget target = new InstrumentationTarget(packageName, runnerName, ""); in internalCreateTestRunner() local
175 List<TestIdentifier> tests = mTests.getOrDefault(target, in internalCreateTestRunner()
197 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
208 coverageTest.addTests(target, FOO_TESTS);
253 InstrumentationTarget target = new InstrumentationTarget(PACKAGE_NAME1, RUNNER_NAME1, "");
261 coverageTest.addTests(target, FOO_TESTS);
276 verify(coverageTest).runTest(eq(target), eq(i), eq(numShards),
[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/
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.mk53 $(copy-file-to-new-target)
56 $(copy-file-to-new-target)
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DSdkAvdPreparer.java173 String target = findTargetToLaunch(targets); in createAvd() local
174 return createAvdForTarget(sdkBuildInfo, target); in createAvd()
388 private String createAvdForTarget(ISdkBuildInfo sdkBuild, String target) in createAvdForTarget() argument
392 final String targetName = createAvdName(target); in createAvdForTarget()
394 CLog.d("Creating avd for target %s with name %s", target, targetName); in createAvdForTarget()
401 setCommandList(avdCommand, "--target", target); in createAvdForTarget()
418 "Unable to create avd for target '%s'. stderr: '%s'", target, in createAvdForTarget()
431 private String createAvdName(String target) { in createAvdName() argument
432 if (target == null) { in createAvdName()
435 return target.replaceAll("[^a-zA-Z0-9\\.\\-]", ""); in createAvdName()
/tools/loganalysis/
DAndroid.mk36 $(copy-file-to-new-target)
/tools/tradefederation/core/prod-tests/tests/
DAndroid.mk40 $(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/apksig/
DAndroid.mk54 $(copy-file-to-new-target)
/tools/repohooks/rh/
Dgit.py135 def raw_diff(path, target): argument
147 cmd = ['git', 'diff', '-M', '--raw', target]
/tools/tradefederation/contrib/
DAndroid.mk39 $(copy-file-to-new-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/acts/
D.gitignore61 target/
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS23 From AOSP root, assuming your target is already built.
28 adb push <aosp_root>/out/target/product/<target_name>/system/bin/mcap_tool /system/bin/
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBluetoothBaseTest.py93 target=self._reboot_device, args=([a]))
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py497 def assert_network_in_list(target, network_list): argument
506 match_results = match_networks(target, network_list)
509 (target, network_list))
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py669 def _is_timestamp_in_range(self, target, begin_time, end_time): argument
670 low = acts_logger.logline_timestamp_comparator(begin_time, target) <= 0
671 high = acts_logger.logline_timestamp_comparator(end_time, target) >= 0

12