Home
last modified time | relevance | path

Searched refs:getKey (Results 1 – 25 of 54) sorted by relevance

123

/test/vti/dashboard/src/main/java/com/android/vts/util/
DDatastoreHelper.java149 branches.add(e.getKey().getName()); in getAllBranches()
163 devices.add(e.getKey().getName()); in getAllBuildFlavors()
202 Entity datastoreEntity = datastore.get(entity.getKey()); in datastoreTransactionalRetryWithXG()
209 datastore.get(entity.getKey()); in datastoreTransactionalRetryWithXG()
211 datastore.get(entity.getKey()); in datastoreTransactionalRetryWithXG()
226 "Retrying insert kind: " + entity.getKind() + " key: " + entity.getKey()); in datastoreTransactionalRetryWithXG()
233 + entity.getKey()); in datastoreTransactionalRetryWithXG()
DTestResults.java122 testCaseRunMap.put(testRun.getKey(), new ArrayList<TestCaseRunEntity>()); in addTestRun()
128 testCaseRunMap.get(testRun.getKey()).add(testCaseRunEntity); in addTestRun()
143 List<TestCaseRunEntity> testCaseResults = testCaseRunMap.get(mostRecentRun.getKey()); in generateToTBreakdown()
144 List<DeviceInfoEntity> deviceInfos = deviceInfoMap.get(mostRecentRun.getKey()); in generateToTBreakdown()
181 if (e.getKey().getName() != null) { in processProfilingPoints()
182 profilingPointNameSet.add(e.getKey().getName()); in processProfilingPoints()
203 deviceGets.add(device.getKey()); in processDeviceInfos()
258 List<DeviceInfoEntity> devices = deviceInfoMap.get(testRun.getKey()); in processReport()
301 for (TestCaseRunEntity testCaseEntity : testCaseRunMap.get(testRun.getKey())) { in processReport()
DFilterUtil.java469 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()
505 if (matchingTestKeys.contains(device.getKey().getParent())) { in getMatchingKeys()
506 allMatchingKeys.add(device.getKey().getParent()); in getMatchingKeys()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestPlanEntity.java60 public Key getKey() { in getKey() method in TestPlanEntity
73 if (!e.getKind().equals(KIND) || e.getKey().getName() == null in fromEntity()
78 String testPlanName = e.getKey().getName(); in fromEntity()
DBuildTargetEntity.java55 public Key getKey() { in getKey() method in BuildTargetEntity
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
108 String targetName = e.getKey().getName(); in fromEntity()
DBranchEntity.java55 public Key getKey() { in getKey() method in BranchEntity
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
108 String branchName = e.getKey().getName(); in fromEntity()
DTestEntity.java140 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
144 String testName = e.getKey().getName(); in fromEntity()
DTestStatusEntity.java163 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
167 String testName = e.getKey().getName(); in fromEntity()
DTestCaseRunEntity.java204 log.warn("Wrong kind: " + e.getKey()); in fromEntity()
208 TestCaseRunEntity testCaseRun = new TestCaseRunEntity(e.getKey().getId()); in fromEntity()
DDashboardEntity.java52 entry -> entry.getKey(), in saveAll()
DTestCoverageStatusEntity.java216 || e.getKey().getName() == null in fromEntity()
224 String testName = e.getKey().getName(); in fromEntity()
DTestRunEntity.java256 public Key getKey() { in getKey() method in TestRunEntity
323 this.getKey(), coveredLineCount, totalLineCount); in getCodeCoverageEntity()
379 e.getKey().getParent(), in fromEntity()
DTestAcknowledgmentEntity.java211 e.getKey(), created, test, user, branches, devices, testCaseNames, note); in fromEntity()
213 logger.log(Level.WARNING, "Corrupted data in entity: " + e.getKey()); in fromEntity()
DProfilingPointRunEntity.java260 || e.getKey().getName() == null in fromEntity()
271 String name = e.getKey().getName(); in fromEntity()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParser.java320 listener.testStarted(test.getKey()); in completeTestRun()
322 listener.testEnded(test.getKey(), Collections.<String, String>emptyMap()); in completeTestRun()
324 listener.testFailed(test.getKey(), test.getValue()); in completeTestRun()
326 listener.testEnded(test.getKey(), Collections.emptyMap()); in completeTestRun()
328 listener.testAssumptionFailure(test.getKey(), test.getValue()); in completeTestRun()
330 listener.testEnded(test.getKey(), Collections.emptyMap()); in completeTestRun()
332 listener.testFailed(test.getKey(), test.getValue()); in completeTestRun()
334 listener.testEnded(test.getKey(), Collections.emptyMap()); in completeTestRun()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsProfilingStatsJobServlet.java149 profilingPoint.getKey(), branch, device, option, time)); in updateSummaries()
160 logger.log(Level.WARNING, "Invalid profiling point summary: " + e.getKey()); in updateSummaries()
186 profilingPoint.getKey(), branch, device, option, time); in updateSummaries()
209 + profilingPointRun.getKey()); in updateSummaries()
DVtsInactivityJobServlet.java118 lastTestRun = testRun.getKey().getId(); in getLastRunTime()
132 .param("statusKey", KeyFactory.keyToString(status.getKey())) in doGet()
DVtsPerformanceJobServlet.java210 if (test.getKey().getName() == null) { in doGet()
215 .param("testKey", KeyFactory.keyToString(test.getKey())) in doGet()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DDatastoreRestServlet.java233 profilingPointKeyList.add(profilingPointRunEntity.getKey()); in insertTestReport()
265 if (buildTargetKeys.add(target.getKey())) { in insertTestReport()
269 if (branchKeys.add(branch.getKey())) { in insertTestReport()
332 profilingPointKeyList.add(profilingPointRunEntity.getKey()); in insertTestReport()
369 testRunEntity.getKey(), in insertTestReport()
492 testPlanEntity.getKey(), in insertTestPlanReport()
DTestDataForDevServlet.java523 testRunEntity.getKey(), in doPost()
553 + newTestEntity.getKey()); in doPost()
559 + testRunEntity.getKey()); in doPost()
625 testPlanEntity.getKey(), in doPost()
648 datastore.get(testPlanEntity.getKey()); in doPost()
658 "Retrying test plan insert: " + testPlanEntity.getKey()); in doPost()
DUserFavoriteRestServlet.java90 favoriteKey = e.getKey(); in addFavorite()
98 favoriteKey = entity.getKey(); in addFavorite()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceFileCollector.java112 String actualValue = device.getProperty(propEntry.getKey()); in matchProperties()
116 mSrcFile, propEntry.getKey(), propEntry.getValue(), actualValue); in matchProperties()
DApkInstrumentationPreparer.java143 results.getKey(), results.getValue().getStackTrace()); in instrument()
147 results.getKey(), results.getValue().getStackTrace()); in instrument()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DTestRunHandler.java84 sb.append(String.format("%s%s%d\n", entry.getKey(), MAP_DELIMITER, entry.getValue())); in mapToString()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGraphServlet.java170 testRun.getKey(), ProfilingPointRunEntity.KIND, profilingPointName)); in doGetHandler()
198 gets.add(device.getKey()); in doGetHandler()

123