Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 25 of 56) sorted by relevance

123

/test/vti/test_serving/gae/webapp/src/endpoint/
Dhost_info_test.py51 devices=[error_device],
57 devices = model.DeviceModel.query().fetch()
58 self.assertEqual(len(devices), 1)
61 self.assertEqual(devices[0].product, "error")
70 devices=[correct_device],
74 devices = model.DeviceModel.query().fetch()
75 self.assertEqual(len(devices), 1)
77 self.assertEqual(devices[0].product, product)
82 devices=[error_device],
86 devices = model.DeviceModel.query().fetch()
[all …]
Dlab_info_test.py70 devices = model.DeviceModel.query().fetch()
71 self.assertEqual(len(devices), 1)
72 self.assertEqual(devices[0].product, product)
75 devices[0].product = "error"
76 devices[0].put()
80 devices = model.DeviceModel.query().fetch()
82 self.assertEqual(len(devices), 1)
84 self.assertEqual(devices[0].product, "error")
125 devices = model.DeviceModel.query().fetch()
126 self.assertEqual(len(devices), 1)
[all …]
Djob_queue.py68 devices = device_query.fetch()
70 for device in devices:
121 devices = device_query.fetch()
128 ", ".join([device.serial for device in devices])))
132 for device in devices:
142 for device in devices:
149 for device in devices:
Djob_queue_test.py106 devices = model.DeviceModel.query().fetch()
107 for device in devices:
151 devices = model.DeviceModel.query().fetch()
152 for device in devices:
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestAcknowledgmentEntity.java73 private Set<String> devices; field in TestAcknowledgmentEntity
100 List<String> devices, in TestAcknowledgmentEntity() argument
108 if (devices != null) this.devices = new HashSet(devices); in TestAcknowledgmentEntity()
109 else this.devices = new HashSet<>(); in TestAcknowledgmentEntity()
137 List<String> devices, in TestAcknowledgmentEntity() argument
140 this(null, -1, test, userObj, branches, devices, testCaseNames, note); in TestAcknowledgmentEntity()
164 if (this.devices != null && this.devices.size() > 0) in toEntity()
165 ackEntity.setUnindexedProperty(DEVICES, new ArrayList<>(this.devices)); in toEntity()
199 List<String> devices; in fromEntity() local
200 if (e.hasProperty(DEVICES)) devices = (List<String>) e.getProperty(DEVICES); in fromEntity()
[all …]
/test/vti/test_serving/gae/webapp/src/tasks/
Dremoving_outdated_devices_test.py76 devices = model.DeviceModel.query().fetch()
79 self.assertEqual(len(devices), 3)
80 self.assertTrue(device_a_serial not in [x.serial for x in devices])
83 for device in devices:
90 devices = model.DeviceModel.query().fetch()
93 self.assertEqual(len(devices), 2)
94 self.assertTrue(device_b_serial not in [x.serial for x in devices])
97 for device in devices:
104 devices = model.DeviceModel.query().fetch()
107 self.assertEqual(len(devices), 0)
/test/vti/dashboard/src/main/webapp/js/
Dtest_acknowledgments.js169 var devices = Array.from(deviceSet);
170 devices.sort();
177 'devices' : devices, property
182 var newAck = createAcknowledgment(newKey, test, branches, devices, testCaseNames, note);
207 function showModal(ack, key, test, branches, devices, testCases, note) { argument
244 addChips(deviceSet, deviceChips, devices, allDevicesLabel);
326 function createAcknowledgment(key, test, branches, devices, testCases, note) { argument
334 showModal(wrapper, key, test, branches, devices, testCases, note);
345 if (!!devices && devices.length == 1) {
346 devicesSummary = devices[0];
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunMetadata.java35 private final List<DeviceInfoEntity> devices; field in TestRunMetadata
47 public TestRunMetadata(String testName, TestRunEntity testRun, List<DeviceInfoEntity> devices) { in TestRunMetadata() argument
52 this.devices = devices; in TestRunMetadata()
71 this.devices.add(device); in addDevice()
79 for (DeviceInfoEntity device : this.devices) { in processDeviceInfo()
/test/vti/dashboard/src/test/java/com/android/vts/entity/
DTestAcknowledgmentEntityTest.java60 List<String> devices = new ArrayList<>(); in testEntitySerialization() local
61 devices.add("device1"); in testEntitySerialization()
66 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); in testEntitySerialization()
77 .containsAll(devices)); in testEntitySerialization()
88 Assert.assertTrue(deserialized.getDevices().containsAll(devices)); in testEntitySerialization()
127 List<String> devices = new ArrayList<>(); in testJsonSerialization() local
128 devices.add("device1"); in testJsonSerialization()
133 new TestAcknowledgmentEntity(key, user, branches, devices, testCaseNames, note); in testJsonSerialization()
143 Assert.assertTrue(deserialized.getDevices().containsAll(devices)); in testJsonSerialization()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java111 List<String> devices = new ArrayList<>(); in testSeparateAcknowledgedSpecific() local
112 devices.add("flavor2"); in testSeparateAcknowledgedSpecific()
119 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecific()
137 List<String> devices = new ArrayList<>(); in testSeparateAcknowledgedSpecificMismatch() local
138 devices.add("flavor1"); in testSeparateAcknowledgedSpecificMismatch()
145 testKey, user, branches, devices, testCaseNames, null); in testSeparateAcknowledgedSpecificMismatch()
DVtsProfilingStatsJobServletTest.java247 List<DeviceInfoEntity> devices = new ArrayList<>(); in testNewSummary() local
248 devices.add(device); in testNewSummary()
252 testKey, profilingPointRunEntity, devices, time); in testNewSummary()
324 List<DeviceInfoEntity> devices = new ArrayList<>(); in testUpdateSummary() local
325 devices.add(device); in testUpdateSummary()
355 testKey, profilingPointRunEntity, devices, time); in testUpdateSummary()
/test/vti/test_serving/gae/webapp/src/scheduler/
Djob_heartbeat_test.py57 devices = []
63 devices.append(device)
66 for device in devices:
118 devices = model.DeviceModel.query(
120 for device in devices:
/test/vts-testcase/nbu/src/
DREADME.md18 actions and read status, thus coordinating actions across multiple devices.
39 The two devices should be of the same model and build (identical fingerprint).
52 Based on the two devices' serial numbers, we need to create a config file.
55 blocks replaced with the information of your actual devices:
82 After all the tools are installed, connect the devices to the computer with USB
83 cables and make sure they show up as "device" in the output of `$ adb devices`
/test/vti/test_serving/gae/webapp/src/utils/
Demail_util.py57 def send_device_notification(devices): argument
64 for lab in devices:
70 devices[lab]["_recipients"])
81 for host in devices[lab]:
82 if host == "_recipients" or not devices[lab][host]:
87 message += "\n".join(devices[lab][host])
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowGraphServlet.java116 private static String getDeviceSummary(List<DeviceInfoEntity> devices) { in getDeviceSummary() argument
117 if (devices == null) return null; in getDeviceSummary()
119 for (DeviceInfoEntity device : devices) { in getDeviceSummary()
147 List<String> devices = DatastoreHelper.getAllBuildFlavors(); in doGetHandler() local
148 if (!devices.contains(selectedDevice)) selectedDevice = null; in doGetHandler()
243 request.setAttribute("devices", devices); in doGetHandler()
DShowPlanReleaseServlet.java95 public final List<String> devices; field in ShowPlanReleaseServlet.TestPlanRunMetadata
100 this.devices = new ArrayList<>(); in TestPlanRunMetadata()
106 devices.add( in addDevice()
119 obj.add("deviceInfo", new JsonPrimitive(StringUtils.join(devices, ", "))); in toJson()
257 Map<Key, Entity> devices = datastore.get(deviceGets); in getTestPlanDispatcher() local
258 for (Key key : devices.keySet()) { in getTestPlanDispatcher()
260 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key)); in getTestPlanDispatcher()
/test/vti/test_serving/gae/frontend/src/app/menu/device/
Ddevice.component.ts91 if (response.devices) {
92 length = response.devices.length;
117 this.dataSource.data = response.devices;
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsCoverageAlertJobServlet.java129 List<DeviceInfoEntity> devices = new ArrayList<>(); in getTestCoverageStatus() local
135 devices.add(deviceEntity); in getTestCoverageStatus()
139 String footer = EmailHelper.getEmailFooter(testRunEntity, devices, link); in getTestCoverageStatus()
269 devices.size() > 0 ? devices.get(0).getId() : 0); in getTestCoverageStatus()
DVtsProfilingStatsJobServlet.java114 List<DeviceInfoEntity> devices, in updateSummaries() argument
139 for (DeviceInfoEntity d : devices) { in updateSummaries()
245 List<DeviceInfoEntity> devices = new ArrayList<>(); in doPost() local
249 devices.add(deviceInfoEntity); in doPost()
255 boolean result = updateSummaries(testKey, profilingPointRun, devices, canonicalTime); in doPost()
DVtsAlertJobServlet.java178 List<DeviceInfoEntity> devices, in separateAcknowledged() argument
188 for (DeviceInfoEntity device : devices) { in separateAcknowledged()
304 List<DeviceInfoEntity> devices = new ArrayList<>(); in getTestStatus() local
312 devices.add(deviceEntity); in getTestStatus()
314 String footer = EmailHelper.getEmailFooter(mostRecentRun, devices, link); in getTestStatus()
348 separateAcknowledged(newTestcaseFailures, devices, testAcks); in getTestStatus()
350 separateAcknowledged(transientTestcaseFailures, devices, testAcks)); in getTestStatus()
352 separateAcknowledged(continuedTestcaseFailures, devices, testAcks)); in getTestStatus()
/test/vts/tools/vts-core-tradefed/
DREADME14 - supports sharding a VTS test run across multiple devices in parallel
31 4. Ensure device is visible via 'adb devices'
56 To shard a plan test run on multiple devices
58 note: all connected devices must be running the same build
/test/mlts/benchmark/jni/
Drandom_graph_test_jni.cpp234 std::vector<const ANeuralNetworksDevice*> devices; in runRandomModel() local
236 devices.push_back(mDevice); in runRandomModel()
243 devices.push_back(mNnApiReference); in runRandomModel()
247 auto [compilationResult, compilation] = CreateCompilation(model, devices); in runRandomModel()
471 const std::vector<const ANeuralNetworksDevice*>& devices) { in CreateCompilation() argument
473 if (!devices.empty()) in CreateCompilation()
474 return Compilation::createForDevices(&model, devices); in CreateCompilation()
/test/cts-root/tools/cts-root-tradefed/
DREADME17 And ensure device is visible via 'adb devices'
40 To shard a plan test run on multiple devices
42 note: all connected devices must be running the same build
/test/mts/tools/mts-tradefed/
DREADME16 And ensure device is visible via 'adb devices'
39 To shard a plan test run on multiple devices
41 note: all connected devices must be running the same build
/test/catbox/tools/catbox-tradefed/
DREADME24 4. Ensure device is visible via 'adb devices'
49 To shard a plan test run on multiple devices
51 note: all connected devices must be running the same build

123