Home
last modified time | relevance | path

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

12345678910>>...49

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DGeeTestTest.java40 GeeTest test = new GeeTest("package_foo", "exe_foo"); in testGetGTestFilters() local
41 test.setPositiveFilters("a"); in testGetGTestFilters()
42 test.setNegativeFilters("b"); in testGetGTestFilters()
43 String actual = test.getGTestFilters(); in testGetGTestFilters()
52 GeeTest test = new GeeTest("package_foo", "exe_foo"); in testGetGTestFiltersPositiveOnly() local
53 test.setPositiveFilters("a"); in testGetGTestFiltersPositiveOnly()
54 String actual = test.getGTestFilters(); in testGetGTestFiltersPositiveOnly()
63 GeeTest test = new GeeTest("package_foo", "exe_foo"); in testGetGTestFiltersNegativeOnly() local
64 test.setNegativeFilters("b"); in testGetGTestFiltersNegativeOnly()
65 String actual = test.getGTestFilters(); in testGetGTestFiltersNegativeOnly()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DResultFilter.java75 public void testStarted(TestIdentifier test) { in testStarted() argument
76 if (isKnownTest(test)) { in testStarted()
77 super.testStarted(test); in testStarted()
79 CLog.d("Skipping reporting unknown test %s", test); in testStarted()
87 public void testFailed(TestIdentifier test, String trace) { in testFailed() argument
88 if (isKnownTest(test)) { in testFailed()
89 super.testFailed(test, trace); in testFailed()
97 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() argument
98 if (isKnownTest(test)) { in testEnded()
99 super.testEnded(test, testMetrics); in testEnded()
[all …]
DTestFilter.java67 public void addExcludedTest(TestIdentifier test) { in addExcludedTest() argument
68 mExcludedTests.add(test); in addExcludedTest()
101 public void addIncludedTest(TestIdentifier test) { in addIncludedTest() argument
102 mIncludedTests.add(test); in addIncludedTest()
141 for (TestIdentifier test : tests) { in filter()
142 if (mIncludedClass != null && !test.getClassName().equals(mIncludedClass)) { in filter()
146 if (mIncludedMethod != null && !mIncludedMethod.matcher(test.getTestName()).matches()) { in filter()
150 if (mExcludedClasses.contains(test.getClassName())) { in filter()
154 if (mExcludedTests.contains(test)) { in filter()
159 && !(mIncludedClasses.contains(test.getClassName()) in filter()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicColorMatrix.java72 private void test(Element.DataType dtin, Element.DataType dtout, int subtest, in test() method in IntrinsicColorMatrix
132 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false); in test_U8_U8_Ident()
136 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 0, false); in test_F32_F32_Ident()
140 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 0, false); in test_U8_F32_Ident()
144 test(Element.DataType.FLOAT_32, Element.DataType.UNSIGNED_8, 0, false); in test_F32_U8_Ident()
148 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 2, false); in test_U8_U8_Rand()
152 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 10, false); in test_F32_F32_Rand()
156 test(Element.DataType.UNSIGNED_8, Element.DataType.FLOAT_32, 10, false); in test_U8_F32_Rand()
160 test(Element.DataType.FLOAT_32, Element.DataType.UNSIGNED_8, 10, false); in test_F32_U8_Rand()
166 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, true); in test_U8_U8_IdentC()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java52 public void addError(Test test, Throwable throwable) { in addError() argument
53 mWrappedTestResult.addError(test, throwable); in addError()
57 public void addFailure(Test test, AssertionFailedError assertionFailedError) { in addFailure() argument
58 mWrappedTestResult.addFailure(test, assertionFailedError); in addFailure()
72 public void endTest(Test test) { in endTest() argument
73 mWrappedTestResult.endTest(test); in endTest()
102 public void runProtected(Test test, Protectable protectable) { in runProtected() argument
106 addFailure(test, e); in runProtected()
111 addError(test, e); in runProtected()
113 addError(test, e); in runProtected()
[all …]
DSensorCtsTestSuite.java47 public void addTest(Test test) { in addTest() argument
48 mWrappedTestSuite.addTest(test); in addTest()
62 public void runTest(Test test, TestResult testResult) { in runTest() argument
63 mWrappedTestSuite.runTest(test, testResult); in runTest()
/cts/hostsidetests/appsecurity/certs/keysets/
DREADME2 development/tools/make_key cts-keyset-test-a '/CN=unit_test_a'
3 development/tools/make_key cts-keyset-test-b '/CN=unit_test_b'
4 development/tools/make_key cts-keyset-test-c '/CN=unit_test_c'
7 openssl x509 -in cts-keyset-test-a.x509.pem -inform PEM -pubkey
8 openssl x509 -in cts-keyset-test-b.x509.pem -inform PEM -pubkey
9 openssl x509 -in cts-keyset-test-c.x509.pem -inform PEM -pubkey
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java107 public DefaultTestCallback(DialogTestListItem test) { in DefaultTestCallback() argument
108 mTest = test; in DefaultTestCallback()
124 public void showManualTestDialog(final DialogTestListItem test) { in showManualTestDialog() argument
125 showManualTestDialog(test, new DefaultTestCallback(test)); in showManualTestDialog()
128 public void showManualTestDialog(final DialogTestListItem test, in showManualTestDialog() argument
146 View customView = test.getCustomView(); in showManualTestDialog()
150 dialogBuilder.setMessage(test.getManualTestInstruction()); in showManualTestDialog()
158 if (!startTestIntent(test)) { in showManualTestDialog()
167 TestListAdapter.TestListItem test = (TestListAdapter.TestListItem) getListAdapter() in handleItemClick() local
169 if (test instanceof DialogTestListItem) { in handleItemClick()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DCtsTestLogReporter.java86 public void testStarted(TestIdentifier test) { in testStarted() argument
87 mCurrentPkgResult.insertTest(test); in testStarted()
94 public void testFailed(TestIdentifier test, String trace) { in testFailed() argument
95 mCurrentPkgResult.reportTestFailure(test, CtsTestStatus.FAIL, trace); in testFailed()
102 public void testAssumptionFailure(TestIdentifier test, String trace) { in testAssumptionFailure() argument
104 mCurrentPkgResult.reportTestFailure(test, CtsTestStatus.FAIL, trace); in testAssumptionFailure()
111 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() argument
112 mCurrentPkgResult.reportTestEnded(test, testMetrics); in testEnded()
113 Test result = mCurrentPkgResult.findTest(test); in testEnded()
115 logResult("%s#%s %s %s", test.getClassName(), test.getTestName(), result.getResult(), in testEnded()
DTestCase.java115 Test test = new Test(); in parse() local
116 test.parse(parser); in parse()
117 mChildTestMap.put(test.getName(), test); in parse() local
139 for (Test test : mChildTestMap.values()) { in addTestsWithStatus()
140 if (resultFilter.equals(test.getResult())) { in addTestsWithStatus()
141 tests.add(new TestIdentifier(fullClassName, test.getName())); in addTestsWithStatus()
157 for (Test test : mChildTestMap.values()) { in countTests()
158 if (test.getResult().equals(status)) { in countTests()
/cts/suite/cts/utils/
Dget_csv_report.py65 for test in getChildrenWithTag(child, "Test"):
66 methodName = test.getAttribute("name")
71 result = str(test.getAttribute("result"))
75 sts = getChildrenWithTag(test, "Summary")
76 dts = getChildrenWithTag(test, "Details")
173 test = tests[i]
174 reportTests[test] = []
177 if deviceResults[j].getResults().has_key(test):
178 result = deviceResults[j].getResults()[test]
185 reportTests[test].append(values)
[all …]
/cts/suite/cts/deviceTests/jank2/src/android/cts/jank/ui/
DCtsDeviceJankUi.java21 import android.support.test.jank.JankTest;
22 import android.support.test.jank.WindowContentFrameStatsMonitor;
23 import android.support.test.uiautomator.By;
24 import android.support.test.uiautomator.Direction;
25 import android.support.test.uiautomator.Until;
/cts/tests/leanbackjank/src/android/cts/leanbackjank/
DCtsDeviceLeanback.java22 import android.support.test.jank.GfxMonitor;
23 import android.support.test.jank.JankTest;
24 import android.support.test.jank.WindowContentFrameStatsMonitor;
25 import android.support.test.uiautomator.By;
26 import android.support.test.uiautomator.Until;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DGoNegReqTestSuite.java50 for (ReqTestCase test: sTestSuite) { in getTestCase()
51 if (test.getTestId().equals(testId)) { in getTestCase()
52 return test; in getTestCase()
DP2pClientTestSuite.java50 for (ReqTestCase test: sTestSuite) { in getTestCase()
51 if (test.getTestId().equals(testId)) { in getTestCase()
52 return test; in getTestCase()
/cts/tools/tradefed-host/
DREADME5 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 package:
55 To run a test class:
56 'run cts --class <full test class name>'
58 To shard a plan test run on multiple devices
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DT_invoke_super_4.java21 public native void test(); in test() method in T_invoke_super_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_void/d/
DT_return_void_3.java21 private synchronized void test() { in test() method in T_return_void_3
26 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_wide/d/
DT_return_wide_3.java21 private synchronized long test() { in test() method in T_return_wide_3
26 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DT_invoke_virtual_range_4.java21 public native void test(); in test() method in T_invoke_virtual_range_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
DT_invoke_static_range_6.java21 public static native void test(); in test() method in T_invoke_static_range_6
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_4.java21 public native void test(); in test() method in T_invoke_virtual_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DT_invoke_super_range_4.java21 public native void test(); in test() method in T_invoke_super_range_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_6.java21 public static native void test(); in test() method in T_invoke_static_6
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_return/d/
DT_opc_return_3.java21 private synchronized long test() { in test() method in T_opc_return_3
26 test(); in run()

12345678910>>...49