Update proxied devices to handle connection interface and diagnostics. (#145061)

Also improve the performance of daemon device discovery by parallelizing the calls.
This commit is contained in:
Lau Ching Jun
2024-03-13 15:24:25 -07:00
committed by GitHub
parent 19087442ce
commit 3dba3f2a0f
7 changed files with 159 additions and 4 deletions

View File

@@ -269,6 +269,11 @@ class FakePollingDeviceDiscovery extends PollingDeviceDiscovery {
@override
List<String> wellKnownIds = <String>[];
List<String> diagnostics = <String>[];
@override
Future<List<String>> getDiagnostics() => Future<List<String>>.value(diagnostics);
}
/// A fake implementation of the [DeviceLogReader].