Home
last modified time | relevance | path

Searched refs:TestRunEntity (Results 1 – 25 of 32) sorted by relevance

12

/test/vti/dashboard/src/main/java/com/android/vts/api/
DDatastoreRestServlet.java32 import com.android.vts.entity.TestRunEntity;
148 List<TestRunEntity> testRunEntityList = new ArrayList<>(); in insertTestReport()
256 TestRunEntity.TestRunType runType = in insertTestReport()
257 TestRunEntity.TestRunType.fromBuildId(deviceInfoEntity.getBuildId()); in insertTestReport()
259 testRunType = TestRunEntity.TestRunType.OTHER.getNumber(); in insertTestReport()
276 if (testRunType == TestRunEntity.TestRunType.OTHER.getNumber()) { in insertTestReport()
277 testRunType = TestRunEntity.TestRunType.fromBuildId(testBuildId).getNumber(); in insertTestReport()
278 } else if (TestRunEntity.TestRunType.fromBuildId(testBuildId) in insertTestReport()
279 == TestRunEntity.TestRunType.OTHER) { in insertTestReport()
280 testRunType = TestRunEntity.TestRunType.OTHER.getNumber(); in insertTestReport()
[all …]
DTestRunRestServlet.java21 import com.android.vts.entity.TestRunEntity;
58 TestRunEntity testRunEntity = TestRunEntity.getByTestNameId(test, timestamp); in getTestRunDetails()
74 TestRunEntity testRun = ofy().load().type(TestRunEntity.class).ancestor(testKey) in getLatestTestRunDetails()
88 private TestRunDetails getTestRunDetails(TestRunEntity testRunEntity) { in getTestRunDetails()
DTestDataForDevServlet.java29 import com.android.vts.entity.TestRunEntity;
404 TestRunEntity.KIND, in doPost()
506 TestRunEntity testRunEntity = in doPost()
507 new TestRunEntity( in doPost()
578 KeyFactory.createKey(parentKey, TestRunEntity.KIND, time); in doPost()
590 TestRunEntity testRun = in doPost()
591 TestRunEntity.fromEntity(testRuns.get(testRunKey)); in doPost()
DCoverageRestServlet.java23 import com.android.vts.entity.TestRunEntity;
111 for (Key<TestRunEntity> testRunKey : testPlanRunEntity.getTestRuns()) { in postCoverageDataSum()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowCoverageOverviewServlet.java23 import com.android.vts.entity.TestRunEntity;
151 private List<Key<TestRunEntity>> getTestRunEntityKeyList( in getTestRunEntityKeyList()
162 TestRunEntity.class, in getTestRunEntityKeyList()
212 List<com.googlecode.objectify.Key<TestRunEntity>> testRunEntityKeyList = new ArrayList<>(); in getCoverageDispatcher()
252 TestRunEntity.class, in getCoverageDispatcher()
260 Iterator<Key<TestRunEntity>> testRunEntityKeyIterator = testRunEntityKeyList.iterator(); in getCoverageDispatcher()
262 Map<Key<TestRunEntity>, TestRunEntity> keyTestRunEntityMap = in getCoverageDispatcher()
267 Map<Long, TestRunEntity> testRunEntityMap = new HashMap<>(); in getCoverageDispatcher()
268 for (Map.Entry<com.googlecode.objectify.Key<TestRunEntity>, TestRunEntity> entry : in getCoverageDispatcher()
292 TestRunEntity testRunEntity = testRunEntityMap.get(entry.getKey()); in getCoverageDispatcher()
[all …]
DShowTreeServlet.java23 import com.android.vts.entity.TestRunEntity;
169 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
183 TestRunEntity.KIND, in doGetHandler()
193 TestRunEntity testRunEntity = TestRunEntity.fromEntity(entityMap.get(key)); in doGetHandler()
212 testKey, TestRunEntity.KIND, minKey.getId(), maxKey.getId()); in doGetHandler()
242 testKey, TestRunEntity.KIND, minKey.getId(), maxKey.getId()); 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.java22 import com.android.vts.entity.TestRunEntity;
67 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in processTestRun()
157 testKey, TestRunEntity.KIND, startTime, endTime, typeFilter); in doGetHandler()
167 TestRunEntity.KIND, in doGetHandler()
213 testKey, TestRunEntity.KIND, testResults.endTime))); in doGetHandler()
219 testKey, TestRunEntity.KIND, testResults.startTime))); in doGetHandler()
DShowGraphServlet.java22 import com.android.vts.entity.TestRunEntity;
155 FilterUtil.getTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
157 new Query(TestRunEntity.KIND) in doGetHandler()
179 FilterUtil.getDeviceTimeFilter(parentKey, TestRunEntity.KIND, startTime, endTime); in doGetHandler()
DShowPlanRunServlet.java22 import com.android.vts.entity.TestRunEntity;
120 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRuns.get(key)); in doGetHandler()
DShowCoverageServlet.java24 import com.android.vts.entity.TestRunEntity;
101 .create(testKey, TestRunEntity.class, time); in doGetHandler()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DFilterUtil.java18 import com.android.vts.entity.TestRunEntity;
60 VTS_BUILD_ID("testBuildId", TestRunEntity.TEST_BUILD_ID, false),
61 HOSTNAME("hostname", TestRunEntity.HOST_NAME, false),
62 PASSING("passing", TestRunEntity.PASS_COUNT, false),
63 NONPASSING("nonpassing", TestRunEntity.FAIL_COUNT, false);
280 TestRunEntity.TYPE, in getTestTypeFilter()
282 TestRunEntity.TestRunType.PRESUBMIT.getNumber()); in getTestTypeFilter()
285 TestRunEntity.TYPE, in getTestTypeFilter()
287 TestRunEntity.TestRunType.POSTSUBMIT.getNumber()); in getTestTypeFilter()
290 types.add(TestRunEntity.TestRunType.PRESUBMIT.getNumber()); in getTestTypeFilter()
[all …]
DTestRunMetadata.java20 import com.android.vts.entity.TestRunEntity;
33 public final TestRunEntity testRun;
47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) { in TestRunMetadata()
61 public TestRunMetadata(String testName, TestRunEntity testRun) { in TestRunMetadata()
DTestResults.java25 import com.android.vts.entity.TestRunEntity;
49 private List<TestRunEntity> testRuns; // list of all test runs
113 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in addTestRun()
142 TestRunEntity mostRecentRun = testRuns.get(0); in generateToTBreakdown()
172 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processProfilingPoints()
193 testKey, TestRunEntity.KIND, this.startTime, this.endTime); in processDeviceInfos()
254 TestRunEntity testRun = testRuns.get(col); in processReport()
DEmailHelper.java17 import com.android.vts.entity.TestRunEntity;
69 TestRunEntity testRun, List<DeviceInfoEntity> devices, String link) { in getEmailFooter()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java23 import com.android.vts.entity.TestRunEntity;
142 private static List<TestRunEntity> getTestRuns(Key testKey, long startTime, long endTime) { in getTestRuns()
149 testKey, TestRunEntity.KIND, endTime - delta + 1, endTime, testTypeFilter); in getTestRuns()
152 new Query(TestRunEntity.KIND) in getTestRuns()
157 List<TestRunEntity> testRuns = new ArrayList<>(); in getTestRuns()
160 TestRunEntity testRun = TestRunEntity.fromEntity(testRunEntity); in getTestRuns()
230 List<TestRunEntity> testRuns, in getTestStatus()
240 TestRunEntity mostRecentRun = null; in getTestStatus()
251 for (TestRunEntity testRun : testRuns) { in getTestStatus()
537 List<TestRunEntity> testRuns = in doPost()
DVtsCoverageAlertJobServlet.java24 import com.android.vts.entity.TestRunEntity;
112 TestRunEntity testRunEntity = TestRunEntity.fromEntity(testRun); in getTestCoverageStatus()
DVtsInactivityJobServlet.java20 import com.android.vts.entity.TestRunEntity;
110 new Query(TestRunEntity.KIND) in getLastRunTime()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestRunEntity.java56 public class TestRunEntity implements DashboardEntity { class
57 protected static final Logger logger = Logger.getLogger(TestRunEntity.class.getName());
188 public TestRunEntity( in TestRunEntity() method in TestRunEntity
249 public com.googlecode.objectify.Key<TestRunEntity> save() { in save()
277 public static TestRunEntity getByTestNameId(String testName, long id) { in getByTestNameId()
280 return ofy().load().type(TestRunEntity.class).parent(testKey).id(id).now(); in getByTestNameId()
297 testKey, TestRunEntity.class, this.startTimestamp); in getOfyKey()
344 public static TestRunEntity fromEntity(Entity e) { in fromEntity()
378 return new TestRunEntity( in fromEntity()
DTestCoverageStatusEntity.java131 TestRunEntity.class, in getDeviceInfoEntityKeyList()
181 public TestRunEntity getTestRunEntity() { in getTestRunEntity()
185 .type(TestRunEntity.class) in getTestRunEntity()
DTestPlanRunEntity.java96 private List<com.googlecode.objectify.Key<TestRunEntity>> testRuns;
146 testParentKey, TestRunEntity.class, testRun.getId()); in TestPlanRunEntity()
174 List<com.googlecode.objectify.Key<TestRunEntity>> testRuns) { in TestPlanRunEntity()
DCodeCoverageEntity.java103 return Key.create(testParentKey, TestRunEntity.class, testRunKey.getId()); in getParentKey()
124 KeyFactory.createKey(testKey, TestRunEntity.KIND, this.getParent().getId()); in toEntity()
/test/vti/dashboard/src/test/java/com/android/vts/api/
DDataRestServletTest.java23 import com.android.vts.entity.TestRunEntity;
60 factory().register(TestRunEntity.class); in setUpExtra()
76 Key testRunParentKey = Key.create(testParentKey, TestRunEntity.class, 1); in setUpExtra()
DCoverageRestServletTest.java25 import com.android.vts.entity.TestRunEntity;
76 Key testRunParentKey = Key.create(testParentKey, TestRunEntity.class, 1); in testApiData()
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DCodeCoverageEntityTest.java35 Key testRunParentKey = Key.create(testParentKey, TestRunEntity.class, 1); in saveTest()
49 Key testRunParentKey = Key.create(testParentKey, TestRunEntity.class, 1); in getUrlSafeKeyTest()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java29 import com.android.vts.entity.TestRunEntity;
95 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in createProfilingRun()
219 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testNewSummary()
300 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time); in testUpdateSummary()

12