Remove the hard limit on the number of devices.

On some platforms, there are only 2 /dev/gsc* devices. But we assume to have 4
and thus fail the test.

Instead, we ensure there are at least one gsc devices and check the supported
formats for all these devices.

BUG=chromium:307362
TEST=run the test on an arm device.

Change-Id: I3bebf68b0edcd76b404042973783c5b1af05def7
Reviewed-on: https://chromium-review.googlesource.com/174261
Reviewed-by: Yuli Huang <[email protected]>
Reviewed-by: Rohit Makasana <[email protected]>
Commit-Queue: Owen Lin <[email protected]>
Tested-by: Owen Lin <[email protected]>
1 file changed