Merge "Wakeup packet events: addressing a few comments"
am: efd7e6d7a9
Change-Id: I67b2e54d45a39005e2091a46e8b90d8cc75fe079
This commit is contained in:
commit
ca88876b58
3 changed files with 6 additions and 6 deletions
|
|
@ -512,7 +512,7 @@ public class IpConnectivityEventBuilderTest {
|
|||
stats.nonApplicationWakeups = 1;
|
||||
stats.rootWakeups = 2;
|
||||
stats.systemWakeups = 3;
|
||||
stats.unroutedWakeups = 3;
|
||||
stats.noUidWakeups = 3;
|
||||
|
||||
IpConnectivityEvent got = IpConnectivityEventBuilder.toProto(stats);
|
||||
String want = String.join("\n",
|
||||
|
|
@ -526,11 +526,11 @@ public class IpConnectivityEventBuilderTest {
|
|||
" wakeup_stats <",
|
||||
" application_wakeups: 5",
|
||||
" duration_sec: 0",
|
||||
" no_uid_wakeups: 3",
|
||||
" non_application_wakeups: 1",
|
||||
" root_wakeups: 2",
|
||||
" system_wakeups: 3",
|
||||
" total_wakeups: 14",
|
||||
" unrouted_wakeups: 3",
|
||||
" >",
|
||||
">",
|
||||
"version: 2\n");
|
||||
|
|
|
|||
|
|
@ -423,11 +423,11 @@ public class IpConnectivityMetricsTest {
|
|||
" wakeup_stats <",
|
||||
" application_wakeups: 2",
|
||||
" duration_sec: 0",
|
||||
" no_uid_wakeups: 0",
|
||||
" non_application_wakeups: 0",
|
||||
" root_wakeups: 0",
|
||||
" system_wakeups: 1",
|
||||
" total_wakeups: 3",
|
||||
" unrouted_wakeups: 0",
|
||||
" >",
|
||||
">",
|
||||
"events <",
|
||||
|
|
@ -439,11 +439,11 @@ public class IpConnectivityMetricsTest {
|
|||
" wakeup_stats <",
|
||||
" application_wakeups: 1",
|
||||
" duration_sec: 0",
|
||||
" no_uid_wakeups: 1",
|
||||
" non_application_wakeups: 0",
|
||||
" root_wakeups: 0",
|
||||
" system_wakeups: 2",
|
||||
" total_wakeups: 4",
|
||||
" unrouted_wakeups: 1",
|
||||
" >",
|
||||
">",
|
||||
"version: 2\n");
|
||||
|
|
|
|||
|
|
@ -163,11 +163,11 @@ public class NetdEventListenerServiceTest {
|
|||
" wakeup_stats <",
|
||||
" application_wakeups: 3",
|
||||
" duration_sec: 0",
|
||||
" no_uid_wakeups: 0",
|
||||
" non_application_wakeups: 0",
|
||||
" root_wakeups: 0",
|
||||
" system_wakeups: 2",
|
||||
" total_wakeups: 5",
|
||||
" unrouted_wakeups: 0",
|
||||
" >",
|
||||
">",
|
||||
"events <",
|
||||
|
|
@ -179,11 +179,11 @@ public class NetdEventListenerServiceTest {
|
|||
" wakeup_stats <",
|
||||
" application_wakeups: 2",
|
||||
" duration_sec: 0",
|
||||
" no_uid_wakeups: 2",
|
||||
" non_application_wakeups: 1",
|
||||
" root_wakeups: 2",
|
||||
" system_wakeups: 3",
|
||||
" total_wakeups: 10",
|
||||
" unrouted_wakeups: 2",
|
||||
" >",
|
||||
">",
|
||||
"version: 2\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue