Lines Matching full:devices
34 // loads a file with the whitelisted devices and versions. Make sure to include
35 // human readable names for the devices.
40 // latest version. To see available devices and version run with
113 // Get list of all available devices.
114 devices, ignoredDevices, err := getAvailableDevices(WHITELIST_DEV_IDS, *minAPIVersion, *maxAPIVersion)
116 sklog.Fatalf("Unable to retrieve available devices: %s", err)
119 sklog.Infof("Selected devices:")
120 logDevices(devices)
122 if err := runTests(apk_path, devices, ignoredDevices, client, *dryRun); err != nil {
128 // available devices and then returns a list of devices to be tested and the list
129 // of ignored devices.
131 // Get the list of all devices in JSON format from Firebase testlab.
147 // iterate over the available devices and partition them.
152 // Filter out all the virtual devices.
154 // Only include devices that are on the whitelist and have versions defined.
171 sklog.Infof("All devices:")
192 // runTests runs the given apk on the given list of devices.
193 func runTests(apk_path string, devices, ignoredDevices []*tsuite.DeviceVersions, client *http.Client, dryRun bool) error {
195 modelSelectors := make([]string, 0, len(devices)*5)
196 for _, devRec := range devices {
230 // runs on devices failed. We consider it a success for this script.
240 Devices: devices,
249 // logDevices logs the given list of devices.
250 func logDevices(devices []*tsuite.DeviceVersions) {
251 sklog.Infof("Found %d devices.", len(devices))
252 for _, dev := range devices {