Home
last modified time | relevance | path

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

123

/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsCoverageAlertJobServlet.java94 String testName = status.getTestName(); in getTestCoverageStatus() local
148 + testName in getTestCoverageStatus()
155 + testName in getTestCoverageStatus()
166 + testName in getTestCoverageStatus()
174 + testName in getTestCoverageStatus()
185 + testName in getTestCoverageStatus()
192 + testName in getTestCoverageStatus()
203 + testName in getTestCoverageStatus()
210 + testName in getTestCoverageStatus()
221 + testName in getTestCoverageStatus()
[all …]
DVtsAlertJobServlet.java414 String testName = mostRecentRun.getKey().getParent().getName(); in getTestStatus() local
416 String subject = "VTS Test Alert: " + testName + " @ " + uploadDateString; in getTestStatus()
420 + testName in getTestStatus()
434 + testName in getTestStatus()
448 + testName in getTestStatus()
463 + testName in getTestStatus()
476 testName, in getTestStatus()
510 String testName = testRunKey.getParent().getName(); in doPost() local
513 Key statusKey = KeyFactory.createKey(TestStatusEntity.KIND, testName); in doPost()
520 status = new TestStatusEntity(testName); in doPost()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestEntity.java50 private String testName; field in TestEntity
63 public TestEntity(String testName, boolean hasProfilingData) { in TestEntity() argument
64 this.testName = testName; in TestEntity()
73 public TestEntity(String testName) { in TestEntity() argument
74 this(testName, false); in TestEntity()
106 return KeyFactory.createKey(KIND, testName); in getOldKey()
128 this.testName.equals(test2.testName) && in equals()
144 String testName = e.getKey().getName(); in fromEntity() local
149 return new TestEntity(testName, hasProfilingData); in fromEntity()
DProfilingPointEntity.java68 private String testName; field in ProfilingPointEntity
99 String testName, in ProfilingPointEntity() argument
105 this.key = createKey(testName, profilingPointName); in ProfilingPointEntity()
106 this.testName = testName; in ProfilingPointEntity()
140 public static Key createKey(String testName, String profilingPointName) { in createKey() argument
141 return KeyFactory.createKey(KIND, testName + DELIMITER + profilingPointName); in createKey()
152 profilingPoint.setIndexedProperty(TEST_NAME, this.testName); in toEntity()
183 String testName = (String) e.getProperty(TEST_NAME); in fromEntity() local
191 testName, profilingPointName, type, regressionMode, xLabel, yLabel); in fromEntity()
DTestStatusEntity.java53 @Id private String testName; field in TestStatusEntity
108 String testName, in TestStatusEntity() argument
113 this.testName = testName; in TestStatusEntity()
125 public TestStatusEntity(String testName) { in TestStatusEntity() argument
126 this(testName, 0, -1, -1, new ArrayList<TestCaseReference>()); in TestStatusEntity()
136 Entity testEntity = new Entity(KIND, this.testName); in toEntity()
167 String testName = e.getKey().getName(); in fromEntity() local
196 return new TestStatusEntity(testName, timestamp, passCount, failCount, failingTestCases); in fromEntity()
DTestCoverageStatusEntity.java58 @Id @Getter @Setter String testName; field in TestCoverageStatusEntity
90 String testName, in TestCoverageStatusEntity() argument
95 this.testName = testName; in TestCoverageStatusEntity()
103 public static TestCoverageStatusEntity findById(String testName) { in findById() argument
104 return ofy().load().type(TestCoverageStatusEntity.class).id(testName).now(); in findById()
183 com.googlecode.objectify.Key.create(TestEntity.class, this.testName); in getTestRunEntity()
199 Entity testEntity = new Entity(KIND, this.testName); in toEntity()
224 String testName = e.getKey().getName(); in fromEntity() local
240 testName, timestamp, coveredLineCount, totalLineCount, deviceInfoId); in fromEntity()
DTestRunEntity.java154 @Index @Getter @Setter private String testName; field in TestRunEntity
210 this.testName = parentKey.getName(); in TestRunEntity()
214 this.testRunParent = com.googlecode.objectify.Key.create(TestEntity.class, testName); in TestRunEntity()
231 testRunEntity.setProperty(TEST_NAME, this.testName); in toEntity()
257 Key parentKey = KeyFactory.createKey(TestEntity.KIND, testName); in getKey()
277 public static TestRunEntity getByTestNameId(String testName, long id) { in getByTestNameId() argument
279 com.googlecode.objectify.Key.create(TestEntity.class, testName); in getByTestNameId()
294 TestEntity.class, this.testName); in getOfyKey()
420 json.add(TEST_NAME, new JsonPrimitive(this.testName)); in toJson()
431 if (testCoverageStatusMap.containsKey(this.testName)) { in toJson()
[all …]
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java188 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction() argument
190 this(testName, maxWarmupTimeSeconds, maxRunTimeSeconds, false); in TestAction()
193 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction() argument
195 mTestModel = testName; in TestAction()
249 public void runTest(TestAction ta, String testName) { in runTest() argument
253 final String traceName = "[NN_LA_PO]" + testName; in runTest()
256 Log.i(NNBenchmark.TAG, "Starting test " + testName); in runTest()
258 Log.i(NNBenchmark.TAG, "Test " + testName + " completed"); in runTest()
265 getInstrumentation().sendStatus(Activity.RESULT_OK, bmValue.toBundle(testName)); in runTest()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java264 public Bundle toBundle(String testName) { in toBundle() argument
267 results.putString(testName + "_error", mBenchmarkError); in toBundle()
271 mLatencyInference.putToBundle(results, testName + "_inference"); in toBundle()
272 results.putFloat(testName + "_inference_mean_square_error", in toBundle()
274 results.putFloat(testName + "_inference_max_single_error", mMaxSingleError); in toBundle()
276 results.putFloat(testName + "_inference_" + mEvaluatorKeys[i], mEvaluatorResults[i]); in toBundle()
279 mLatencyCompileWithoutCache.putToBundle(results, testName + "_compile_without_cache"); in toBundle()
282 mLatencySaveToCache.putToBundle(results, testName + "_save_to_cache"); in toBundle()
285 mLatencyPrepareFromCache.putToBundle(results, testName + "_prepare_from_cache"); in toBundle()
288 results.putInt(testName + "_compilation_cache_size", mCompilationCacheSizeBytes); in toBundle()
DTestModelsListLoader.java58 String testName = name; in parseJSONModelsList() local
60 testName = jsonTestModelEntry.getString("testName"); in parseJSONModelsList()
152 datasets, testName, modelFile, evaluator, minSdkVersion, dataSize)); in parseJSONModelsList()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowPerformanceDigestServlet.java66 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
67 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
68 links.add(new Page(PageType.PERFORMANCE_DIGEST, "?testName=" + testName)); in getBreadcrumbLinks()
166 String testName = request.getParameter("testName"); in doGetHandler() local
204 testName, oneWeekAgo - oneWeek, startTime, selectedDevice, summaries); in doGetHandler()
251 request.setAttribute("testName", testName); in doGetHandler()
DShowTableServlet.java61 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
62 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
108 String testName = request.getParameter("testName"); in doGetHandler() local
146 TestResults testResults = new TestResults(testName); in doGetHandler()
152 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
DShowCoverageServlet.java63 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
64 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
67 links.add(new Page(PageType.COVERAGE, "?testName=" + testName + "&startTime=" + startTime)); in getBreadcrumbLinks()
DShowGraphServlet.java73 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
74 links.add(new Page(PageType.TABLE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
80 "?testName=" + testName + "&profilingPoint=" + profilingPointName)); in getBreadcrumbLinks()
130 String testName = request.getParameter("testName"); in doGetHandler() local
153 Key parentKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
DShowProfilingOverviewServlet.java60 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
61 links.add(new Page(PageType.PROFILING_OVERVIEW, testName, "?testName=" + testName)); in getBreadcrumbLinks()
71 String testName = request.getParameter("testName"); in doGetHandler() local
126 testName)); in doGetHandler()
DShowTreeServlet.java73 String testName = request.getParameter("testName"); in getBreadcrumbLinks() local
74 links.add(new Page(PageType.TREE, testName, "?testName=" + testName)); in getBreadcrumbLinks()
122 String testName = request.getParameter("testName"); in doGetHandler() local
164 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler()
203 TestRunMetadata metadata = new TestRunMetadata(testName, testRunEntity); in doGetHandler()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_table.jsp41 search = $('#filter-bar').createSearchHeader('Module: ', '${testName}', refresh);
70 window.open('/show_tree?testName=${testName}&treeDefault=true', '_self');
111 '/show_table?testName=${testName}' + search.args();
123 '/show_table?testName=${testName}&endTime=' + endTime +
136 '/show_table?testName=${testName}&startTime=' + startTime +
273 … <c:set var='profPointArgs' value='testName=${testName}&profilingPoint=${pt}'/>
283 … <a class='collapsible-link' href='/show_performance_digest?testName=${testName}'>
Dshow_tree.jsp37 search = $('#filter-bar').createSearchHeader('Module: ', '${testName}', refresh);
66 window.open('/show_table?testName=${testName}&treeDefault=false', '_self');
136 '/show_tree?testName=${testName}' + search.args();
148 '/show_tree?testName=${testName}&endTime=' + endTime +
161 '/show_tree?testName=${testName}&startTime=' + startTime +
242 … <c:set var='profPointArgs' value='testName=${testName}&profilingPoint=${pt}'/>
252 … <a class='collapsible-link' href='/show_performance_digest?testName=${testName}'>
/test/vti/dashboard/src/main/java/com/android/vts/api/
DCoverageRestServlet.java85 String testName = request.getParameter("testName"); in doPost() local
87 json = postCoverageData(cmd, coverageId, testName, testRunId); in doPost()
151 String cmd, String coverageId, String testName, String testRunId) { in postCoverageData() argument
157 CoverageEntity coverageEntity = CoverageEntity.findById(testName, testRunId, coverageId); in postCoverageData()
162 TestCoverageStatusEntity.findById(testName); in postCoverageData()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestCoordinator.java161 boolean separateProcess, String testName) { in startTest() argument
178 : "in a local process", testName)); in startTest()
185 : "in a local process", testName)); in startTest()
187 mTestName = testName; in startTest()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunMetadata.java47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) { in TestRunMetadata() argument
61 public TestRunMetadata(String testName, TestRunEntity testRun) { in TestRunMetadata() argument
62 this(testName, testRun, new ArrayList<DeviceInfoEntity>()); in TestRunMetadata()
DTestResults.java56 public String testName; field in TestResults
96 public TestResults(String testName) { in TestResults() argument
97 this.testName = testName; in TestResults()
169 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processProfilingPoints()
190 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processDeviceInfos()
366 + testName in processReport()
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DNNPerformanceDegradationTest.java71 protected static Intent getTestMaxPerfDegradationOfModelWIthThreads(String testName, in getTestMaxPerfDegradationOfModelWIthThreads() argument
77 testName).addIntentParams(result); in getTestMaxPerfDegradationOfModelWIthThreads()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRandomGraphTest.java113 String testName) { in intentInitializer() argument
122 intent.putExtra(TEST_NAME, testName); in intentInitializer()
157 String testName, String nnapiLogPath, String failedModelDumpPath); in createRandomGraphGenerator() argument
/test/mlts/benchmark/jni/
Drandom_graph_test_jni.cpp145 const std::string& testName, uint32_t numOperations, in RandomGraphGenerator() argument
148 : mTestName(testName), in RandomGraphGenerator()
538 std::string testName{"no-test-name"}; in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() local
541 testName = testNameBuf; in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()
565 device, nnApiDeviceNameStr, testName, numOperations, dimensionRange, in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator()

123