Home
last modified time | relevance | path

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

123

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
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()
96 public boolean errored(String testName) { in errored() argument
97 return errors.contains(testName); in errored()
100 public boolean passed(String testName) { in passed() argument
[all …]
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);
218 public boolean errored(String testName) {
219 return errors.contains(testName);
222 public boolean passed(String testName) {
[all …]
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()
/frameworks/base/test-runner/src/junit/runner/
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
/frameworks/ml/nn/runtime/test/
DTestCompliance.h25 #define TEST_AVAILABLE_SINCE(version, testName, createModel) argument
41 #define TEST_AVAILABLE_SINCE(version, testName, createModel) \ argument
43 TEST_F(ComplianceTest, testName) { testAvailableSince##version(createModel); } \
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResultsReporter.java65 private String getSummaryString(String testName, Bundle stats) {
67 sb.append("\n\n").append(getKey(testName));
74 private String getKey(String testName) {
75 return testName.replaceAll("Perf$", "");
/frameworks/base/test-runner/src/android/test/suitebuilder/
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()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
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()
DBlasTestList.java61 static TestBase newTest(TestName testName) { in newTest() argument
62 switch(testName) { in newTest()
/frameworks/base/tests/CoreTests/android/core/
DTestWebData.java112 testName = name; in TestWebData()
124 public String testName; field in TestWebData
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
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()
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()
DMediaEqualizerTest.java75 private void log(String testName, String message) { in log() argument
76 Log.v(TAG, "["+testName+"] "+message); in log()
79 private void loge(String testName, String message) { in loge() argument
80 Log.e(TAG, "["+testName+"] "+message); in loge()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnectionTest.java211 String testName = "Connection"; in verifyNotUpdatingRequestPropertyForIgnorableProperty() local
213 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyNotUpdatingRequestPropertyForIgnorableProperty()
225 String testName = "Content-Type"; in verifyCallingSetRequestPropertyForProperty() local
227 mHttpsServiceConnection.setRequestProperty(testName, testValue); in verifyCallingSetRequestPropertyForProperty()
/frameworks/rs/script_api/
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()
1042 file->indent() << "script = new ScriptC_" << testName << "(mRS);\n"; in startJavaFile()
1077 const string& testName) { in startRsFile() argument
1078 string fileName = testName + ".rs"; in startRsFile()
1090 static bool writeRelaxedRsFile(const string& directory, const string& testName, in writeRelaxedRsFile() argument
1100 file << "#include \"" << testName << ".rs\"\n"; in writeRelaxedRsFile()
1116 const string testName = "Test" + function.getCapitalizedName(); in writeTestFilesForFunction() local
[all …]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/results/
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()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
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()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
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()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java195 private <T extends Number> boolean result(String testName, final timing t, in result() argument
201 Log.i(TAG, testName + ": java " + javaResult + ", rs " + rsResult + ": " + status); in result()
205 private boolean result(String testName, final timing t, in result() argument
208 Log.i(TAG, testName + ": java length " + javaResult.length + in result()
214 Log.i(TAG, testName + "[" + i + "]: java " + javaResult[i] + in result()
222 Log.i(TAG, testName + ": " + status); in result()
226 private boolean result(String testName, final timing t, in result() argument
229 Log.i(TAG, testName + ": java length " + javaResult.length + in result()
235 Log.i(TAG, testName + "[" + i + "]: java " + javaResult[i] + in result()
243 Log.i(TAG, testName + ": " + status); in result()
[all …]
DUT_reduce_backward.java75 private <T extends Number> boolean result(String testName, T javaRslt, T rsRslt) { in result() argument
78 testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + in result()
83 private boolean result(String testName, Float2 javaRslt, Float2 rsRslt) { in result() argument
86 testName + in result()
93 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result() argument
96 testName + in result()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java197 private <T extends Number> boolean result(String testName, final timing t, in result() argument
203 Log.i(TAG, testName + ": java " + javaResult + ", rs " + rsResult + ": " + status); in result()
207 private boolean result(String testName, final timing t, in result() argument
210 Log.i(TAG, testName + ": java length " + javaResult.length + in result()
216 Log.i(TAG, testName + "[" + i + "]: java " + javaResult[i] + in result()
224 Log.i(TAG, testName + ": " + status); in result()
228 private boolean result(String testName, final timing t, in result() argument
231 Log.i(TAG, testName + ": java length " + javaResult.length + in result()
237 Log.i(TAG, testName + "[" + i + "]: java " + javaResult[i] + in result()
245 Log.i(TAG, testName + ": " + status); in result()
[all …]
DUT_reduce_backward.java77 private <T extends Number> boolean result(String testName, T javaRslt, T rsRslt) { in result() argument
80 testName + ": java " + javaRslt + ", rs " + rsRslt + ": " + in result()
85 private boolean result(String testName, Float2 javaRslt, Float2 rsRslt) { in result() argument
88 testName + in result()
95 private boolean result(String testName, Int2 javaRslt, Int2 rsRslt) { in result() argument
98 testName + in result()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DEditTextInputActivity.java44 String testName = getString(R.string.edit_text_input_name); in onCreate() local
48 actionBar.setTitle(testName); in onCreate()
51 mAutomator = new Automator(testName, runId, iteration, getWindow(), in onCreate()
/frameworks/ml/nn/tools/test_generator/
Dspec_visualizer.py363 if varName is not None and not fnmatch.fnmatch(str(example.testName), varName):
364 print(" Skip variation %s" % example.testName)
366 print(" Visualizing variation %s" % example.testName)
370 g["name"] = str(example.testName)
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java118 @Rule public TestName testName = new TestName(); field in BstatsCpuTimesValidationTest
181 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes()
209 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_screenOff()
243 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_isolatedProcess()
271 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_stateTop()
304 Log.w(TAG, "Skipping " + testName.getMethodName() in testIsolatedCpuFreqTimes_stateService()
345 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_stateTopSleeping()
378 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_stateFgService()
411 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_stateFg()
444 Log.w(TAG, "Skipping " + testName.getMethodName() in testCpuFreqTimes_stateBg()
[all …]

123