Lines Matching refs:roots
254 final ArrayList<MtpRoot> roots = new ArrayList<>();
260 roots.add(new MtpRoot(device.getDeviceId(), info));
262 return roots.toArray(new MtpRoot[roots.size()]);
270 MtpRoot[] roots;
275 roots = getRoots(device.getDeviceId());
278 // If we failed to fetch roots for the device, we still returns device model
279 // with an empty set of roots so that the device is shown DocumentsUI as long as
281 roots = new MtpRoot[0];
289 roots = new MtpRoot[0];
292 device.getDeviceId(), name, device.getSerialNumber(), opened, roots,