/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | dashboard_main.jsp | 33 var test = $('#input-box').val(); 34 if (!testSet.has(test) || test in subscriptionMap) { 38 $.post('/api/favorites', { testName: test}).then(function(data) { 42 subscriptionMap[test] = data.key; 45 .attr('href', '${resultsUrl}?testName=' + test); 49 var span = $('<span class="entry valign"></span>').text(test); 56 silence.attr('test', test); 63 clear.attr('test', test); 85 var test = self.attr('test'); 86 if (!(test in subscriptionMap)) { [all …]
|
D | show_suite_release.jsp | 57 …<c:if test="${not empty branch or not empty hostName or not empty buildId or not empty deviceName}… 106 $( "div.test-case-container > div.input-field > a.btn" ).each(function() { 177 <div class='row' id='test-suite-green-release-container'> 180 <ul class="collapsible popout test-runs"> 182 <li class="test-run-container"> 183 <div class="collapsible-header test-run"> 191 …<c:when test="${testSuiteResultEntity.passedTestCaseCount eq 0 and testSuiteResultEntity.failedTes… 203 <c:when test="${integerVal eq '100'}"> 209 <c:when test="${decimalVal eq '00'}"> 220 <c:if test="${!testSuiteResultEntity.bootSuccess}"> [all …]
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
D | StatSummaryTest.java | 28 private StatSummary test; field in StatSummaryTest 32 test = new StatSummary("label", VtsProfilingRegressionMode.VTS_REGRESSION_MODE_DECREASING); in setUp() 41 test.updateStats(i); in testAverage() 43 assertEquals(n, test.getCount(), threshold); in testAverage() 44 assertEquals(mean, test.getMean(), threshold); in testAverage() 56 test.updateStats(value); in testMin() 58 assertEquals(n, test.getCount(), threshold); in testMin() 59 assertEquals(min, test.getMin(), threshold); in testMin() 71 test.updateStats(value); in testMax() 73 assertEquals(max, test.getMax(), threshold); in testMax() [all …]
|
/test/vti/test_serving/configs/infra/test/vtslab-config-test/ |
D | services.cfg | 2 # https://vtslab-config-test.appspot.com/schemas/services/vtslab-config-test:services.cfg 13 id: "androidtestcenter-test" 15 metadata_url: "https://androidtestcenter-test.appspot.com/_ah/api/config/v1/metadata" 16 access: "androidtestcenter-test@appspot.gserviceaccount.com" 21 id: "vtslab-auth-test" 23 metadata_url: "https://vtslab-auth-test.appspot.com/_ah/api/config/v1/metadata" 24 access: "vtslab-auth-test@appspot.gserviceaccount.com" 31 # metadata_url: "https://vtslab-cq-test.appspot.com/api/metadata" 36 id: "vtslab-backend-test" 38 access: "vtslab-backend-test@appspot.gserviceaccount.com" [all …]
|
/test/vts/doc/testcase_develop_manual/ |
D | run_vts_directly.md | 1 # Run a VTS test directly 7 `$ . test/vts/script/pypi-packages-local.sh` 11 `$ cd test/vts/script` 27 ## Run a test direclty 29 `$ PYTHONPATH=$PYTHONPATH:.. python -m vts.testcases.<test py package path> $ANDROID_BUILD_TOP/test… 33 …:.. python -m vts.testcases.host.shell.SampleShellTest $ANDROID_BUILD_TOP/test/vts/testcases/host/… 35 More examples are in `test/vts/script/run-local.sh`. 42 ## Add a new test 44 In order to add a new test, the following two files needed to be extended. 46 `test/vts/create-image.sh` [all …]
|
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/ |
D | settings.cfg | 1 # Instance: androidtestcenter-test (swarming-test) 2 # Browse online: https://androidtestcenter-test.appspot.com/restricted/config 12 display_server_url_template: "https://androidtestcenter-test.appspot.com/swarming/task/%s" 14 default_server: "https://vtslab-isolate-test.appspot.com" 21 admins_group: "vtslab-test-swarming-admins" 22 bot_bootstrap_group: "vtslab-test-swarming-bot-bootstrap" 23 privileged_users_group: "vtslab-test-swarming-privileged-users" 24 users_group: "vtslab-test-swarming-users" 25 view_all_bots_group: "vtslab-test-swarming-view-all-bots" 26 view_all_tasks_group: "vtslab-test-swarming-view-all-tasks"
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ModuleListener.java | 73 public void testStarted(TestDescription test) { in testStarted() argument 74 CLog.d("ModuleListener.testStarted(%s)", test.toString()); in testStarted() 75 mListener.testStarted(test); in testStarted() 82 public void testEnded(TestDescription test, HashMap<String, Metric> metrics) { in testEnded() argument 83 CLog.d("ModuleListener.testEnded(%s, %s)", test.toString(), metrics.toString()); in testEnded() 84 mListener.testEnded(test, metrics); in testEnded() 91 public void testIgnored(TestDescription test) { in testIgnored() argument 92 CLog.d("ModuleListener.testIgnored(%s)", test.toString()); in testIgnored() 93 mListener.testIgnored(test); in testIgnored() 100 public void testFailed(TestDescription test, String trace) { in testFailed() argument [all …]
|
D | ConsoleReporter.java | 92 public void testStarted(TestDescription test) { in testStarted() argument 102 public void testFailed(TestDescription test, String trace) { in testFailed() argument 103 logProgress("%s fail: %s", test, trace); in testFailed() 112 public void testIgnored(TestDescription test) { in testIgnored() argument 113 logProgress("%s ignore", test); in testIgnored() 121 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 122 logProgress("%s skip", test); in testAssumptionFailure() 130 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 132 logProgress("%s pass", test); in testEnded()
|
D | MetadataReporter.java | 102 public void testStarted(TestDescription test) { in testStarted() argument 111 public void testFailed(TestDescription test, String trace) { in testFailed() argument 119 public void testIgnored(TestDescription test) { in testIgnored() argument 127 public void testAssumptionFailure(TestDescription test, String trace) { in testAssumptionFailure() argument 135 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 145 metadata.testId = buildTestId(test); in testEnded() 177 private static String buildTestId(TestDescription test) { in buildTestId() argument 178 return String.format("%s.%s", test.getClassName(), test.getTestName()); in buildTestId()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/ |
D | RetryFactoryTest.java | 209 CompatibilityTestSuite test = loadSuite(); in run() local 211 test.run(listener); in run() 217 CompatibilityTestSuite test = loadSuite(); in split() local 218 return test.split(shardCountHint); in split() 231 CompatibilityTestSuite test = createTest(); in loadSuite() local 241 helper.setCommandLineOptionsFor(test); in loadSuite() 246 OptionSetter setter = new OptionSetter(test); in loadSuite() 257 test.setIncludeFilter(helper.getIncludeFilters()); in loadSuite() 258 test.setExcludeFilter(helper.getExcludeFilters()); in loadSuite() 259 test.setDevice(mDevice); in loadSuite() [all …]
|
/test/vti/dashboard/src/main/webapp/css/ |
D | test_results.css | 15 li.test-run-container.active { 24 .collapsible-header.test-run { 27 .test-run-metadata { 37 .suite-test-run-metadata { 45 .test-results.row { 49 .test-case-container { 56 .row .col.test-col { 59 .row .col.test-col.bordered { 62 .row .col.test-col.left-most { 65 .row .col.test-col.right-most { [all …]
|
/test/vts/testcases/ |
D | README.md | 1 In principle, VTS test cases are co-located with their respective projects. 3 * HIDL HAL Tests: `test/vts-testcase/hal/<hal name>/<version>` and `hardware/interfaces/<hal name>/… 5 * Kernel Tests: `test/vts-testcase/kernel` 11 * VNDK (Vendor Native Development Kit) Tests: `test/vts-testcase/vndk` 13 * Performance Tests: `test/vts-testcase/performance` 15 * Fuzz Tests: `test/vts-testcase/fuzz` 17 * Security Tests: `test/vts-testcase/security` 19 The files under this directory (`test/vts/testcases`) are only for:
|
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/ |
D | NNAccuracyTest.java | 24 import androidx.test.filters.LargeTest; 25 import androidx.test.InstrumentationRegistry; 26 import androidx.test.rule.ActivityTestRule; 104 NNTestBase test = mModel.createNNTestBase(); in testDriver() local 105 test.useNNApi(); in testDriver() 106 test.setNNApiDeviceName(mDeviceName); in testDriver() 107 if (!test.setupModel(mActivity)) { in testDriver() 111 test.runBenchmarkCompleteInputSet(/*setRepeat=*/1, /*timeoutSec=*/3600); in testDriver() 114 inferenceResults.second, test.getEvaluator()); in testDriver()
|
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/ |
D | VtsHalAutomotiveVehicleV2_0HostTest.py | 744 def __init__(self, test, propertyId, areaId=0): argument 751 self.test = test 763 asserts.assertEqual(self.test.vtypes.StatusCode.OK, status) 779 self.test.isPropSupported(self.propertyId), "error") 784 'status': self.test.vtypes.VehiclePropertyStatus.AVAILABLE, 794 requestPropValue = self.test.vtypes.Py2Pb("VehiclePropValue", 796 status, responsePropValue = self.test.vehicle.get(requestPropValue) 803 def __init__(self, test, propertyId, areaId=0): argument 811 self.test = test 824 asserts.assertEqual(self.test.vtypes.StatusCode.OK, status) [all …]
|
/test/vts/harnesses/tradefed/tests/res/testtype/ |
D | vts_multi_device_test_parser_output_error.txt | 9 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/runners/host/ba… 11 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/runners/host/ba… 13 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/testcases/host/… 15 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/utils/python/mi… 17 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/utils/python/mi… 19 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/runners/host/tc… 21 … Standard output: File "/usr/local/yim/cloudandroid/android/master-real/test/vts/runners/host/tc… 27 …08 11:56:25 I/ConsoleReporter: [009283827981beee] Starting armeabi-v7a SampleCameraTest with 0 test 43 …11:56:26 D/RunUtil: Running [/usr/bin/python, -m, test/vts/testcases/host/sample/SampleLightTest, … 52 …File "/usr/local/yim/cloudandroid/android/master-real/test/vts/runners/host/base_test.py", line 51… [all …]
|
/test/vts-testcase/hal/script/configure/ |
D | test_case_creator.py | 245 test = ET.SubElement(configuration, 'test', 248 self.GenerateTestOptionConfigure(test) 289 test = ET.SubElement(configuration, 'test', 291 ET.SubElement(test, 'option', { 296 test, 'option', { 391 def GenerateTestOptionConfigure(self, test): argument 397 ET.SubElement(test, 'option', { 404 ET.SubElement(test, 'option', { 410 test, 'option', { 420 test, 'option', { [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | FailureListener.java | 68 public void testFailed(TestDescription test, String trace) { in testFailed() argument 69 super.testFailed(test, trace); in testFailed() 71 test.toString(), mBugReportOnFailure, mLogcatOnFailure, mScreenshotOnFailure); in testFailed() 75 super.testLog(String.format("%s-screenshot", test.toString()), LogDataType.PNG, in testFailed() 93 super.testLog(String.format("%s-bugreport", test.toString()), in testFailed() 99 super.testLog(String.format("%s-bugreportz", test.toString()), in testFailed() 102 CLog.e("Failed to capture bugreport for %s", test.toString()); in testFailed() 111 super.testLog(String.format("%s-logcat", test.toString()), LogDataType.LOGCAT, in testFailed()
|
/test/vts/utils/python/library/elf/testing/ |
D | test-section-1.s | 18 .section test.dup,"",@progbits 23 .section test.honeycomb 26 .section test.jellybean 29 .section test.nougat 32 .section test.oreo 35 .section test.pie
|
/test/vts/proto/ |
D | VtsReportMessage.proto | 23 // To specify test case execution result. 34 // To specify the VTS test type. 86 // ABI name that is current in use for the test 89 // ABI bitness that is current in use for the test. Example: '32', '64', 123 // To specify a test case execution report. 125 // the test case name. 128 // the test result. 144 // log for each test case. May contain multiple logs such as logcat, host log, 242 // APIs covered by the test. 246 // To specify log report. This can be used either for per-test-module [all …]
|
/test/framework/harnesses/ |
D | README.md | 7 `$ cp out/host/linux-x86/testcases/cts-tradefed/cts-tradefed.jar test/framework/harnesses/cts-trade… 10 `$ cp test/framework/harnesses/cts-tradefed/tradefed-cts-prebuilt-staging.jar test/framework/harnes… 12 To test a test suite which uses that prebuilt binary
|
/test/suite_harness/tools/cts-tradefed/ |
D | README | 5 generation test harness for CTS. 7 cts-tradefed is built on top of the Android Trade Federation test harness. 13 support running CTS in a continuous test environment. 14 - supports sharding a CTS test run across multiple devices in parallel 15 - automatically continue a CTS test run on another device if connection 38 To run a test plan on a single device: 52 To run a test module: 55 To run a specific test: 56 'run cts --module <module_name> --test <test_name>' 58 To shard a plan test run on multiple devices
|
/test/vts/tools/vts-tradefed/res/push_groups/ |
D | README.md | 3 As part of the test setup procedure, a VTS test can push a set of files to 16 particular test type: 18 - HalHidlTargetTest.push: For target-side HIDL HAL test. 19 - HalHidlHostTest.push: For host-driven HIDL HAL test. 20 - HostDrivenTest.push: For host-driven test (both HIDL HAL and other system-level components).
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTestResultParser.java | 319 for (Entry<TestDescription, String> test : mTestResultCache.entrySet()) { in completeTestRun() 320 listener.testStarted(test.getKey()); in completeTestRun() 321 if (test.getValue() == PASS) { in completeTestRun() 322 listener.testEnded(test.getKey(), Collections.<String, String>emptyMap()); in completeTestRun() 323 } else if (test.getValue() == TIMEOUT) { in completeTestRun() 324 listener.testFailed(test.getKey(), test.getValue()); in completeTestRun() 326 listener.testEnded(test.getKey(), Collections.emptyMap()); in completeTestRun() 327 } else if (test.getValue() == SKIP) { in completeTestRun() 328 listener.testAssumptionFailure(test.getKey(), test.getValue()); in completeTestRun() 330 listener.testEnded(test.getKey(), Collections.emptyMap()); in completeTestRun() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | CtsConfigLoadingTest.java | 232 for (IRemoteTest test : c.getTests()) { in testConfigurationLoad() 234 if (!SUPPORTED_CTS_TEST_TYPE.contains(test.getClass().getCanonicalName())) { in testConfigurationLoad() 237 test.getClass().getCanonicalName())); in testConfigurationLoad() 239 if (test instanceof HostTest) { in testConfigurationLoad() 240 HostTest hostTest = (HostTest) test; in testConfigurationLoad() 247 config.getName(), test)); in testConfigurationLoad() 251 if (!(test instanceof ITestFilterReceiver)) { in testConfigurationLoad() 257 if (test instanceof AndroidJUnitTest) { in testConfigurationLoad() 258 AndroidJUnitTest instru = (AndroidJUnitTest) test; in testConfigurationLoad() 317 for (IRemoteTest test : c.getTests()) { in testConfigurationLoad() [all …]
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
D | TestFilter.java | 47 String abi = null, name = null, test = null; in createFrom() local 65 test = parts[index]; in createFrom() 68 return new TestFilter(abi, name, test); in createFrom() 78 public TestFilter(String abi, String name, String test) { in TestFilter() argument 81 mTest = test; in TestFilter()
|