Home
last modified time | relevance | path

Searched refs:DeviceInfoEntity (Results 1 – 22 of 22) sorted by relevance

/test/vti/dashboard/src/main/java/com/android/vts/entity/
DDeviceInfoEntity.java46 public class DeviceInfoEntity implements DashboardEntity { class
47 protected static final Logger logger = Logger.getLogger(DeviceInfoEntity.class.getName());
99 public DeviceInfoEntity( in DeviceInfoEntity() method in DeviceInfoEntity
127 public DeviceInfoEntity( in DeviceInfoEntity() method in DeviceInfoEntity
153 .type(DeviceInfoEntity.class) in getAllBranches()
165 .type(DeviceInfoEntity.class) in getAllBranches()
184 .type(DeviceInfoEntity.class) in getAllBuildFlavors()
196 .type(DeviceInfoEntity.class) in getAllBuildFlavors()
207 public com.googlecode.objectify.Key<DeviceInfoEntity> save() { in save()
231 public static DeviceInfoEntity fromEntity(Entity e) { in fromEntity()
[all …]
DTestCoverageStatusEntity.java118 public static List<Key<DeviceInfoEntity>> getDeviceInfoEntityKeyList( in getDeviceInfoEntityKeyList()
135 DeviceInfoEntity.class, in getDeviceInfoEntityKeyList()
149 List<com.googlecode.objectify.Key<DeviceInfoEntity>> deviceInfoEntityKeyList = in getBranchSet()
152 Collection<DeviceInfoEntity> deviceInfoEntityList = in getBranchSet()
166 List<com.googlecode.objectify.Key<DeviceInfoEntity>> deviceInfoEntityKeyList = in getDeviceSet()
169 Collection<DeviceInfoEntity> deviceInfoEntityList = in getDeviceSet()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunMetadata.java19 import com.android.vts.entity.DeviceInfoEntity;
35 private final List<DeviceInfoEntity> devices;
47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) { in TestRunMetadata()
62 this(testName, testRun, new ArrayList<DeviceInfoEntity>()); in TestRunMetadata()
70 public void addDevice(DeviceInfoEntity device) { in addDevice()
79 for (DeviceInfoEntity device : this.devices) { in processDeviceInfo()
DTestResults.java20 import com.android.vts.entity.DeviceInfoEntity;
52 private Map<Key, List<DeviceInfoEntity>> deviceInfoMap; // map from test run key to device info
144 List<DeviceInfoEntity> deviceInfos = deviceInfoMap.get(mostRecentRun.getKey()); in generateToTBreakdown()
146 DeviceInfoEntity totDevice = deviceInfos.get(0); in generateToTBreakdown()
195 new Query(DeviceInfoEntity.KIND) in processDeviceInfos()
210 DeviceInfoEntity deviceEntity = DeviceInfoEntity.fromEntity(device); in processDeviceInfos()
213 deviceInfoMap.put(device.getParent(), new ArrayList<DeviceInfoEntity>()); in processDeviceInfos()
258 List<DeviceInfoEntity> devices = deviceInfoMap.get(testRun.getKey()); in processReport()
264 for (DeviceInfoEntity deviceInfoEntity : devices) { in processReport()
DFilterUtil.java16 import com.android.vts.entity.DeviceInfoEntity;
57 DEVICE_BUILD_ID("deviceBuildId", DeviceInfoEntity.BUILD_ID, true),
58 BRANCH("branch", DeviceInfoEntity.BRANCH, true),
59 TARGET("device", DeviceInfoEntity.BUILD_FLAVOR, true),
362 Key startKey = KeyFactory.createKey(minRunKey, DeviceInfoEntity.KIND, 1); in getDeviceTimeFilter()
372 Key endKey = KeyFactory.createKey(maxRunKey, DeviceInfoEntity.KIND, Long.MAX_VALUE); in getDeviceTimeFilter()
497 new Query(DeviceInfoEntity.KIND) in getMatchingKeys()
DEmailHelper.java16 import com.android.vts.entity.DeviceInfoEntity;
69 TestRunEntity testRun, List<DeviceInfoEntity> devices, String link) { in getEmailFooter()
73 for (DeviceInfoEntity device : devices) { in getEmailFooter()
DDatastoreHelper.java22 import com.android.vts.entity.DeviceInfoEntity;
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java23 import com.android.vts.entity.DeviceInfoEntity;
52 private List<DeviceInfoEntity> allDevices;
56 factory().register(DeviceInfoEntity.class); in setUpExtra()
70 DeviceInfoEntity device1 = in setUpExtra()
71 new DeviceInfoEntity( in setUpExtra()
73 DeviceInfoEntity device2 = in setUpExtra()
74 new DeviceInfoEntity( in setUpExtra()
DVtsProfilingStatsJobServletTest.java24 import com.android.vts.entity.DeviceInfoEntity;
124 DeviceInfoEntity device = in createProfilingRun()
125 new DeviceInfoEntity(testRunKey, branch, product, flavor, id, bitness, abiName); in createProfilingRun()
243 DeviceInfoEntity device = in testNewSummary()
244 new DeviceInfoEntity( in testNewSummary()
247 List<DeviceInfoEntity> devices = new ArrayList<>(); in testNewSummary()
320 DeviceInfoEntity device = in testUpdateSummary()
321 new DeviceInfoEntity( in testUpdateSummary()
324 List<DeviceInfoEntity> devices = new ArrayList<>(); in testUpdateSummary()
/test/vti/dashboard/src/test/java/com/android/vts/api/
DDataRestServletTest.java21 import com.android.vts.entity.DeviceInfoEntity;
63 factory().register(DeviceInfoEntity.class); in setUpExtra()
77 DeviceInfoEntity deviceInfoEntity1 = in setUpExtra()
78 new DeviceInfoEntity( in setUpExtra()
89 DeviceInfoEntity deviceInfoEntity2 = in setUpExtra()
90 new DeviceInfoEntity( in setUpExtra()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGraphServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
116 private static String getDeviceSummary(List<DeviceInfoEntity> devices) { in getDeviceSummary()
119 for (DeviceInfoEntity device : devices) { in getDeviceSummary()
185 DeviceInfoEntity.BUILD_FLAVOR, in doGetHandler()
190 new Query(DeviceInfoEntity.KIND) in doGetHandler()
203 Map<Key, List<DeviceInfoEntity>> testRunDevices = new HashMap<>(); in doGetHandler()
206 testRunDevices.put(deviceKey.getParent(), new ArrayList<DeviceInfoEntity>()); in doGetHandler()
208 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(deviceInfos.get(deviceKey)); in doGetHandler()
DShowPlanRunServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
122 Query deviceInfoQuery = new Query(DeviceInfoEntity.KIND).setAncestor(key); in doGetHandler()
123 List<DeviceInfoEntity> devices = new ArrayList<>(); in doGetHandler()
125 DeviceInfoEntity deviceEntity = DeviceInfoEntity.fromEntity(device); in doGetHandler()
DShowCoverageOverviewServlet.java20 import com.android.vts.entity.DeviceInfoEntity;
168 private Predicate<DeviceInfoEntity> isBranchAndDevice(String branch, String device) { in isBranchAndDevice()
172 private Predicate<DeviceInfoEntity> isBranch(String branch) { in isBranch()
176 private Predicate<DeviceInfoEntity> isDevice(String device) { in isDevice()
216 List<com.googlecode.objectify.Key<DeviceInfoEntity>> deviceInfoEntityKeyList = in getCoverageDispatcher()
220 Collection<DeviceInfoEntity> deviceInfoEntityMap = in getCoverageDispatcher()
223 Stream<DeviceInfoEntity> deviceInfoEntityStream = Stream.empty(); in getCoverageDispatcher()
DShowGreenReleaseServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
231 new Query(DeviceInfoEntity.KIND) in getTestPlanDispatcher()
234 new PropertyProjection(DeviceInfoEntity.BRANCH, String.class)) in getTestPlanDispatcher()
236 new PropertyProjection(DeviceInfoEntity.BUILD_FLAVOR, String.class)) in getTestPlanDispatcher()
241 String branch = entity.getProperty(DeviceInfoEntity.BRANCH).toString(); in getTestPlanDispatcher()
242 String target = entity.getProperty(DeviceInfoEntity.BUILD_FLAVOR).toString(); in getTestPlanDispatcher()
DShowPlanReleaseServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
96 public final Set<DeviceInfoEntity> deviceSet;
104 public void addDevice(DeviceInfoEntity device) { in addDevice()
243 new Query(DeviceInfoEntity.KIND) in getTestPlanDispatcher()
260 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key)); in getTestPlanDispatcher()
DShowTreeServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
214 new Query(DeviceInfoEntity.KIND) in doGetHandler()
232 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key)); in doGetHandler()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsProfilingStatsJobServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
114 List<DeviceInfoEntity> devices, in updateSummaries()
139 for (DeviceInfoEntity d : devices) { in updateSummaries()
243 new Query(DeviceInfoEntity.KIND).setAncestor(profilingPointRunKey.getParent()); in doPost()
245 List<DeviceInfoEntity> devices = new ArrayList<>(); in doPost()
247 DeviceInfoEntity deviceInfoEntity = DeviceInfoEntity.fromEntity(e); in doPost()
DVtsCoverageAlertJobServlet.java22 import com.android.vts.entity.DeviceInfoEntity;
128 Query deviceQuery = new Query(DeviceInfoEntity.KIND).setAncestor(testRun.getKey()); in getTestCoverageStatus()
129 List<DeviceInfoEntity> devices = new ArrayList<>(); in getTestCoverageStatus()
131 DeviceInfoEntity deviceEntity = DeviceInfoEntity.fromEntity(device); in getTestCoverageStatus()
DVtsAlertJobServlet.java19 import com.android.vts.entity.DeviceInfoEntity;
178 List<DeviceInfoEntity> devices, in separateAcknowledged()
188 for (DeviceInfoEntity device : devices) { in separateAcknowledged()
304 List<DeviceInfoEntity> devices = new ArrayList<>(); in getTestStatus()
305 Query deviceQuery = new Query(DeviceInfoEntity.KIND).setAncestor(mostRecentRun.getKey()); in getTestStatus()
307 DeviceInfoEntity deviceEntity = DeviceInfoEntity.fromEntity(device); in getTestStatus()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DDatastoreRestServlet.java25 import com.android.vts.entity.DeviceInfoEntity;
153 List<DeviceInfoEntity> deviceInfoEntityList = new ArrayList<>(); in insertTestReport()
250 DeviceInfoEntity deviceInfoEntity = in insertTestReport()
251 DeviceInfoEntity.fromDeviceInfoMessage(testRunKey, device); in insertTestReport()
424 List<DeviceInfoEntity> deviceInfoEntityList = new ArrayList<>(); in insertTestPlanReport()
458 Set<DeviceInfoEntity> deviceInfoEntitySet = new HashSet<>(); in insertTestPlanReport()
471 List<DeviceInfoEntity> deviceInfoEntityListWithTestRunKey = in insertTestPlanReport()
473 .type(DeviceInfoEntity.class) in insertTestPlanReport()
477 for (DeviceInfoEntity deviceInfoEntity : deviceInfoEntityListWithTestRunKey) { in insertTestPlanReport()
505 for (DeviceInfoEntity device : deviceInfoEntitySet) { in insertTestPlanReport()
DTestDataForDevServlet.java23 import com.android.vts.entity.DeviceInfoEntity;
475 DeviceInfoEntity deviceInfoEntity = in doPost()
476 new DeviceInfoEntity( in doPost()
588 Set<DeviceInfoEntity> devices = new HashSet<>(); in doPost()
606 new Query(DeviceInfoEntity.KIND).setAncestor(testRunKey); in doPost()
609 DeviceInfoEntity device = in doPost()
610 DeviceInfoEntity.fromEntity(deviceInfoEntity); in doPost()
638 for (DeviceInfoEntity device : devices) { in doPost()
/test/vti/dashboard/src/main/java/com/android/vts/config/
DObjectifyListener.java25 import com.android.vts.entity.DeviceInfoEntity;
97 ObjectifyService.register(DeviceInfoEntity.class); in contextInitialized()