Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 148) sorted by relevance

123456

/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Ddashboard_main.jsp33 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 …]
Dshow_suite_release.jsp57 …<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/
DStatSummaryTest.java28 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/
Dservices.cfg2 # 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/vti/test_serving/configs/infra/test/androidtestcenter-test/
Dsettings.cfg1 # 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/vti/dashboard/src/main/webapp/css/
Dtest_results.css15 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/
DREADME.md1 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/
DNNAccuracyTest.java26 import androidx.test.InstrumentationRegistry;
27 import androidx.test.filters.LargeTest;
28 import androidx.test.rule.ActivityTestRule;
120 try (NNTestBase test = mModel.mEntry.createNNTestBase()) { in testDriver() argument
121 test.useNNApi(); in testDriver()
122 test.setNNApiDeviceName(mModel.mInstance); in testDriver()
123 if (!test.setupModel(mActivity)) { in testDriver()
127 test.runBenchmarkCompleteInputSet(/*setRepeat=*/1, /*timeoutSec=*/3600); in testDriver()
130 inferenceResults.first, inferenceResults.second, test.getEvaluator()); in testDriver()
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/
DNNAccuracyTest.java26 import androidx.test.InstrumentationRegistry;
27 import androidx.test.filters.LargeTest;
28 import androidx.test.rule.ActivityTestRule;
120 try (NNTestBase test = mModel.mEntry.createNNTestBase()) { in testDriver() argument
121 test.useNNApi(); in testDriver()
122 test.setNNApiDeviceName(mModel.mInstance); in testDriver()
123 if (!test.setupModel(mActivity)) { in testDriver()
127 test.runBenchmarkCompleteInputSet(/*setRepeat=*/1, /*timeoutSec=*/3600); in testDriver()
130 inferenceResults.first, inferenceResults.second, test.getEvaluator()); in testDriver()
/test/vts-testcase/hal/automotive/vehicle/V2_0/host/
DVtsHalAutomotiveVehicleV2_0HostTest.py805 def __init__(self, test, propertyId, areaId=0): argument
812 self.test = test
824 asserts.assertEqual(self.test.vtypes.StatusCode.OK, status)
840 self.test.isPropSupported(self.propertyId), "error")
845 'status': self.test.vtypes.VehiclePropertyStatus.AVAILABLE,
855 requestPropValue = self.test.vtypes.Py2Pb("VehiclePropValue",
857 status, responsePropValue = self.test.vehicle.get(requestPropValue)
864 def __init__(self, test, propertyId, areaId=0): argument
872 self.test = test
885 asserts.assertEqual(self.test.vtypes.StatusCode.OK, status)
[all …]
/test/vts/proto/
DVtsReportMessage.proto23 // 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/vts/utils/python/library/elf/testing/
Dtest-section-1.s18 .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/mlts/benchmark/
DREADME.txt21 platform/test/mlts/models/README.txt file.
30 > ./test/mlts/benchmark/build_and_run_benchmark.sh
34 # Crash test
40 By default, every test gets run on each available accelerator in isolation. It is possible to filte…
41 accelerators to test against by invoking the build_and_run_benchmark.sh script with the option
49 * parallel-inference-stress: to test the behaviour of drivers with different amount of inference
51 notified as test failures.
54 in the same process of the test so in case of crash the testing app will crash too
56 * client-early-termination-stress: to test the resilience of device drivers to failing clients.
58 The process is then forcibly terminated. The test validates that the targeted driver is not
[all …]
/test/vts/tools/vts-core-tradefed/
DREADME4 VTS Trade Federation, vts-tradefed for short, is the next generation test
7 vts-tradefed is built on top of the Android Trade Federation test harness.
14 - supports sharding a VTS test run across multiple devices in parallel
36 To run a test plan on a single device:
50 To run a test module:
53 To run a specific test:
54 'run vts --module <module_name> --test <test_name>'
56 To shard a plan test run on multiple devices
69 <android source root>/test/vts/tools/vts-tradefed
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNCrystalBallTest.java19 import android.test.suitebuilder.annotation.LargeTest;
20 import androidx.test.InstrumentationRegistry;
48 private void test(boolean useNnapi, boolean useCompleteInputSet) throws IOException { in test() method in NNCrystalBallTest
64 test(false, false); in testTFLite()
70 test(true, true); in testNNAPI()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DPerformanceUtil.java68 double test, in getPercentChangeHTML() argument
74 double delta = test - baseline; in getPercentChangeHTML()
106 StatSummary test, in getBestCasePerformanceComparisonHTML() argument
111 if (test == null || baseline == null) { in getBestCasePerformanceComparisonHTML()
121 test.getBestCase(), in getBestCasePerformanceComparisonHTML()
124 test.getRegressionMode()); in getBestCasePerformanceComparisonHTML()
235 StatSummary test, in getAvgCasePerformanceComparisonHTML() argument
240 if (test == null || baseline == null) { in getAvgCasePerformanceComparisonHTML()
250 test.getMean(), in getAvgCasePerformanceComparisonHTML()
253 test.getRegressionMode()); in getAvgCasePerformanceComparisonHTML()
/test/mts/tools/mts-tradefed/
DREADME5 top of the Android Trade Federation test harness to test mainline modules.
21 To run a test plan on a single device:
33 To run a test module:
36 To run a specific test:
37 'run mts --test <test_name>'
39 To shard a plan test run on multiple devices
/test/cts-root/tests/usage/
DAndroid.bp24 "androidx.test.core",
25 "androidx.test.ext.junit",
26 "androidx.test.rules",
31 "android.test.runner",
32 "android.test.base",
/test/catbox/tools/catbox-tradefed/
DREADME5 generation test harness for CAT (Complete Automotive Testing).
7 catbox-tradefed is built on top of the Android Trade Federation test harness.
29 To run a test plan on a single device:
43 To run a test module:
46 To run a specific test:
47 'run catbox --test <test_name>'
49 To shard a plan test run on multiple devices
/test/vts-testcase/performance/audio_loopback_test/
DREADME.md1 The AudioLoopbackTest is used to test round-trip audio performance over headset jack and USB.
4 * How to run the test?
9 * What metrics this test report?
13 * Which version of Loopback.apk is used in the test?
14 …The Loopback.apk used in this test is Loopback-v17 copied from https://tradefed.teams.x20web.corp.…
/test/cts-root/tests/stats/
DAndroid.bp29 "androidx.test.core",
30 "androidx.test.rules",
34 "platform-test-annotations",
37 "android.test.runner",
38 "android.test.base",
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestAcknowledgmentEntity.java66 @Ignore public final Key test; field in TestAcknowledgmentEntity
97 Key test, in TestAcknowledgmentEntity() argument
103 this.test = test; in TestAcknowledgmentEntity()
134 Key test, in TestAcknowledgmentEntity() argument
140 this(null, -1, test, userObj, branches, devices, testCaseNames, note); in TestAcknowledgmentEntity()
154 ackEntity.setProperty(TEST_KEY, this.test); in toEntity()
191 Key test = (Key) e.getProperty(TEST_KEY); in fromEntity() local
211 e.getKey(), created, test, user, branches, devices, testCaseNames, note); in fromEntity()
271 json.add(TEST_NAME, new JsonPrimitive(this.test.getName())); in toJson()
/test/cts-root/tools/cts-root-tradefed/
DREADME5 top of the Android Trade Federation test harness for general compatibility tests
22 To run a test plan on a single device:
34 To run a test module:
37 To run a specific test:
38 'run cts-root --test <test_name>'
40 To shard a plan test run on multiple devices
/test/vti/dashboard/src/main/webapp/js/
Dtest_acknowledgments.js154 function saveCallback(ack, modal, key, test, branchSet, deviceSet, testCaseSet, note) { argument
175 'testName' : test,
182 var newAck = createAcknowledgment(newKey, test, branches, devices, testCaseNames, note);
207 function showModal(ack, key, test, branches, devices, testCases, note) { argument
217 row.append('<div class="col s12"><h5><b>Test: </b>' + test + '</h5></div>');
286 saveCallback(ack, wrapper, key, test, branchSet, deviceSet, testCaseSet, textArea.val());
298 $.get('/api/test_run?test=' + test + '&timestamp=latest').done(function(data) {
326 function createAcknowledgment(key, test, branches, devices, testCases, note) { argument
330 var testDiv = $('<div class="col s12"><b>' + test + '</b></div>').appendTo(details);
334 showModal(wrapper, key, test, branches, devices, testCases, note);
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModels.java91 NNTestBase test = createNNTestBase(); in createNNTestBase() local
92 test.setTfLiteBackend(tfLiteBackend); in createNNTestBase()
93 test.enableIntermediateTensorsDump(enableIntermediateTensorsDump); in createNNTestBase()
94 test.setMmapModel(mmapModel); in createNNTestBase()
95 return test; in createNNTestBase()

123456