| /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/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-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/ |
| D | NNAccuracyTest.java | 26 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/ |
| D | NNAccuracyTest.java | 26 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/mlts/benchmark/src/com/android/nn/benchmark/app/ |
| D | NNCrystalBallTest.java | 19 import android.test.suitebuilder.annotation.LargeTest; 20 import androidx.test.InstrumentationRegistry; 49 private void test(boolean useNnapi, boolean useCompleteInputSet) throws IOException { in test() method in NNCrystalBallTest 69 test(false, false); in testTFLite() 75 test(true, true); in testNNAPI()
|
| D | NNScoringTest.java | 20 import android.test.suitebuilder.annotation.LargeTest; 65 private void test(boolean useNnapi, boolean useCompleteInputSet) throws IOException { in test() method in NNScoringTest 89 test(false, false); in testTFLite() 97 test(true, true); in testNNAPI()
|
| /test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
| D | TestModels.java | 22 import androidx.test.InstrumentationRegistry; 97 NNTestBase test = createNNTestBase(); in createNNTestBase() local 98 test.setTfLiteBackend(tfLiteBackend); in createNNTestBase() 99 test.enableIntermediateTensorsDump(enableIntermediateTensorsDump); in createNNTestBase() 100 test.setMmapModel(mmapModel); in createNNTestBase() 101 test.setUseNnApiSupportLibrary(useNnApiSl); in createNNTestBase() 102 test.setExtractNnApiSupportLibrary(extractNnApiSl); in createNNTestBase() 103 return test; in createNNTestBase()
|
| /test/cts-root/tests/usage/ |
| D | Android.bp | 24 "androidx.test.core", 25 "androidx.test.ext.junit", 26 "androidx.test.rules", 31 "android.test.runner", 32 "android.test.base",
|
| /test/cts-root/tests/packagewatchdog/ |
| D | Android.bp | 23 "androidx.test.core", 24 "androidx.test.rules", 27 "platform-test-annotations", 30 "android.test.runner", 31 "android.test.base",
|
| /test/cts-root/tests/packagemanagerlocal/ |
| D | Android.bp | 23 "androidx.test.core", 24 "androidx.test.rules", 25 "platform-test-annotations", 30 "android.test.runner", 31 "android.test.base",
|
| /test/cts-root/tests/stats/ |
| D | Android.bp | 29 "androidx.test.core", 30 "androidx.test.rules", 34 "platform-test-annotations", 37 "android.test.runner", 38 "android.test.base",
|
| /test/vts-testcase/performance/audio_loopback_test/ |
| D | README.md | 1 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/app_compat/csuite/test_scripts/src/main/java/com/android/pixel/ |
| D | Android.bp | 23 "android.test.base", 24 "android.test.runner", 27 "androidx.test.rules", 28 "androidx.test.ext.junit", 41 // Tag this module as a cts test artifact
|
| /test/mts/tools/mts-tradefed/ |
| D | README | 5 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/vts/tools/vts-core-tradefed/ |
| D | README | 4 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/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 …]
|
| D | TestSchedulingPolicyMessage.proto | 21 // Supported test scheduling modes. 32 // To specify a test scheduling policy. 34 // one or multitple tareget test plans. 39 // test scheduling mode
|
| /test/vts-testcase/hal/automotive/vehicle/V2_0/host/ |
| D | VtsHalAutomotiveVehicleV2_0HostTest.py | 805 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/catbox/tools/catbox-tradefed/ |
| D | README | 5 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/cts-root/tools/cts-root-tradefed/ |
| D | README | 5 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/mlts/benchmark/ |
| D | README.txt | 21 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/mlts/benchmark/src/com/android/nn/crashtest/app/ |
| D | NNPerformanceDegradationTest.java | 20 import android.test.ActivityInstrumentationTestCase2; 21 import android.test.UiThreadTest; 23 import androidx.test.InstrumentationRegistry; 27 import com.android.nn.crashtest.core.test.PerformanceDegradationTest;
|
| D | NNRandomGraphTest.java | 22 import android.test.ActivityInstrumentationTestCase2; 23 import android.test.UiThreadTest; 24 import android.test.suitebuilder.annotation.LargeTest; 26 import androidx.test.InstrumentationRegistry; 32 import com.android.nn.crashtest.core.test.RandomGraphTest;
|
| /test/app_compat/csuite/test_scripts/src/main/java/com/android/pixel/tests/ |
| D | PixelAppCompatTestBase.java | 19 import static androidx.test.platform.app.InstrumentationRegistry.getArguments; 20 import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation; 23 import android.support.test.uiautomator.UiDevice;
|
| D | AppLaunchRotateTest.java | 20 import android.support.test.uiautomator.By; 21 import android.support.test.uiautomator.Until; 23 import androidx.test.ext.junit.runners.AndroidJUnit4;
|