Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 23 of 23) sorted by relevance

/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DDashboardMainServlet.java69 private final Key testKey; field in DashboardMainServlet.TestDisplay
85 Key testKey, in TestDisplay() argument
90 this.testKey = testKey; in TestDisplay()
103 return this.testKey.getName(); in getName()
154 return this.testKey.getName().compareTo(test.getName()); in compareTo()
192 Key testKey = UserFavoriteEntity.fromEntity(fe).testKey; in doGetHandler()
193 favoriteKeyList.add(testKey); in doGetHandler()
194 subscriptionMap.put(testKey.getName(), KeyFactory.keyToString(fe.getKey())); in doGetHandler()
206 Key testKey = KeyFactory.createKey(TestEntity.KIND, statusEntity.getTestName()); in doGetHandler() local
207 boolean isFavorite = favoriteKeyList.contains(testKey); in doGetHandler()
[all …]
DShowTreeServlet.java164 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler() local
169 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
182 testKey, in doGetHandler()
212 testKey, TestRunEntity.KIND, minKey.getId(), maxKey.getId()); in doGetHandler()
215 .setAncestor(testKey) in doGetHandler()
242 testKey, TestRunEntity.KIND, minKey.getId(), maxKey.getId()); in doGetHandler()
247 .setAncestor(testKey) in doGetHandler()
310 new Gson().toJson(DatastoreHelper.hasNewer(testKey, TestRunEntity.KIND, endTime))); in doGetHandler()
314 .toJson(DatastoreHelper.hasOlder(testKey, TestRunEntity.KIND, startTime))); in doGetHandler()
DShowTableServlet.java152 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in doGetHandler() local
157 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
166 testKey, in doGetHandler()
213 testKey, TestRunEntity.KIND, testResults.endTime))); in doGetHandler()
219 testKey, TestRunEntity.KIND, testResults.startTime))); in doGetHandler()
DShowCoverageServlet.java98 com.googlecode.objectify.Key testKey = com.googlecode.objectify.Key in doGetHandler() local
101 .create(testKey, TestRunEntity.class, time); in doGetHandler()
DShowCoverageOverviewServlet.java156 com.googlecode.objectify.Key testKey = in getTestRunEntityKeyList()
161 testKey, in getTestRunEntityKeyList()
243 com.googlecode.objectify.Key testKey = in getCoverageDispatcher()
251 testKey, in getCoverageDispatcher()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DUserFavoriteEntity.java53 @Ignore public Key testKey = null; field in UserFavoriteEntity
69 private UserFavoriteEntity(Key key, User user, Key testKey, boolean muteNotifications) { in UserFavoriteEntity() argument
72 this.testKey = testKey; in UserFavoriteEntity()
83 public UserFavoriteEntity(User user, Key testKey, boolean muteNotifications) { in UserFavoriteEntity() argument
84 this(null, user, testKey, muteNotifications); in UserFavoriteEntity()
101 favoriteEntity.setProperty(TEST_KEY, this.testKey); in toEntity()
120 Key testKey = (Key) e.getProperty(TEST_KEY); in fromEntity() local
125 return new UserFavoriteEntity(e.getKey(), user, testKey, muteNotifications); in fromEntity()
DTestCoverageStatusEntity.java124 com.googlecode.objectify.Key testKey = in getDeviceInfoEntityKeyList()
130 testKey, in getDeviceInfoEntityKeyList()
182 com.googlecode.objectify.Key testKey = in getTestRunEntity() local
186 .parent(testKey) in getTestRunEntity()
DTestEntity.java95 com.googlecode.objectify.Key testKey = in getTestRunKey() local
98 com.googlecode.objectify.Key.create(testKey, TestRunEntity.class, startTimestamp); in getTestRunKey()
DCodeCoverageEntity.java121 com.google.appengine.api.datastore.Key testKey = in toEntity() local
124 KeyFactory.createKey(testKey, TestRunEntity.KIND, this.getParent().getId()); in toEntity()
DTestAcknowledgmentEntity.java71 private com.googlecode.objectify.Key testKey; field in TestAcknowledgmentEntity
229 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); in fromJson() local
257 key, -1l, testKey, user, branches, devices, testCaseNames, note); in fromJson()
DTestRunEntity.java278 com.googlecode.objectify.Key testKey = in getByTestNameId() local
280 return ofy().load().type(TestRunEntity.class).parent(testKey).id(id).now(); in getByTestNameId()
292 com.googlecode.objectify.Key testKey = in getOfyKey() local
297 testKey, TestRunEntity.class, this.startTimestamp); in getOfyKey()
DCoverageEntity.java152 com.googlecode.objectify.Key testKey = in findById() local
156 testKey, TestRunEntity.class, Long.parseLong(testRunId)); in findById()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java50 private Key testKey; field in VtsAlertJobServletTest
62 testKey = KeyFactory.createKey(TestAcknowledgmentEntity.KIND, "test"); in setUpExtra()
72 testKey, "branch1", "product1", "flavor1", "1234", "32", "abi"); in setUpExtra()
75 testKey, "branch2", "product2", "flavor2", "1235", "32", "abi"); in setUpExtra()
92 new TestAcknowledgmentEntity(testKey, user, null, null, null, null); in testSeparateAcknowledgedAll()
119 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecific()
145 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecificMismatch()
DVtsProfilingStatsJobServletTest.java94 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); in createProfilingRun() local
95 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in createProfilingRun()
218 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); in testNewSummary() local
219 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testNewSummary()
252 testKey, profilingPointRunEntity, devices, time); in testNewSummary()
299 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); in testUpdateSummary() local
300 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testUpdateSummary()
355 testKey, profilingPointRunEntity, devices, time); in testUpdateSummary()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsPerformanceJobServlet.java226 Key testKey; in doPost() local
228 testKey = KeyFactory.stringToKey(testKeyString); in doPost()
260 testKey.getName(), oneWeekAgo - oneWeek, nowMicro, null, summaries); in doPost()
270 String body = getPerformanceSummary(testKey.getName(), nonEmptySummaries, labels); in doPost()
274 List<String> emails = EmailHelper.getSubscriberEmails(testKey); in doPost()
278 String subject = SUBJECT_PREFIX + testKey.getName(); in doPost()
DVtsInactivityJobServlet.java106 private static long getLastRunTime(Key testKey) { in getLastRunTime() argument
111 .setAncestor(testKey) in getLastRunTime()
162 Key testKey = KeyFactory.createKey(TestEntity.KIND, status.getTestName()); in doPost() local
163 long lastRunTime = getLastRunTime(testKey); in doPost()
172 emails = EmailHelper.getSubscriberEmails(testKey); in doPost()
DVtsProfilingStatsJobServlet.java112 Key testKey, in updateSummaries() argument
123 testKey.getName(), in updateSummaries()
229 Key testKey = profilingPointRunKey.getParent().getParent(); in doPost() local
255 boolean result = updateSummaries(testKey, profilingPointRun, devices, canonicalTime); in doPost()
DVtsAlertJobServlet.java115 private static List<TestAcknowledgmentEntity> getTestCaseAcknowledgments(Key testKey) { in getTestCaseAcknowledgments() argument
121 TestAcknowledgmentEntity.TEST_KEY, Query.FilterOperator.EQUAL, testKey); in getTestCaseAcknowledgments()
142 private static List<TestRunEntity> getTestRuns(Key testKey, long startTime, long endTime) { in getTestRuns() argument
149 testKey, TestRunEntity.KIND, endTime - delta + 1, endTime, testTypeFilter); in getTestRuns()
153 .setAncestor(testKey) in getTestRuns()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestResults.java169 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processProfilingPoints() local
172 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processProfilingPoints()
175 .setAncestor(testKey) in processProfilingPoints()
190 Key testKey = KeyFactory.createKey(TestEntity.KIND, this.testName); in processDeviceInfos() local
193 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processDeviceInfos()
196 .setAncestor(testKey) in processDeviceInfos()
DFilterUtil.java397 Key testKey, String kind, Long startTime, Long endTime, Filter testRunFilter) { in getTimeFilter() argument
406 Key startKey = KeyFactory.createKey(testKey, kind, startTime); in getTimeFilter()
415 Key endKey = KeyFactory.createKey(testKey, kind, endTime); in getTimeFilter()
432 public static Filter getTimeFilter(Key testKey, String kind, Long startTime, Long endTime) { in getTimeFilter() argument
433 return getTimeFilter(testKey, kind, startTime, endTime, null); in getTimeFilter()
DEmailHelper.java99 public static List<String> getSubscriberEmails(Key testKey) throws IOException { in getSubscriberEmails() argument
102 new FilterPredicate(UserFavoriteEntity.TEST_KEY, FilterOperator.EQUAL, testKey); in getSubscriberEmails()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DTestRunRestServlet.java70 com.googlecode.objectify.Key testKey = in getLatestTestRunDetails() local
74 TestRunEntity testRun = ofy().load().type(TestRunEntity.class).ancestor(testKey) in getLatestTestRunDetails()
DDatastoreRestServlet.java442 com.googlecode.objectify.Key testKey = in insertTestPlanReport() local
445 com.googlecode.objectify.Key.create(testKey, TestRunEntity.class, time); in insertTestPlanReport()