Lorenzo Colitti
945b512d4d
Minor fixes to NetworkCapabilities#toString.
...
1. The current code only prints the array of administrator UIDs
if it's empty. This is clearly an oversight. Print it only if
it's non-empty.
2. Only print requestor UID and package name if they are set.
This makes output shorter in the common case that they are
unset.
3. Reorder the output at the end: group all UIDs together, and
place SSID and private DNS broken bit after that.
4. Make the private DNS broken indication a single word instead
of a sentence. This saves space and makes it easier to write
regexps.
New format:
... SignalStrength: -72 OwnerUid: 1000 AdminUids: [1000] SSID: ...
... Uid: 1000 RequestorUid: 1000 RequestorPkg: android ...
Test: manual
Change-Id: I2f5ccc1d9e4af6ddacc4d193185a17723822972b
2020-11-18 17:10:11 +09:00
..
2020-01-08 13:53:14 -08:00
2020-10-19 16:41:01 +01:00
2020-03-26 14:10:06 +00:00
2020-11-04 09:45:53 +00:00
2020-03-17 14:57:59 +00:00
2020-11-04 09:45:53 +00:00
2020-10-19 16:41:01 +01:00
2020-11-16 13:29:34 -08:00
2020-10-19 16:41:01 +01:00
2020-01-22 22:27:44 +09:00
2020-10-19 16:41:01 +01:00
2020-01-20 18:02:09 -08:00
2020-06-12 00:35:39 +00:00
2020-11-09 14:41:20 +00:00
2020-01-09 21:33:22 +08:00
2020-11-04 09:45:53 +00:00
2020-06-24 11:32:26 +00:00
2020-11-04 09:45:53 +00:00
2020-01-13 14:28:02 +08:00
2020-03-17 17:10:38 +00:00
2020-11-04 09:45:53 +00:00
2020-03-19 12:30:39 +00:00
2019-05-10 00:58:18 +08:00
2020-05-28 19:07:29 -07:00
2020-03-19 02:15:02 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-01-08 14:04:40 +00:00
2020-03-25 13:36:38 +08:00
2020-11-04 09:45:53 +00:00
2020-10-19 16:41:01 +01:00
2020-10-20 15:12:30 -07:00
2019-06-20 14:01:31 -07:00
2020-02-13 18:37:06 +00:00
2019-06-20 14:01:31 -07:00
2020-03-17 00:22:09 -07:00
2020-07-02 17:59:28 +02:00
2020-10-05 14:38:19 +09:00
2020-10-19 16:41:01 +01:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-01-08 14:04:40 +00:00
2020-11-04 09:45:53 +00:00
2019-12-03 21:44:34 +09:00
2020-11-04 09:45:53 +00:00
2020-04-30 15:06:35 +00:00
2020-11-04 09:45:53 +00:00
2020-10-05 14:38:19 +09:00
2020-07-23 18:17:15 +00:00
2020-11-04 09:45:53 +00:00
2020-10-29 12:30:44 +00:00
2020-01-21 12:57:27 +00:00
2020-06-05 01:46:06 +00:00
2019-04-01 11:33:10 +09:00
2020-11-18 17:10:11 +09:00
2020-03-19 10:10:07 +08:00
2020-03-17 22:29:37 +09:00
2020-01-23 06:26:52 -08:00
2020-01-08 14:04:40 +00:00
2020-11-04 09:45:53 +00:00
2020-10-14 04:56:20 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-05-05 13:38:41 +00:00
2020-09-10 09:58:23 -07:00
2020-10-19 16:41:01 +01:00
2020-07-28 15:36:30 +08:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-11-04 09:45:53 +00:00
2020-11-06 00:08:13 -08:00
2020-11-09 21:06:09 -08:00
2020-03-26 14:10:06 +00:00
2019-04-12 06:23:01 +00:00
2020-03-30 22:59:17 -07:00
2020-11-04 09:45:53 +00:00
2020-07-06 11:59:27 +00:00
2020-11-04 09:45:53 +00:00
2019-08-30 00:16:24 +00:00
2019-08-30 00:16:24 +00:00
2020-07-29 04:29:11 +00:00
2020-08-20 11:00:08 +08:00
2020-11-04 09:45:53 +00:00
2020-01-08 14:04:40 +00:00
2020-11-04 09:45:53 +00:00
2020-04-01 20:38:30 +08:00
2020-04-27 14:25:39 -07:00
2020-10-29 02:11:55 +00:00
2019-04-11 20:04:06 +00:00
2020-03-19 12:30:39 +00:00
2020-11-12 18:30:12 -08:00
2019-04-24 11:56:46 +01:00
2020-01-22 22:27:44 +09:00
2020-04-21 22:59:26 +00:00
2020-04-10 11:34:57 -06:00
2020-04-10 00:30:38 +00:00
2020-07-28 15:36:30 +08:00
2020-11-04 09:45:53 +00:00
2019-08-30 00:16:24 +00:00