Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java122 public void run() { in run() method in Console.ArgRunnable
123 run(null); in run()
126 abstract public void run(T args); in run() method in Console.ArgRunnable
144 public void run(CaptureList args) { in run() method in Console.QuitRunnable
185 public void run(CaptureList args) { in run() method in Console.ForceQuitRunnable
264 new QuitRunnable().run(new CaptureList()); in registerShutdownSignals()
275 new ForceQuitRunnable().run(new CaptureList()); in registerShutdownSignals()
315 public void run(CaptureList args) { in generateHelpListings()
330 public void run() { in generateHelpListings()
342 public void run() { in generateHelpListings()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostTestTest.java496 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in HostTestTest.TestRemoteNotCollector
625 mHostTest.run(mTestInfo, mListener); in testRun_testcase()
651 mHostTest.run(mTestInfo, mListener); in testRun_MetricTestCase()
676 mHostTest.run(mTestInfo, mListener); in testRun_LogMetricTestCase()
712 mHostTest.run(mTestInfo, mListener); in testRun_MetricTestCase_withOption()
731 mHostTest.run(mTestInfo, mListener); in testRun_testSuite()
750 mHostTest.run(mTestInfo, mListener); in testRun_junit3TestSuite_dynamicOptions()
769 mHostTest.run(mTestInfo, mListener); in testRun_testHierarchySuite()
786 mHostTest.run(mTestInfo, mListener); in testRun_testMethod()
796 mHostTest.run(mTestInfo, mListener); in testRun_missingClass()
[all …]
DAndroidJUnitTestTest.java133 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeFilterClass()
145 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_excludeFilterClass()
159 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeAndExcludeFilterClass()
171 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeFilterPackage()
183 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_excludeFilterPackage()
197 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeAndExcludeFilterPackage()
209 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeFilterSingleTestsRegex()
222 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeFilterMultipleTestsRegex()
234 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeFilterInvalidTestsRegex()
256 mAndroidJUnitTest.run(mTestInfo, mMockListener); in testRun_includeAndExcludeFilters()
[all …]
DInstrumentationTestTest.java187 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun()
209 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_bothAbi()
322 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_noDevice()
346 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_rerunEmpty()
395 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_betterFailure()
459 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_rerun()
513 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_duplicate()
566 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_duplicate_disable()
632 mInstrumentationTest.run(mTestInfo, listener); in testRun_rerun_Parameterized()
699 mInstrumentationTest.run(mTestInfo, mMockListener); in testRun_rerunCoverage()
[all …]
DInstrumentationTestFuncTest.java115 mInstrumentationTest.run(getTestInformation(), mMockListener); in testRun()
129 mInstrumentationTest.run( in testRun_testFailed()
174 mInstrumentationTest.run(getTestInformation(), mMockListener); in testRun_testCrash()
195 mInstrumentationTest.run( in testRun_testTimeout()
230 public void run() { in testRun_deviceReboot()
248 mInstrumentationTest.run( in testRun_deviceReboot()
277 mInstrumentationTest.run( in testRun_maxTimeout()
304 public void run() { in testRun_deviceRuntimeReset()
331 mInstrumentationTest.run( in testRun_deviceRuntimeReset()
369 mInstrumentationTest.run(getTestInformation(), listener); in testRun_rerun()
[all …]
DDeviceTestCaseTest.java128 test.run(mTestInfo, listener); in testRun_suite()
150 test.run(mTestInfo, listener); in testRun_includeFilter()
170 test.run(mTestInfo, listener); in testRun_excludeFilter()
193 test.run(mTestInfo, listener); in testRun_includeAnnotationFiltering()
213 test.run(mTestInfo, listener); in testRun_checkAnnotation()
241 test.run(mTestInfo, listener); in testRun_excludeAnnotationFiltering()
261 test.run(mTestInfo, listener); in testRun_singleTest()
282 test.run(mTestInfo, listener); in testRun_deviceNotAvail()
306 test.run(mTestInfo, listener); in testRun_testcaseCollectMode()
325 test.run(mTestInfo, listener); in testRun_testcaseCollectMode_singleMethod()
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_base_class_test.py73 bt_cls.run(test_names=['test_func'])
93 bt_cls.run()
125 bt_cls.run(test_names=test_names)
145 bt_cls.run()
164 bt_cls.run()
188 bt_cls.run(test_names=['test_something'])
213 bt_cls.run(test_names=['test_something'])
238 bt_cls.run(test_names=['test_something'])
263 bt_cls.run()
287 bt_cls.run()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py172 self.ssh.run('stop wpasupplicant')
176 self.ssh.run('stop hostapd')
182 self.ssh.run(WLAN_DOWN)
189 self.ssh.run(BRIDGE_DOWN)
190 self.ssh.run(BRIDGE_DEL)
239 interface_mac_orig = self.ssh.run(cmd)
353 self.ssh.run('iptables -t nat -F')
354 self.ssh.run('iptables -t nat -A POSTROUTING -o %s -j MASQUERADE' %
356 self.ssh.run('echo 1 > /proc/sys/net/ipv4/ip_forward')
357 self.ssh.run('echo 1 > /proc/sys/net/ipv6/conf/all/forwarding')
[all …]
Dpacket_capture.py110 result = self.ssh.run('ifconfig -a', ignore_status=True)
125 self.ssh.run('ifconfig wlan%s down' % iface[-1], ignore_status=True)
126 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
127 self.ssh.run('iw phy%s interface add %s type %s'
129 self.ssh.run('ip link set %s up' % iface, ignore_status=True)
130 result = self.ssh.run('iw dev %s info' % iface, ignore_status=True)
136 self.ssh.run('iw dev %s del' % iface, ignore_status=True)
137 result = self.ssh.run('iw dev %s info' % iface, ignore_status=True)
183 result = self.ssh.run('iw dev %s scan' % SCAN_IFACE)
228 self.ssh.run('iw dev %s set channel %s' %
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java156 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in ModuleDefinitionTest.TestObject
219 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in ModuleDefinitionTest.MultiRunTestObject
288 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in ModuleDefinitionTest.DirectFailureTestObject
428 mMockTest.run(EasyMock.eq(mModuleInfo), EasyMock.anyObject()); in testRun()
436 mModule.run(mModuleInfo, mMockListener); in testRun()
461 module.run(mModuleInfo, mMockListener); in testDynamicDownloadThrows_ReportsRunFailed()
480 mMockTest.run(EasyMock.eq(mModuleInfo), EasyMock.anyObject()); in testRun_tearDownException()
493 mModule.run(mModuleInfo, mMockListener); in testRun_tearDownException()
563 mModule.run(mModuleInfo, new ResultForwarder(mMockListener, errorChecker)); in testRun_aggregateRunFailures()
620 mMockTest.run(EasyMock.eq(mModuleInfo), EasyMock.anyObject()); in testRun_disabledPreparation()
[all …]
DGranularRetriableTestWrapperTest.java121 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in GranularRetriableTestWrapperTest.BasicFakeTest
228 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in GranularRetriableTestWrapperTest.MultiTestOneRunFakeTest
307 .run(Mockito.any(), Mockito.any(ITestInvocationListener.class)); in testIntraModuleRun_catchDeviceNotAvailableException()
311 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testIntraModuleRun_catchDeviceNotAvailableException()
328 public void run(TestInformation testInfo, ITestInvocationListener listener) in testIntraModuleRun_catchDeviceUnresponsiveException()
335 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testIntraModuleRun_catchDeviceUnresponsiveException()
361 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testRun_withMultipleRun()
420 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testRun_withMultipleRun_becomePass()
480 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testRun_withMultipleRun_AllBecomePass()
566 granularTestWrapper.run(mModuleInfo, new CollectingTestListener()); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
[all …]
DITestSuiteTest.java218 public void run(TestInformation testInfo, ITestInvocationListener listener) in run() method in ITestSuiteTest.StubCollectingTest
447 mTestSuite.run(mTestInfo, mMockListener); in testRun()
474 mTestSuite.run(mTestInfo, mMockListener); in testRun_whiteListPreparer()
503 mTestSuite.run(mTestInfo, mMockListener); in testRun_failedSystemChecker()
530 mTestSuite.run(mTestInfo, mMockListener); in testRun_failedSystemChecker_runtimeException()
574 mTestSuite.run(mTestInfo, mMockListener); in testRun_failedSystemChecker_reportFailure()
619 mTestSuite.run(mTestInfo, mMockListener); in testRun_failedSystemChecker_reportFailure_bugreport()
639 mTestSuite.run(mTestInfo, mMockListener); in testRun_rebootBeforeModule()
701 mTestSuite.run(mTestInfo, mMockListener); in testRun_unresponsiveDevice()
768 mTestSuite.run(mTestInfo, mMockListener); in testRun_deviceUnavailable()
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DRFCOMM_PTS_INSTRUCTIONS29 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
33 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
37 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
41 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
48 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
55 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
59 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
63 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
67 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
72 Note: If not bonded run: bta_set_scan_mode connectable_discoverable
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dota_sniffer.py245 self.tshark_path = self._sniffer_server.run('which tshark').stdout
342 self._sniffer_server.run(
349 self._sniffer_server.run('sudo kill -15 {}'.format(
358 self._sniffer_server.run('sudo kill -9 {}'.format(
438 self._sniffer_server.run('sudo chmod 777 {}'.format(
458 scan_result = self._sniffer_server.run(scan_command).stdout
476 self._sniffer_server.run(connect_command)
489 self._sniffer_server.run('sudo modprobe -r iwlwifi')
490 self._sniffer_server.run('sudo dmesg -C')
491 self._sniffer_server.run('cat /dev/null | sudo tee /var/log/syslog')
[all …]
/tools/tradefederation/core/src/com/android/tradefed/retry/
DBaseRetryDecision.java183 for (TestRunResult run : previousResults) { in getFailedTestCases()
184 if (run != null) { in getFailedTestCases()
185 for (Entry<TestDescription, TestResult> entry : run.getTestResults().entrySet()) { in getFailedTestCases()
198 for (TestRunResult run : previousResults) { in getRunFailures()
199 if (run != null && run.isRunFailure()) { in getRunFailures()
200 runFailed.add(run); in getRunFailures()
208 for (TestRunResult run : failedRun) { in getNonRetriableFailures()
209 if (!run.getRunFailureDescription().isRetriable()) { in getNonRetriableFailures()
210 nonRetriableRuns.add(run); in getNonRetriableFailures()
254 for (TestRunResult run : previousResults) { in hasAnyFailures()
[all …]
/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md18 and run. Note that the wrapper code is written in python, so we'll be
25 information needed for the test runner to run the test. It then invokes
26 the appropriate test runner code to run the tests. As the tests
27 are run it also parses the test runner's output into the output seen by
41 involves how the test is actually run, you'll need to work with this
70 You can run ALL the python tests by executing this bash script in the
104 TradeFed itself is used to run the TradeFed unittests so you'll need
109 first run the test file your code change affected individually. The
110 command to run an individual test file is:<br>
112 `tradefed.sh run host -n --class <fully.qualified.ClassName>`
[all …]
/tools/asuite/atest/docs/
Ddeveloper_workflow.md18 and run. Note that the wrapper code is written in python, so we'll be
25 information needed for the test runner to run the test. It then invokes
26 the appropriate test runner code to run the tests. As the tests
27 are run it also parses the test runner's output into the output seen by
41 involves how the test is actually run, you'll need to work with this
70 You can run ALL the python tests by executing this bash script in the
104 TradeFed itself is used to run the TradeFed unittests so you'll need
109 first run the test file your code change affected individually. The
110 command to run an individual test file is:<br>
112 `tradefed.sh run host -n --class <fully.qualified.ClassName>`
[all …]
/tools/repohooks/rh/
Dgit.py37 result = rh.utils.run(cmd, capture_output=True)
42 result = rh.utils.run(cmd, capture_output=True)
53 result = rh.utils.run(cmd, capture_output=True)
60 result = rh.utils.run(cmd, capture_output=True)
66 result = rh.utils.run(cmd, capture_output=True)
77 result = rh.utils.run(cmd, capture_output=True)
92 return rh.utils.run(cmd, capture_output=True).stdout
106 return rh.utils.run(cmd, capture_output=True).stdout
148 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
178 return rh.utils.run(cmd, capture_output=True).stdout.split()
[all …]
/tools/test/connectivity/acts/framework/acts/
Dutils.py1022 pid = job.run('pgrep -f %s' % command_regex).stdout
1025 runtime = job.run('ps -o etime= -p "%s"' % pid).stdout
1031 pid = job.run('pidof %s' % process, ignore_status=True).stdout
1034 runtime = job.run('ps -o etime= -p "%s"' % pid).stdout
1419 all_interfaces_and_addresses = comm_channel.run(
1422 ifconfig_output = comm_channel.run('ifconfig %s' % interface).stdout
1501 all_ips_and_interfaces = comm_channel.run(
1511 comm_channel.run('sudo ifconfig %s down' % interface)
1512 comm_channel.run('sudo ifconfig %s up' % interface)
1513 comm_channel.run('sudo killall dhcpcd 2>/dev/null; echo""')
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java147 mTest.run(mTestInfo, mMockListener); in testRun()
183 mTest.run(mTestInfo, mMockListener); in testRun_failWithIncludeFilters()
245 mTest.run(mTestInfo, mMockListener); in testRun_withIncludeFilters()
306 mTest.run(mTestInfo, mMockListener); in testRun_withExcludeFilters()
347 mTest.run(mTestInfo, mMockListener); in testRun_withAdbPath()
392 mTest.run(mTestInfo, mMockListener); in testRun_withSharedLibInHostTestsDir()
437 mTest.run(mTestInfo, mMockListener); in testRun_withSharedLib()
483 mTest.run(mTestInfo, mMockListener); in testRunFail_exception()
521 mTest.run(mTestInfo, mMockListener); in testRunFail_failureOnly()
537 mTest.run(mTestInfo, mMockListener); in testRun_useTestOutputFileOptionSet_parsesSubprocessOutputFile()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dshell.py42 def run(self, command, timeout=60): member in ShellCommand
63 return self._runner.run(command_str, timeout=timeout)
82 self.run('ps aux | grep -v grep | grep %s' % identifier)
105 result = self.run('ps aux | grep -v grep | grep %s' % identifier)
131 self.run('grep %s %s' % (shlex.quote(search_string), file_name))
145 return self.run('cat %s' % file_name).stdout
154 return self.run('echo %s > %s' % (shlex.quote(data), file_name))
163 return self.run('echo %s >> %s' % (shlex.quote(data), file_name))
180 self.run('rm -r %s' % file_name)
236 self.run('kill -%d %d' % (sig, pid))
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java128 mTest.run(null, null); in testReschedule_onlyPassTests()
172 mTest.run(null, null); in testReschedule_carryShardCount()
209 mTest.run(null, null); in testReschedule_someFailedTests()
248 mTest.run(null, null); in testReschedule_someAssumptionFailures()
287 mTest.run(null, null); in testReschedule_mixedFailedAssumptionFailures()
332 mTest.run(null, null); in testReschedule_excludeFilters()
371 mTest.run(null, null); in testReschedule_module_option()
414 mTest.run(null, null); in testReschedule_excludeFilters_abi()
455 mTest.run(null, null); in testReschedule_moduleOption_abi()
493 mTest.run(null, null); in testReschedule_parameterized_nofail()
[all …]
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md1 # Create and run a suite
3 A suite allows one to run a group of tests for a given build. Adding or removing
11 complicated GCL files, for a test to run in multiple suites.
19 "run-suite-tag", which defines the name of the suite. Any test configuration
29 <option name="run-suite-tag" value="framework-base-presubmit" />
56 above example), you can run the suite locally. Running a suite job is similar to
61 tradefed.sh run template/local --template:map \
70 To run a suite with remote build, you need to provide build arguments, e.g.,
74 tradefed.sh run google/template/lab-base \
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DDeviceFileReporterTest.java98 dfr.run(); in testSimple()
123 List<String> filenames = dfr.run(); in testTrim()
157 List<String> filenames = dfr.run(); in testLine_containingSpace()
188 dfr.run(); in testLineEnding_LF()
216 dfr.run(); in testLineEnding_CRLF()
271 dfr.run(); in testRepeat_skip()
334 dfr.run(); in testRepeat_noSkip()
357 dfr.run(); in testNoExist()
392 dfr.run(); in testTwoFiles()
424 dfr.run(); in testInferDataTypes()
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dbridge_interface.py68 self.ssh.run(CREATE_BRIDGE)
77 self.ssh.run(ENABLE_4ADDR)
86 self.ssh.run(ADD_INTERFACE)
94 self.ssh.run(SET_BRIDGE_IP)
108 self.ssh.run(BRING_DOWN_BRIDGE)
110 self.ssh.run(DELETE_BRIDGE)
114 self.ssh.run(BRING_DOWN_WLAN)
117 self.ssh.run(DISABLE_4ADDR)

12345678910>>...18