Home
last modified time | relevance | path

Searched refs:testRunKey (Results 1 – 15 of 15) sorted by relevance

/test/vti/dashboard/src/main/java/com/android/vts/entity/
DCodeCoverageEntity.java69 com.google.appengine.api.datastore.Key testRunKey, in CodeCoverageEntity() argument
73 this.parent = getParentKey(testRunKey); in CodeCoverageEntity()
82 com.google.appengine.api.datastore.Key testRunKey, in CodeCoverageEntity() argument
87 this.parent = getParentKey(testRunKey); in CodeCoverageEntity()
94 public CodeCoverageEntity(Key testRunKey, long coveredLineCount, long totalLineCount) { in CodeCoverageEntity() argument
95 this.parent = testRunKey; in CodeCoverageEntity()
101 private Key getParentKey(com.google.appengine.api.datastore.Key testRunKey) { in getParentKey() argument
102 Key testParentKey = Key.create(TestEntity.class, testRunKey.getParent().getName()); in getParentKey()
103 return Key.create(testParentKey, TestRunEntity.class, testRunKey.getId()); in getParentKey()
123 com.google.appengine.api.datastore.Key testRunKey = in toEntity() local
[all …]
DApiCoverageEntity.java75 com.google.appengine.api.datastore.Key testRunKey, in ApiCoverageEntity() argument
83 this.parent = getParentKey(testRunKey); in ApiCoverageEntity()
96 Key testRunKey, in ApiCoverageEntity() argument
104 this.parent = testRunKey; in ApiCoverageEntity()
116 private Key getParentKey(com.google.appengine.api.datastore.Key testRunKey) { in getParentKey() argument
117 Key testParentKey = Key.create(TestEntity.class, testRunKey.getParent().getName()); in getParentKey()
118 return Key.create(testParentKey, TestRunEntity.class, testRunKey.getId()); in getParentKey()
DTestRunEntity.java285 com.googlecode.objectify.Key testRunKey = this.getOfyKey(); in getCodeCoverageEntityKey() local
287 testRunKey, CodeCoverageEntity.class, this.startTimestamp); in getCodeCoverageEntityKey()
295 com.googlecode.objectify.Key testRunKey = in getOfyKey() local
298 return testRunKey; in getOfyKey()
303 com.googlecode.objectify.Key testRunKey = this.getOfyKey(); in getApiCoverageEntityList() local
305 ofy().load().type(ApiCoverageEntity.class).ancestor(testRunKey).list(); in getApiCoverageEntityList()
DHalApiEntity.java78 com.googlecode.objectify.Key testRunKey, in HalApiEntity() argument
88 this.parent = testRunKey; in HalApiEntity()
DTestEntity.java97 com.googlecode.objectify.Key testRunKey = in getTestRunKey() local
99 return testRunKey; in getTestRunKey()
DTestCoverageStatusEntity.java128 com.googlecode.objectify.Key testRunKey = in getDeviceInfoEntityKeyList()
134 testRunKey, in getDeviceInfoEntityKeyList()
DCoverageEntity.java154 com.googlecode.objectify.Key testRunKey = in findById() local
159 .parent(testRunKey) in findById()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsCoverageAlertJobServlet.java87 Key testRunKey, in getTestCoverageStatus() argument
106 testRun = datastore.get(testRunKey); in getTestCoverageStatus()
108 logger.log(Level.WARNING, "Test run not found: " + testRunKey); in getTestCoverageStatus()
277 public static void addTask(Key testRunKey) { in addTask() argument
279 String keyString = KeyFactory.keyToString(testRunKey); in addTask()
291 Key testRunKey; in doPost() local
293 testRunKey = KeyFactory.stringToKey(runKeyString); in doPost()
298 String testName = testRunKey.getParent().getName(); in doPost()
312 List<String> emails = EmailHelper.getSubscriberEmails(testRunKey.getParent()); in doPost()
313 newStatus = getTestCoverageStatus(status, testRunKey, link, emails, messageQueue); in doPost()
DVtsAlertJobServlet.java488 public static void addTask(Key testRunKey) { in addTask() argument
490 String keyString = KeyFactory.keyToString(testRunKey); in addTask()
503 Key testRunKey; in doPost() local
505 testRunKey = KeyFactory.stringToKey(runKeyString); in doPost()
510 String testName = testRunKey.getParent().getName(); in doPost()
522 if (status.getUpdatedTimestamp() >= testRunKey.getId()) { in doPost()
526 List<String> emails = EmailHelper.getSubscriberEmails(testRunKey.getParent()); in doPost()
531 baseUrl + "/show_tree?testName=" + testName + "&endTime=" + testRunKey.getId(); in doPost()
536 getTestCaseAcknowledgments(testRunKey.getParent()); in doPost()
539 testRunKey.getParent(), status.getUpdatedTimestamp(), testRunKey.getId()); in doPost()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DDatastoreRestServlet.java189 com.googlecode.objectify.Key testRunKey = in insertTestReport() local
215 CoverageEntity.fromCoverageReport(testRunKey, testCaseName, coverage); in insertTestReport()
217 log.warn("Invalid coverage report in test run " + testRunKey); in insertTestReport()
228 ProfilingPointRunEntity.fromProfilingReport(testRunKey, profiling); in insertTestReport()
230 log.warn("Invalid profiling report in test run " + testRunKey); in insertTestReport()
251 DeviceInfoEntity.fromDeviceInfoMessage(testRunKey, device); in insertTestReport()
253 log.warn("Invalid device info in test run " + testRunKey); in insertTestReport()
286 CoverageEntity.fromCoverageReport(testRunKey, new String(), coverage); in insertTestReport()
288 log.warn("Invalid coverage report in test run " + testRunKey); in insertTestReport()
314 testRunKey, in insertTestReport()
[all …]
DTestDataForDevServlet.java401 Key testRunKey = in doPost()
432 testRunKey, in doPost()
448 testRunKey, in doPost()
477 testRunKey, in doPost()
577 Key testRunKey = in doPost()
579 testRunKeys.add(testRunKey); in doPost()
589 for (Key testRunKey : testRuns.keySet()) { in doPost()
591 TestRunEntity.fromEntity(testRuns.get(testRunKey)); in doPost()
597 if (startTimestamp < 0 || testRunKey.getId() < startTimestamp) { in doPost()
598 startTimestamp = testRunKey.getId(); in doPost()
[all …]
DCoverageRestServlet.java111 for (Key<TestRunEntity> testRunKey : testPlanRunEntity.getTestRuns()) { in postCoverageDataSum()
113 ofy().load().type(ApiCoverageEntity.class).ancestor(testRunKey).list(); in postCoverageDataSum()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java95 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in createProfilingRun() local
108 testRunKey, in createProfilingRun()
125 new DeviceInfoEntity(testRunKey, branch, product, flavor, id, bitness, abiName); in createProfilingRun()
219 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testNewSummary() local
232 testRunKey, in testNewSummary()
245 testRunKey, "master", "product", "flavor", "12345", "64", "abi"); in testNewSummary()
300 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testUpdateSummary() local
307 testRunKey, in testUpdateSummary()
322 testRunKey, "master", "product", "flavor", "12345", "64", "abi"); in testUpdateSummary()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DFilterUtil.java468 for (Entity testRunKey : datastore.prepare(testQuery).asIterable(ops)) { in getMatchingKeys()
469 filterMatches.add(testRunKey.getKey()); in getMatchingKeys()
470 if (maxKey == null || testRunKey.getKey().compareTo(maxKey) > 0) in getMatchingKeys()
471 maxKey = testRunKey.getKey(); in getMatchingKeys()
472 if (minKey == null || testRunKey.getKey().compareTo(minKey) < 0) in getMatchingKeys()
473 minKey = testRunKey.getKey(); in getMatchingKeys()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowCoverageServlet.java100 com.googlecode.objectify.Key testRunKey = com.googlecode.objectify.Key in doGetHandler() local
104 .ancestor(testRunKey).list(); in doGetHandler()