Searched refs:deviceManager (Results 1 – 11 of 11) sorted by relevance
18 final DeviceManager deviceManager = DeviceManager();19 final List<Device> devices = await deviceManager.getDevices().toList();28 final DeviceManager deviceManager = TestDeviceManager(devices);31 expect(await deviceManager.getDevicesById(id).toList(), expected);69 final DeviceManager deviceManager = TestDeviceManager(devices);70 final List<Device> filtered = await deviceManager.findTargetDevices(FlutterProject.current());81 final DeviceManager deviceManager = TestDeviceManager(devices);82 final List<Device> filtered = await deviceManager.findTargetDevices(FlutterProject.current());95 final DeviceManager deviceManager = TestDeviceManager(devices);96 deviceManager.specifiedDeviceId = 'all';[all …]
30 final List<Device> devices = await deviceManager.getAllConnectedDevices().toList();38 final List<String> diagnostics = await deviceManager.getDeviceDiagnostics();
194 final List<Device> devices = await deviceManager.findTargetDevices(FlutterProject.current());196 if (deviceManager.hasSpecifiedDeviceId) {198 printStatus("No devices found with name or id matching '${deviceManager.specifiedDeviceId}'");202 …printStatus("Found ${devices.length} devices with name or id matching '${deviceManager.specifiedDe…
282 if (deviceManager.hasSpecifiedAllDevices && runningWithPrebuiltApplication)
652 deviceManager.deviceDiscoverers.forEach(addDeviceDiscoverer);
210 const deviceManager = { variable230 return deviceManager
515 List<Device> devices = await deviceManager.findTargetDevices(FlutterProject.current());517 if (devices.isEmpty && deviceManager.hasSpecifiedDeviceId) {518 printStatus(userMessages.flutterNoMatchingDevice(deviceManager.specifiedDeviceId));520 } else if (devices.isEmpty && deviceManager.hasSpecifiedAllDevices) {526 } else if (devices.length > 1 && !deviceManager.hasSpecifiedAllDevices) {527 if (deviceManager.hasSpecifiedDeviceId) {528 …printStatus(userMessages.flutterFoundSpecifiedDevices(devices.length, deviceManager.specifiedDevic…531 devices = await deviceManager.getAllConnectedDevices().toList();550 deviceList = await deviceManager.getAllConnectedDevices().toList();601 final List<Device> devices = await deviceManager.getDevices().toList();
385 deviceManager.specifiedDeviceId = topLevelResults['device-id'];
86 if (deviceManager.canListAnything)760 final List<Device> devices = await deviceManager.getAllConnectedDevices().toList();763 final List<String> diagnostics = await deviceManager.getDeviceDiagnostics();
28 DeviceManager get deviceManager => context.get<DeviceManager>();
198 devices = await deviceManager.getDevices().toList();