Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
75baed58
Unverified
Commit
75baed58
authored
Mar 30, 2022
by
Ben Konyi
Committed by
GitHub
Mar 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reland "Enable caching of CPU samples collected at application startup (#89600)" (#100995)
parent
d0215091
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
34 additions
and
4 deletions
+34
-4
dds.dart
packages/flutter_tools/lib/src/base/dds.dart
+4
-0
run.dart
packages/flutter_tools/lib/src/commands/run.dart
+6
-0
device.dart
packages/flutter_tools/lib/src/device.dart
+6
-0
resident_runner.dart
packages/flutter_tools/lib/src/resident_runner.dart
+4
-1
attach_test.dart
...utter_tools/test/commands.shard/hermetic/attach_test.dart
+1
-0
cold_test.dart
packages/flutter_tools/test/general.shard/cold_test.dart
+1
-0
drive_service_test.dart
...er_tools/test/general.shard/drive/drive_service_test.dart
+1
-0
fuchsia_device_test.dart
...tools/test/general.shard/fuchsia/fuchsia_device_test.dart
+1
-0
hot_test.dart
packages/flutter_tools/test/general.shard/hot_test.dart
+1
-0
resident_runner_test.dart
...lutter_tools/test/general.shard/resident_runner_test.dart
+8
-3
resident_web_runner_test.dart
...er_tools/test/general.shard/resident_web_runner_test.dart
+1
-0
No files found.
packages/flutter_tools/lib/src/base/dds.dart
View file @
75baed58
...
@@ -17,6 +17,7 @@ Future<dds.DartDevelopmentService> Function(
...
@@ -17,6 +17,7 @@ Future<dds.DartDevelopmentService> Function(
bool
enableAuthCodes
,
bool
enableAuthCodes
,
bool
ipv6
,
bool
ipv6
,
Uri
?
serviceUri
,
Uri
?
serviceUri
,
List
<
String
>
cachedUserTags
,
})
ddsLauncherCallback
=
dds
.
DartDevelopmentService
.
startDartDevelopmentService
;
})
ddsLauncherCallback
=
dds
.
DartDevelopmentService
.
startDartDevelopmentService
;
/// Helper class to launch a [dds.DartDevelopmentService]. Allows for us to
/// Helper class to launch a [dds.DartDevelopmentService]. Allows for us to
...
@@ -36,6 +37,7 @@ class DartDevelopmentService {
...
@@ -36,6 +37,7 @@ class DartDevelopmentService {
int
?
hostPort
,
int
?
hostPort
,
bool
?
ipv6
,
bool
?
ipv6
,
bool
?
disableServiceAuthCodes
,
bool
?
disableServiceAuthCodes
,
bool
cacheStartupProfile
=
false
,
})
async
{
})
async
{
final
Uri
ddsUri
=
Uri
(
final
Uri
ddsUri
=
Uri
(
scheme:
'http'
,
scheme:
'http'
,
...
@@ -52,6 +54,8 @@ class DartDevelopmentService {
...
@@ -52,6 +54,8 @@ class DartDevelopmentService {
serviceUri:
ddsUri
,
serviceUri:
ddsUri
,
enableAuthCodes:
disableServiceAuthCodes
!=
true
,
enableAuthCodes:
disableServiceAuthCodes
!=
true
,
ipv6:
ipv6
??
false
,
ipv6:
ipv6
??
false
,
// Enables caching of CPU samples collected during application startup.
cachedUserTags:
cacheStartupProfile
?
const
<
String
>[
'AppStartUp'
]
:
const
<
String
>[],
);
);
unawaited
(
_ddsInstance
?.
done
.
whenComplete
(()
{
unawaited
(
_ddsInstance
?.
done
.
whenComplete
(()
{
if
(!
_completer
.
isCompleted
)
{
if
(!
_completer
.
isCompleted
)
{
...
...
packages/flutter_tools/lib/src/commands/run.dart
View file @
75baed58
...
@@ -46,6 +46,10 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
...
@@ -46,6 +46,10 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
'FLUTTER_TEST_OUTPUTS_DIR environment variable is set, the file '
'FLUTTER_TEST_OUTPUTS_DIR environment variable is set, the file '
'will be written there instead.'
,
'will be written there instead.'
,
)
)
..
addFlag
(
'cache-startup-profile'
,
help:
'Caches the CPU profile collected before the first frame for startup '
'analysis.'
,
)
..
addFlag
(
'verbose-system-logs'
,
..
addFlag
(
'verbose-system-logs'
,
negatable:
false
,
negatable:
false
,
help:
'Include verbose logging from the Flutter engine.'
,
help:
'Include verbose logging from the Flutter engine.'
,
...
@@ -163,6 +167,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
...
@@ -163,6 +167,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
bool
get
dumpSkpOnShaderCompilation
=>
boolArg
(
'dump-skp-on-shader-compilation'
);
bool
get
dumpSkpOnShaderCompilation
=>
boolArg
(
'dump-skp-on-shader-compilation'
);
bool
get
purgePersistentCache
=>
boolArg
(
'purge-persistent-cache'
);
bool
get
purgePersistentCache
=>
boolArg
(
'purge-persistent-cache'
);
bool
get
disableServiceAuthCodes
=>
boolArg
(
'disable-service-auth-codes'
);
bool
get
disableServiceAuthCodes
=>
boolArg
(
'disable-service-auth-codes'
);
bool
get
cacheStartupProfile
=>
boolArg
(
'cache-startup-profile'
);
bool
get
runningWithPrebuiltApplication
=>
argResults
[
'use-application-binary'
]
!=
null
;
bool
get
runningWithPrebuiltApplication
=>
argResults
[
'use-application-binary'
]
!=
null
;
bool
get
trackWidgetCreation
=>
boolArg
(
'track-widget-creation'
);
bool
get
trackWidgetCreation
=>
boolArg
(
'track-widget-creation'
);
bool
get
enableImpeller
=>
boolArg
(
'enable-impeller'
);
bool
get
enableImpeller
=>
boolArg
(
'enable-impeller'
);
...
@@ -202,6 +207,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
...
@@ -202,6 +207,7 @@ abstract class RunCommandBase extends FlutterCommand with DeviceBasedDevelopment
buildInfo
,
buildInfo
,
startPaused:
boolArg
(
'start-paused'
),
startPaused:
boolArg
(
'start-paused'
),
disableServiceAuthCodes:
boolArg
(
'disable-service-auth-codes'
),
disableServiceAuthCodes:
boolArg
(
'disable-service-auth-codes'
),
cacheStartupProfile:
cacheStartupProfile
,
enableDds:
enableDds
,
enableDds:
enableDds
,
dartEntrypointArgs:
stringsArg
(
'dart-entrypoint-args'
),
dartEntrypointArgs:
stringsArg
(
'dart-entrypoint-args'
),
dartFlags:
stringArg
(
'dart-flags'
)
??
''
,
dartFlags:
stringArg
(
'dart-flags'
)
??
''
,
...
...
packages/flutter_tools/lib/src/device.dart
View file @
75baed58
...
@@ -757,6 +757,7 @@ class DebuggingOptions {
...
@@ -757,6 +757,7 @@ class DebuggingOptions {
this
.
startPaused
=
false
,
this
.
startPaused
=
false
,
this
.
disableServiceAuthCodes
=
false
,
this
.
disableServiceAuthCodes
=
false
,
this
.
enableDds
=
true
,
this
.
enableDds
=
true
,
this
.
cacheStartupProfile
=
false
,
this
.
dartEntrypointArgs
=
const
<
String
>[],
this
.
dartEntrypointArgs
=
const
<
String
>[],
this
.
dartFlags
=
''
,
this
.
dartFlags
=
''
,
this
.
enableSoftwareRendering
=
false
,
this
.
enableSoftwareRendering
=
false
,
...
@@ -813,6 +814,7 @@ class DebuggingOptions {
...
@@ -813,6 +814,7 @@ class DebuggingOptions {
dartFlags
=
''
,
dartFlags
=
''
,
disableServiceAuthCodes
=
false
,
disableServiceAuthCodes
=
false
,
enableDds
=
true
,
enableDds
=
true
,
cacheStartupProfile
=
false
,
enableSoftwareRendering
=
false
,
enableSoftwareRendering
=
false
,
skiaDeterministicRendering
=
false
,
skiaDeterministicRendering
=
false
,
traceSkia
=
false
,
traceSkia
=
false
,
...
@@ -841,6 +843,7 @@ class DebuggingOptions {
...
@@ -841,6 +843,7 @@ class DebuggingOptions {
required
this
.
dartEntrypointArgs
,
required
this
.
dartEntrypointArgs
,
required
this
.
disableServiceAuthCodes
,
required
this
.
disableServiceAuthCodes
,
required
this
.
enableDds
,
required
this
.
enableDds
,
required
this
.
cacheStartupProfile
,
required
this
.
enableSoftwareRendering
,
required
this
.
enableSoftwareRendering
,
required
this
.
skiaDeterministicRendering
,
required
this
.
skiaDeterministicRendering
,
required
this
.
traceSkia
,
required
this
.
traceSkia
,
...
@@ -883,6 +886,7 @@ class DebuggingOptions {
...
@@ -883,6 +886,7 @@ class DebuggingOptions {
final
List
<
String
>
dartEntrypointArgs
;
final
List
<
String
>
dartEntrypointArgs
;
final
bool
disableServiceAuthCodes
;
final
bool
disableServiceAuthCodes
;
final
bool
enableDds
;
final
bool
enableDds
;
final
bool
cacheStartupProfile
;
final
bool
enableSoftwareRendering
;
final
bool
enableSoftwareRendering
;
final
bool
skiaDeterministicRendering
;
final
bool
skiaDeterministicRendering
;
final
bool
traceSkia
;
final
bool
traceSkia
;
...
@@ -945,6 +949,7 @@ class DebuggingOptions {
...
@@ -945,6 +949,7 @@ class DebuggingOptions {
'dartEntrypointArgs'
:
dartEntrypointArgs
,
'dartEntrypointArgs'
:
dartEntrypointArgs
,
'disableServiceAuthCodes'
:
disableServiceAuthCodes
,
'disableServiceAuthCodes'
:
disableServiceAuthCodes
,
'enableDds'
:
enableDds
,
'enableDds'
:
enableDds
,
'cacheStartupProfile'
:
cacheStartupProfile
,
'enableSoftwareRendering'
:
enableSoftwareRendering
,
'enableSoftwareRendering'
:
enableSoftwareRendering
,
'skiaDeterministicRendering'
:
skiaDeterministicRendering
,
'skiaDeterministicRendering'
:
skiaDeterministicRendering
,
'traceSkia'
:
traceSkia
,
'traceSkia'
:
traceSkia
,
...
@@ -988,6 +993,7 @@ class DebuggingOptions {
...
@@ -988,6 +993,7 @@ class DebuggingOptions {
dartEntrypointArgs:
((
json
[
'dartEntrypointArgs'
]
as
List
<
dynamic
>?)?.
cast
<
String
>())!,
dartEntrypointArgs:
((
json
[
'dartEntrypointArgs'
]
as
List
<
dynamic
>?)?.
cast
<
String
>())!,
disableServiceAuthCodes:
(
json
[
'disableServiceAuthCodes'
]
as
bool
?)!,
disableServiceAuthCodes:
(
json
[
'disableServiceAuthCodes'
]
as
bool
?)!,
enableDds:
(
json
[
'enableDds'
]
as
bool
?)!,
enableDds:
(
json
[
'enableDds'
]
as
bool
?)!,
cacheStartupProfile:
(
json
[
'cacheStartupProfile'
]
as
bool
?)!,
enableSoftwareRendering:
(
json
[
'enableSoftwareRendering'
]
as
bool
?)!,
enableSoftwareRendering:
(
json
[
'enableSoftwareRendering'
]
as
bool
?)!,
skiaDeterministicRendering:
(
json
[
'skiaDeterministicRendering'
]
as
bool
?)!,
skiaDeterministicRendering:
(
json
[
'skiaDeterministicRendering'
]
as
bool
?)!,
traceSkia:
(
json
[
'traceSkia'
]
as
bool
?)!,
traceSkia:
(
json
[
'traceSkia'
]
as
bool
?)!,
...
...
packages/flutter_tools/lib/src/resident_runner.dart
View file @
75baed58
...
@@ -224,6 +224,7 @@ class FlutterDevice {
...
@@ -224,6 +224,7 @@ class FlutterDevice {
int
hostVmServicePort
,
int
hostVmServicePort
,
int
ddsPort
,
int
ddsPort
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
cacheStartupProfile
=
false
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
@required
bool
allowExistingDdsInstance
,
@required
bool
allowExistingDdsInstance
,
bool
ipv6
=
false
,
bool
ipv6
=
false
,
...
@@ -269,6 +270,7 @@ class FlutterDevice {
...
@@ -269,6 +270,7 @@ class FlutterDevice {
ipv6:
ipv6
,
ipv6:
ipv6
,
disableServiceAuthCodes:
disableServiceAuthCodes
,
disableServiceAuthCodes:
disableServiceAuthCodes
,
logger:
globals
.
logger
,
logger:
globals
.
logger
,
cacheStartupProfile:
cacheStartupProfile
,
);
);
}
on
dds
.
DartDevelopmentServiceException
catch
(
e
,
st
)
{
}
on
dds
.
DartDevelopmentServiceException
catch
(
e
,
st
)
{
if
(!
allowExistingDdsInstance
||
if
(!
allowExistingDdsInstance
||
...
@@ -1298,7 +1300,8 @@ abstract class ResidentRunner extends ResidentHandlers {
...
@@ -1298,7 +1300,8 @@ abstract class ResidentRunner extends ResidentHandlers {
getSkSLMethod:
getSkSLMethod
,
getSkSLMethod:
getSkSLMethod
,
printStructuredErrorLogMethod:
printStructuredErrorLog
,
printStructuredErrorLogMethod:
printStructuredErrorLog
,
ipv6:
ipv6
,
ipv6:
ipv6
,
disableServiceAuthCodes:
debuggingOptions
.
disableServiceAuthCodes
disableServiceAuthCodes:
debuggingOptions
.
disableServiceAuthCodes
,
cacheStartupProfile:
debuggingOptions
.
cacheStartupProfile
,
);
);
await
device
.
vmService
.
getFlutterViews
();
await
device
.
vmService
.
getFlutterViews
();
...
...
packages/flutter_tools/test/commands.shard/hermetic/attach_test.dart
View file @
75baed58
...
@@ -802,6 +802,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
...
@@ -802,6 +802,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
int
hostPort
,
int
hostPort
,
bool
ipv6
,
bool
ipv6
,
bool
disableServiceAuthCodes
,
bool
disableServiceAuthCodes
,
bool
cacheStartupProfile
=
false
,
})
async
{}
})
async
{}
@override
@override
...
...
packages/flutter_tools/test/general.shard/cold_test.dart
View file @
75baed58
...
@@ -216,6 +216,7 @@ class TestFlutterDevice extends FlutterDevice {
...
@@ -216,6 +216,7 @@ class TestFlutterDevice extends FlutterDevice {
GetSkSLMethod
getSkSLMethod
,
GetSkSLMethod
getSkSLMethod
,
PrintStructuredErrorLogMethod
printStructuredErrorLogMethod
,
PrintStructuredErrorLogMethod
printStructuredErrorLogMethod
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
bool
cacheStartupProfile
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
int
hostVmServicePort
,
int
hostVmServicePort
,
int
ddsPort
,
int
ddsPort
,
...
...
packages/flutter_tools/test/general.shard/drive/drive_service_test.dart
View file @
75baed58
...
@@ -590,6 +590,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
...
@@ -590,6 +590,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
int
hostPort
,
int
hostPort
,
bool
ipv6
,
bool
ipv6
,
bool
disableServiceAuthCodes
,
bool
disableServiceAuthCodes
,
bool
cacheStartupProfile
=
false
,
})
async
{
})
async
{
started
=
true
;
started
=
true
;
}
}
...
...
packages/flutter_tools/test/general.shard/fuchsia/fuchsia_device_test.dart
View file @
75baed58
...
@@ -944,6 +944,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
...
@@ -944,6 +944,7 @@ class FakeDartDevelopmentService extends Fake implements DartDevelopmentService
int
hostPort
,
int
hostPort
,
bool
ipv6
,
bool
ipv6
,
bool
disableServiceAuthCodes
,
bool
disableServiceAuthCodes
,
bool
cacheStartupProfile
=
false
,
})
async
{}
})
async
{}
@override
@override
...
...
packages/flutter_tools/test/general.shard/hot_test.dart
View file @
75baed58
...
@@ -709,6 +709,7 @@ class TestFlutterDevice extends FlutterDevice {
...
@@ -709,6 +709,7 @@ class TestFlutterDevice extends FlutterDevice {
PrintStructuredErrorLogMethod
printStructuredErrorLogMethod
,
PrintStructuredErrorLogMethod
printStructuredErrorLogMethod
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
bool
cacheStartupProfile
=
false
,
bool
ipv6
=
false
,
bool
ipv6
=
false
,
int
hostVmServicePort
,
int
hostVmServicePort
,
int
ddsPort
,
int
ddsPort
,
...
...
packages/flutter_tools/test/general.shard/resident_runner_test.dart
View file @
75baed58
...
@@ -1916,11 +1916,12 @@ flutter:
...
@@ -1916,11 +1916,12 @@ flutter:
fakeVmServiceHost
=
FakeVmServiceHost
(
requests:
<
VmServiceExpectation
>[]);
fakeVmServiceHost
=
FakeVmServiceHost
(
requests:
<
VmServiceExpectation
>[]);
final
FakeDevice
device
=
FakeDevice
()
final
FakeDevice
device
=
FakeDevice
()
..
dds
=
DartDevelopmentService
();
..
dds
=
DartDevelopmentService
();
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
})
{
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
,
List
<
String
>
cachedUserTags
})
{
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
enableAuthCodes
,
isTrue
);
expect
(
enableAuthCodes
,
isTrue
);
expect
(
ipv6
,
isFalse
);
expect
(
ipv6
,
isFalse
);
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'127.0.0.1'
,
port:
0
));
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'127.0.0.1'
,
port:
0
));
expect
(
cachedUserTags
,
isEmpty
);
throw
FakeDartDevelopmentServiceException
(
message:
throw
FakeDartDevelopmentServiceException
(
message:
'Existing VM service clients prevent DDS from taking control.'
,
'Existing VM service clients prevent DDS from taking control.'
,
);
);
...
@@ -1963,11 +1964,12 @@ flutter:
...
@@ -1963,11 +1964,12 @@ flutter:
final
FakeDevice
device
=
FakeDevice
()
final
FakeDevice
device
=
FakeDevice
()
..
dds
=
DartDevelopmentService
();
..
dds
=
DartDevelopmentService
();
final
Completer
<
void
>
done
=
Completer
<
void
>();
final
Completer
<
void
>
done
=
Completer
<
void
>();
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
})
async
{
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
,
List
<
String
>
cachedUserTags
})
async
{
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
enableAuthCodes
,
isFalse
);
expect
(
enableAuthCodes
,
isFalse
);
expect
(
ipv6
,
isTrue
);
expect
(
ipv6
,
isTrue
);
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'::1'
,
port:
0
));
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'::1'
,
port:
0
));
expect
(
cachedUserTags
,
isEmpty
);
done
.
complete
();
done
.
complete
();
return
null
;
return
null
;
};
};
...
@@ -1994,11 +1996,12 @@ flutter:
...
@@ -1994,11 +1996,12 @@ flutter:
// See https://github.com/flutter/flutter/issues/72385 for context.
// See https://github.com/flutter/flutter/issues/72385 for context.
final
FakeDevice
device
=
FakeDevice
()
final
FakeDevice
device
=
FakeDevice
()
..
dds
=
DartDevelopmentService
();
..
dds
=
DartDevelopmentService
();
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
})
{
ddsLauncherCallback
=
(
Uri
uri
,
{
bool
enableAuthCodes
,
bool
ipv6
,
Uri
serviceUri
,
List
<
String
>
cachedUserTags
})
{
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
uri
,
Uri
(
scheme:
'foo'
,
host:
'bar'
));
expect
(
enableAuthCodes
,
isTrue
);
expect
(
enableAuthCodes
,
isTrue
);
expect
(
ipv6
,
isFalse
);
expect
(
ipv6
,
isFalse
);
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'127.0.0.1'
,
port:
0
));
expect
(
serviceUri
,
Uri
(
scheme:
'http'
,
host:
'127.0.0.1'
,
port:
0
));
expect
(
cachedUserTags
,
isEmpty
);
throw
FakeDartDevelopmentServiceException
(
message:
'No URI'
);
throw
FakeDartDevelopmentServiceException
(
message:
'No URI'
);
};
};
final
TestFlutterDevice
flutterDevice
=
TestFlutterDevice
(
final
TestFlutterDevice
flutterDevice
=
TestFlutterDevice
(
...
@@ -2226,6 +2229,7 @@ class FakeFlutterDevice extends Fake implements FlutterDevice {
...
@@ -2226,6 +2229,7 @@ class FakeFlutterDevice extends Fake implements FlutterDevice {
int
ddsPort
,
int
ddsPort
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
bool
cacheStartupProfile
=
false
,
@required
bool
allowExistingDdsInstance
,
@required
bool
allowExistingDdsInstance
,
bool
ipv6
=
false
,
bool
ipv6
=
false
,
})
async
{
}
})
async
{
}
...
@@ -2268,6 +2272,7 @@ class FakeDelegateFlutterDevice extends FlutterDevice {
...
@@ -2268,6 +2272,7 @@ class FakeDelegateFlutterDevice extends FlutterDevice {
ReloadSources
reloadSources
,
ReloadSources
reloadSources
,
Restart
restart
,
Restart
restart
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
bool
cacheStartupProfile
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
ipv6
=
false
,
bool
ipv6
=
false
,
CompileExpression
compileExpression
,
CompileExpression
compileExpression
,
...
...
packages/flutter_tools/test/general.shard/resident_web_runner_test.dart
View file @
75baed58
...
@@ -1348,6 +1348,7 @@ class FakeFlutterDevice extends Fake implements FlutterDevice {
...
@@ -1348,6 +1348,7 @@ class FakeFlutterDevice extends Fake implements FlutterDevice {
int
ddsPort
,
int
ddsPort
,
bool
disableServiceAuthCodes
=
false
,
bool
disableServiceAuthCodes
=
false
,
bool
enableDds
=
true
,
bool
enableDds
=
true
,
bool
cacheStartupProfile
=
false
,
@required
bool
allowExistingDdsInstance
,
@required
bool
allowExistingDdsInstance
,
bool
ipv6
=
false
,
bool
ipv6
=
false
,
})
async
{
}
})
async
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment