Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDeviceOptions.java54 @Option(name = "enable-root", description = "enable adb root on boot.")
58 description = "attempt to disable keyguard once boot is complete.")
61 @Option(name = "enable-logcat", description =
65 @Option(name = "max-tmp-logcat-file", description =
70 @Option(name = "logcat-options", description =
75 @Option(name = "fastboot-timeout", description =
79 @Option(name = "adb-recovery-timeout", description =
83 @Option(name = "reboot-timeout", description =
87 @Option(name = "use-fastboot-erase", description =
91 @Option(name = "unencrypt-reboot-timeout", description = "time in ms to wait for the device to "
[all …]
DDeviceSelectionOptions.java67 @Option(name = "serial", shortName = 's', description =
71 @Option(name = "exclude-serial", description =
75 @Option(name = "product-type", description =
80 @Option(name = "property", description =
86 @Option(name = "emulator", shortName = 'e', description = "force this test to run on emulator.")
89 @Option(name = "device", shortName = 'd', description =
93 @Option(name = "new-emulator", description =
97 @Option(name = "null-device", shortName = 'n', description =
101 @Option(name = "tcp-device", description =
107 description = "start a placeholder for a gce device that will be connected later.")
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java51 description = "Turn airplane mode on or off")
58 @Option(name = "data", description = "Turn mobile data on or off")
65 @Option(name = "cell", description = "Turn cellular radio on or off")
70 @Option(name = "cell-auto-setting", description = "Turn wear cellular mediator on or off")
75 @Option(name = "wifi", description = "Turn wifi on or off")
83 description = "The SSID of the network to connect to. Will only attempt to " +
88 description = "The passphrase used to connect to a secured network")
91 @Option(name = "wifi-ssid-to-psk", description = "A map of wifi SSIDs to passwords.")
95 description = "Turn wifi watchdog on or off")
100 @Option(name = "disable-cw-wifi-mediator", description = "Turn wifi mediator on or off")
[all …]
DDeviceFlashPreparer.java51 description = "max time to wait for device to boot.",
56 @Option(name = "userdata-flash", description =
60 @Option(name = "encrypt-userdata", description = "specify if userdata partition should be "
64 @Option(name = "force-system-flash", description =
72 @Option(name = "skip-post-flash-flavor-check", description =
79 @Option(name = "skip-post-flash-build-id-check", description =
83 @Option(name = "wipe-skip-list", description =
91 @Option(name = "concurrent-flasher-limit", description =
96 description = "whether or not to skip post-flashing setup steps")
100 description = "the timeout for the command of wiping user data.", isTimeVal = true)
[all …]
DInstrumentationPreparer.java43 description="The manifest package name of the Android test application to run.",
48 description="The instrumentation test runner class name to use.")
52 description="The test class name to run.")
56 description="The test method name to run.")
61 description =
72 description =
81 description = "Instrumentation arguments to provide.")
85 description =
91 description = "Time to delay before retrying another instrumentation attempt.",
DAppSetup.java46 @Option(name="reboot", description="reboot device after running tests.")
49 @Option(name = "install", description = "install all apks in build.")
52 @Option(name = "uninstall", description =
56 @Option(name = "uninstall-all", description =
60 @Option(name = "skip-uninstall-pkg", description =
64 @Option(name = "install-arg", description = "optional flag(s) to provide when installing apks.")
67 @Option(name = "post-install-cmd", description =
71 @Option(name = "post-install-cmd-timeout", description =
76 @Option(name = "check-min-sdk", description =
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandOptions.java35 @Option(name = "help", description =
40 @Option(name = "help-all", description = "display the full help text for all options.",
44 @Option(name = "json-help", description = "display the full help in json format.")
52 description =
61 description =
68 @Option(name = "min-loop-time", description =
72 @Option(name = "max-random-loop-time", description =
79 @Option(name = "test-tag", description = "Identifier for the invocation during reporting.")
82 @Option(name = "test-tag-suffix", description = "suffix for test-tag. appended to test-tag to "
86 @Option(name = "loop", description = "keep running continuously.",
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java64 description="The defined timeout (in milliseconds) is used as a maximum waiting time "
71 description="Sets timeout (in milliseconds) that will be applied to each test. In the "
77 description = "Restrict tests to a specific test size. " +
83 description = "Restrict tests executed to a specific instrumentation class runner. " +
88 description = "Rerun unexecuted tests individually on same device if test run " +
93 description = "Schedule unexecuted tests for resumption on another device " +
98 description = "Send coverage target info to test listeners.")
101 @Option(name = "bugreport-on-failure", description = "Sets which failed testcase events " +
109 description = "Take a bugreport if the instrumentation finish with a run failure"
113 @Option(name = "screenshot-on-failure", description = "Take a screenshot on every test failure")
[all …]
DInstrumentationTest.java95 description = "The manifest package name of the Android test application to run.",
101 description="The instrumentation test runner class name to use. Will try to determine "
106 description="The test class name to run.")
110 description="The test method name to run.")
114 description="Only run tests within this specific java package. " +
123 description="Deprecated - Use \"shell-timeout\" or \"test-timeout\" instead.")
128 description =
139 description =
149 description =
157 description="Restrict test to a specific test size.")
[all …]
DGTestBase.java51 @Option(name = "run-disable-tests", description = "Determine to run disable tests or not.")
54 @Option(name = "module-name", description = "The name of the native test module to run.")
59 description = "Regex to exclude certain files from executing. Can be repeated")
64 description = "The GTest-based positive filter of the test name to run.")
69 description = "The GTest-based negative filter of the test name to run.")
74 description = "The GTest-based positive filter of the test names to run."
80 description = "The GTest-based negative filter of the test names to run."
86 description =
94 description =
102 description = "Prepend filename as part of the classname for the tests.")
[all …]
DUiAutomatorTest.java76 @Option(name = "jar-path", description = "path to jars containing UI Automator test cases and"
83 description =
89 @Option(name = "sync-time", description = "time to allow for initial sync, in ms")
93 description = "Additional test specific arguments to provide.")
97 description = "Aborts the test run if any test takes longer than the specified "
101 @Option(name = "capture-logs", description =
105 @Option(name = "runner-path", description = "path to uiautomator runner; may be null and "
110 description = "sets the action to perform if a test fails")
114 description = "allows uiautomator test to ignore SIGHUP signal")
118 description = "the run name to use when reporting test results.")
[all …]
DNativeBenchmarkTest.java56 description="The path on the device where native stress tests are located.")
60 description="The name of the native benchmark test module to run. " +
65 description="Optional name to pass to test reporters. If unspecified, will use" +
70 description="The number of benchmark test iterations per run.")
74 description="The delay between each benchmark iteration, in micro seconds." +
79 @Option(name = "max-run-time", description =
84 description="Optionally specify a server cpu.")
88 description="Optionally specify a client cpu.")
92 description="Flag to force device cpu to run at maximum frequency.")
DDeviceBatteryLevelChecker.java47 @Option(name = "max-battery", description = "Charge level below which we force the device to " +
51 @Option(name = "resume-level", description = "Charge level at which we release the device to " +
59 @Option(name = "poll-time", description = "Time in minutes to wait between battery level " +
63 @Option(name = "batt-log-period", description = "Min time in minutes to wait between " +
67 @Option(name = "reboot-charging-devices", description = "Whether to reboot a device when we " +
72 @Option(name = "stop-runtime", description = "Whether to stop runtime.")
75 @Option(name = "stop-logcat", description = "Whether to stop logcat during the recharge. "
81 description = "The max run time the battery level checker can run before stopping.",
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnit4ResultForwarder.java51 Description description = failure.getDescription(); in testFailure() local
52 if (description.getMethodName() == null) { in testFailure()
70 public void testStarted(Description description) throws Exception { in testStarted() argument
74 description.getClassName(), in testStarted()
75 description.getMethodName(), in testStarted()
76 description.getAnnotations()); in testStarted()
81 public void testFinished(Description description) throws Exception { in testFinished() argument
84 description.getClassName(), in testFinished()
85 description.getMethodName(), in testFinished()
86 description.getAnnotations()); in testFinished()
[all …]
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java140 @Option(name = "package", description = "Package name to send events to. May be repeated.")
145 description =
151 @Option(name = "category", description = "App Category. May be repeated.")
154 @Option(name = "option", description = "Option to pass to monkey command. May be repeated.")
159 description =
166 description =
173 description = "Target number of events to send.",
177 @Option(name = "random-seed", description = "Random seed to use for the monkey.")
182 description =
189 description = "Monkey should keep going after encountering " + "an app crash")
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java149 TestDescription description = new TestDescription(info[0], info[1]); in evalProto() local
150 mListener.testStarted(description, timeStampToMillis(childProto.getStartTime())); in evalProto()
151 handleTestCaseEnd(description, childProto); in evalProto()
321 TestDescription description = new TestDescription(info[0], info[1]); in handleTestCase() local
323 handleTestCaseEnd(description, testcaseProto); in handleTestCase()
325 log("Test case started proto: %s", description.toString()); in handleTestCase()
326 mListener.testStarted(description, timeStampToMillis(testcaseProto.getStartTime())); in handleTestCase()
330 private void handleTestCaseEnd(TestDescription description, TestRecord testcaseProto) { in handleTestCaseEnd() argument
333 mListener.testFailed(description, testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
336 description.toString(), testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java144 description =
153 description = "Take a logcat snapshot on every test failure."
160 description =
169 description = "Take a screenshot on every test failure."
174 description = "Reboot the device after every test failure.")
178 @Option(name = "reboot-per-module", description = "Reboot the device before every module run.")
182 description = "Reboot the device at the last intra-module retry")
186 description = "Whether all system status check between modules should be skipped")
191 description =
202 description = "Whether reporting system checkers as test or not."
[all …]
DBaseTestSuite.java59 description = "the include module filters to apply.",
66 description = "the exclude module filters to apply.",
74 description = "the test module to run. Only works for configuration in the tests dir.",
82 description = "the test to run.",
89 description =
98 description =
107 description =
115 description =
123 description = "Search only configs with given prefix for suite tags."
129 description = "Whether or not to skip loading configurations from the JAR on the classpath."
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
DFioBenchmarkTest.java423 description =
428 @Option(name = "tmp-dir", description = "The directory used for interal benchmarks.")
431 @Option(name = "internal-test-dir", description = "The directory used for interal benchmarks.")
434 @Option(name = "media-test-dir", description = "The directory used for media benchmarks.")
437 @Option(name = "external-test-dir", description = "The directory used for external benchmarks.")
440 @Option(name = "collect-yaffs-logs", description = "Collect yaffs logs before and after tests")
443 @Option(name = "run-simple-internal-test", description = "Run the simple internal benchmark.")
448 description = "The file size of the simple internal benchmark in MB.")
451 @Option(name = "run-simple-external-test", description = "Run the simple external benchmark.")
456 description = "The file size of the simple external benchmark in MB.")
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DStubBuildProvider.java36 @Option(name="build-id", description="build id to supply.")
39 @Option(name="build-target", description="build target name to supply.")
42 @Option(name="branch", description="build branch name to supply.")
45 @Option(name="build-flavor", description="build flavor name to supply.")
48 @Option(name = "build-os", description = "build os name to supply.")
51 @Option(name="build-attribute", description="build attributes to supply.")
56 description = "force the stub provider to return a null build. Used for testing."
62 description = "force the stub provider to throw a BuildRetrievalError. Used for testing."
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAtraceCollector.java54 description = "the tracing categories atrace will capture")
59 description = "the temporary location the trace log will be saved to on device"
65 description = "the temporary location the trace log will be saved to on device"
70 description = "delete the trace log on the target device after the host collects it")
74 description = "produce a compressed trace dump")
88 description =
96 description = "a self-contained binary that will be executed on the trace file"
100 @Option(name = "post-process-args", description = "args for the binary")
106 description =
126 description =
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java288 TestDescription description = in testLogReporting() local
294 .get(description) in testLogReporting()
574 TestDescription description = in createResultWithLog() local
576 fakeRes.testStarted(description); in createResultWithLog()
579 fakeRes.testEnded(description, new HashMap<String, Metric>()); in createResultWithLog()
602 TestDescription description = in createFakeResult() local
604 fakeRes.testStarted(description); in createFakeResult()
605 fakeRes.testEnded(description, new HashMap<String, Metric>()); in createFakeResult()
608 TestDescription description = in createFakeResult() local
610 fakeRes.testStarted(description); in createFakeResult()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/binary/
DExecutableBaseTest.java43 @Option(name = "binary", description = "Path to the binary to be run. Can be repeated.")
48 description = "Only dry-run through the tests, do not actually run them."
54 description = "The hint about the test's runtime.",
72 TestDescription description = in run() local
74 listener.testStarted(description); in run()
78 runBinary(path, listener, description); in run()
81 listener.testEnded(description, new HashMap<String, Metric>()); in run()
106 String binaryPath, ITestInvocationListener listener, TestDescription description) in runBinary() argument
/tools/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java65 @Option(name = "test-package-name", description = "Android test package name.")
68 @Option(name = "test-class-name", description = "Test class name.")
71 @Option(name = "test-method-name", description = "Test method name.")
74 @Option(name = "test-label", description = "Test label to identify the test run.")
79 description = "Test label to use when posting to dashboard.",
83 @Option(name = "ssid", description = "The ssid to use for the wifi connection.")
88 description = "The initial poll interval in msecs for querying the test server.")
93 description = "The total timeout in msecs for querying the test server.")
98 description = "The timeout in msecs for a single operation to query the test server.")
103 description = "The maximum allowed difference between network stats in percent")
[all …]
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java45 description = "The envelope-sender address to use for the messages.",
50 description = "One or more destination addresses.",
55 description = "The prefix to be added to the beginning of the email subject.")
59 description = "The minimum interval between emails in ms. " +
186 protected Message generateEmailMessage(String description, Throwable cause) { in generateEmailMessage() argument
190 msg.setBody(generateEmailBody(description, cause)); in generateEmailMessage()
203 public boolean onTerribleFailure(String description, Throwable cause) { in onTerribleFailure() argument
217 Message msg = generateEmailMessage(description, cause); in onTerribleFailure()

12345678910>>...12