Home
last modified time | relevance | path

Searched refs:testName (Results 1 – 25 of 89) sorted by relevance

1234

/aosp12/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DUnitTestSuiteBuilderTest.java74 errors.add(testName(test)); in addError()
78 failures.add(testName(test)); in addFailure()
85 testsSeen.add(testName(test)); in startTest()
88 public boolean saw(String testName) { in saw() argument
89 return testsSeen.contains(testName); in saw()
92 public boolean failed(String testName) { in failed() argument
93 return failures.contains(testName); in failed()
97 return errors.contains(testName); in errored()
100 public boolean passed(String testName) { in passed() argument
101 return saw(testName) && !failed(testName) && !errored(testName); in passed()
[all …]
H A DTestSuiteBuilderTest.java196 errors.add(testName(test));
200 failures.add(testName(test));
207 testsSeen.add(testName(test));
210 public boolean saw(String testName) {
211 return testsSeen.contains(testName);
214 public boolean failed(String testName) {
215 return failures.contains(testName);
219 return errors.contains(testName);
222 public boolean passed(String testName) {
223 return saw(testName) && !failed(testName) && !errored(testName);
[all …]
H A DListTestCaseNames.java51 String testName = ((TestCase) test).getName(); in getTestNames() local
52 testNames.add(new TestDescriptor(className, testName)); in getTestNames()
67 public TestDescriptor(String className, String testName) { in TestDescriptor() argument
69 mTestName = testName; in TestDescriptor()
/aosp12/art/test/800-smali/src/
H A DMain.java29 public TestCase(String testName, String testClass, String testMethodName, Object[] values, in TestCase() argument
32 this.testName = testName; in TestCase()
41 public TestCase(String testName, String testClass, String testMethodName, Object[] values, in TestCase() argument
43 this(testName, testClass, testMethodName, values, expectedException, in TestCase()
47 String testName; field in Main.TestCase
214 System.out.println(tc.testName); in runTests()
244 tc.testName); in runTest()
254 tc.testName); in runTest()
257 tc.testName + " got " + retValue); in runTest()
266 " be verified in compile-time in test " + tc.testName); in runTest()
/aosp12/frameworks/base/test-runner/src/junit/runner/
H A DTestRunListener.java17 public void testStarted(String testName); in testStarted() argument
18 public void testEnded(String testName); in testEnded() argument
19 public void testFailed(int status, String testName, String trace); in testFailed() argument
/aosp12/system/extras/tests/workloads/
H A Dpwrtest.sh156 testName=$1
158 collectOutput=${testName}-power-raw.out
159 powerOutput=${testName}-power.out
161 echo TEST: $testName
178 echo power data for $testName copied to $collectOutput
194 testName=$1
201 echo copying test output to $testName...
203 mv test.out ${testName}.out
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DRequiredPropertiesRule.java41 final String testName = description.getClassName() + "#" + description.getMethodName(); in onBefore() local
42 assertTestIsValid(testName, mRequiredProperties); in onBefore()
43 Log.i(TAG, "Running test " + testName + " with required properties: " in onBefore()
73 private void assertTestIsValid(String testName, ArraySet<Property> requiredProperies) { in assertTestIsValid() argument
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationCoreApiTest.kt62 testName = "DomainVerificationRequest",
73 testName = "DomainVerificationInfo",
97 testName = "DomainVerificationUserState",
130 testName = "DomainSet",
143 val testName: String,
151 override fun toString() = testName
/aosp12/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java81 private TestCase instantiateTest(Class testCaseClass, String testName) in instantiateTest() argument
86 return instantiateTest(testCaseClass.getSuperclass(), testName); in instantiateTest()
94 test.setName(testName); in instantiateTest()
98 .newInstance(testName); in instantiateTest()
/aosp12/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DBenchmarkResultsReporter.java109 private String getSummaryString(String testName, Bundle stats) {
111 sb.append("\n\n").append(getKey(testName));
118 private String getKey(String testName) {
119 return testName.replaceAll("Perf$", "");
/aosp12/art/test/712-varhandle-invocations/src/
H A DVarHandleUnitTestCollector.java31 public void start(String testName) { in start() argument
32 out.append(testName) in start()
35 current = testName; in start()
/aosp12/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A DAutofillTestWatcher.java52 final String testName = description.getDisplayName(); in starting() local
53 Log.i(TAG, "Starting " + testName); in starting()
68 final String testName = description.getDisplayName(); in finished() local
69 Log.i(TAG, "Finished " + testName); in finished()
/aosp12/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
H A DContextHubGeneralTestExecutor.java95 ContextHubTestConstants.TestNames testName) { in GeneralTestNanoApp() argument
96 mTestName = testName; in GeneralTestNanoApp()
103 ContextHubTestConstants.TestNames testName, boolean loadAtInit) { in GeneralTestNanoApp() argument
104 mTestName = testName; in GeneralTestNanoApp()
111 ContextHubTestConstants.TestNames testName, in GeneralTestNanoApp() argument
113 mTestName = testName; in GeneralTestNanoApp()
H A DContextHubSimpleGeneralTestExecutor.java28 NanoAppBinary binary, ContextHubTestConstants.TestNames testName) { in ContextHubSimpleGeneralTestExecutor() argument
29 super(manager, info, new GeneralTestNanoApp(binary, testName)); in ContextHubSimpleGeneralTestExecutor()
/aosp12/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasTest.java67 public TestAction(TestName testName) { in TestAction() argument
68 mTestName = testName; in TestAction()
96 public void runTest(TestAction ta, String testName) { in runTest() argument
108 results.putFloat(testName + "_avg", avgResult); in runTest()
/aosp12/frameworks/rs/script_api/
H A DGenerateTestFiles.cpp1014 const string& testName, in startJavaFile() argument
1016 const string fileName = testName + ".java"; in startJavaFile()
1030 *file << "public class " << testName << " extends RSBaseCompute"; in startJavaFile()
1034 file->indent() << "private ScriptC_" << testName << " script;\n"; in startJavaFile()
1077 const string& testName) { in startRsFile() argument
1078 string fileName = testName + ".rs"; in startRsFile()
1100 file << "#include \"" << testName << ".rs\"\n"; in writeRelaxedRsFile()
1116 const string testName = "Test" + function.getCapitalizedName(); in writeTestFilesForFunction() local
1117 const string relaxedTestName = testName + "Relaxed"; in writeTestFilesForFunction()
1119 if (!writeRelaxedRsFile(directory, testName, relaxedTestName)) { in writeTestFilesForFunction()
[all …]
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaVirtualizerTest.java71 private void log(String testName, String message) { in log() argument
72 Log.v(TAG, "["+testName+"] "+message); in log()
75 private void loge(String testName, String message) { in loge() argument
76 Log.e(TAG, "["+testName+"] "+message); in loge()
H A DMediaBassBoostTest.java71 private void log(String testName, String message) { in log() argument
72 Log.v(TAG, "["+testName+"] "+message); in log()
75 private void loge(String testName, String message) { in loge() argument
76 Log.e(TAG, "["+testName+"] "+message); in loge()
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
H A DGlobalResultsStore.java78 public void storeRunResults(String testName, int runId, int iteration, in storeRunResults() argument
90 cv.put("name", testName); in storeRunResults()
131 public ArrayList<UiBenchmarkResult> loadTestResults(String testName, int runId) { in loadTestResults() argument
152 new String[] { Integer.toString(runId), testName }, null, null, "iteration"); in loadTestResults()
296 for (String testName : detailedResults.keySet()) { in exportToCsv()
297 ArrayList<UiBenchmarkResult> results = detailedResults.get(testName); in exportToCsv()
309 writer.write(testName); in exportToCsv()
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingTest.java77 public TestAction(TestName testName) { in TestAction() argument
78 mTestName = testName; in TestAction()
108 public void runTest(TestAction ta, String testName) { in runTest() argument
114 results.putFloat(testName + "_avg", times.getAvg() * 1000.0f); // ms in runTest()
115 results.putFloat(testName + "_stdevp", times.getStdevp() * 1000.0f); // ms in runTest()
116 results.putFloat(testName + "_stdcoef", times.getStdCoef() * 100.0f); // % in runTest()
120 writeResults("rsTimes/", testName + "_DATA.txt", times); in runTest()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
H A DHttpsServiceConnectionTest.java213 String testName = "Connection"; in verifyNotUpdatingRequestPropertyForIgnorableProperty() local
215 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyNotUpdatingRequestPropertyForIgnorableProperty()
227 String testName = "Content-Type"; in verifyCallingSetRequestPropertyForProperty() local
229 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyCallingSetRequestPropertyForProperty()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_reduce.java205 private boolean result(String testName, final timing t, in result() argument
222 Log.i(TAG, testName + ": " + status); in result()
226 private boolean result(String testName, final timing t, in result() argument
243 Log.i(TAG, testName + ": " + status); in result()
258 testName + in result()
271 testName + in result()
497 result(testName, in findMinAbs()
1049 testName = myTestName; in TestDescription()
1058 testName = myTestName; in TestDescription()
1067 testName = myTestName; in TestDescription()
[all …]
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_reduce.java207 private boolean result(String testName, final timing t, in result() argument
224 Log.i(TAG, testName + ": " + status); in result()
228 private boolean result(String testName, final timing t, in result() argument
245 Log.i(TAG, testName + ": " + status); in result()
260 testName + in result()
273 testName + in result()
499 result(testName, in findMinAbs()
1051 testName = myTestName; in TestDescription()
1060 testName = myTestName; in TestDescription()
1069 testName = myTestName; in TestDescription()
[all …]
/aosp12/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
H A DAutomator.java92 AutomateCallback callback, String testName, int runId, int iteration) { in AutomatorHandler() argument
101 mTestName = testName; in AutomatorHandler()
256 public Automator(String testName, int runId, int iteration, in Automator() argument
260 mTestName = testName; in Automator()
/aosp12/frameworks/base/tests/CoreTests/android/core/
H A DTestWebData.java112 testName = name; in TestWebData()
124 public String testName; field in TestWebData

1234