Neil Fuller
030a692189
Make NTP config configurable from cmd
Enable NTP failure / timeout testing by providing an ability for testers
to change the NTP configuration. Also improve debugging information from
dumpsys and logs.
Testing:
adb shell cmd network_time_update_service set_server_config --hostname localhost
adb shell dumpsys network_time_update_service
adb shell cmd network_time_update_service force_refresh
<observe false>
adb shell dumpsys network_time_update_service
adb shell cmd network_time_update_service set_server_config --hostname localhost --timeout_millis 1000
adb shell dumpsys network_time_update_service
adb shell cmd network_time_update_service force_refresh
<observe false, but faster>
adb shell cmd network_time_update_service set_server_config --hostname localhost --timeout_millis 10000
adb shell dumpsys network_time_update_service
adb shell cmd network_time_update_service force_refresh
<observe false, but slower>
adb shell cmd network_time_update_service set_server_config
adb shell cmd network_time_update_service force_refresh
<observe true>
Bug: 213393821
Test: See above
Change-Id: Ic66c7fabe0b42a3d5c86f8b85f17096bf64a8209
2022-03-03 15:40:33 +00:00
..
2021-11-02 21:07:53 -07:00
2021-09-17 12:31:50 +00:00
2022-02-28 05:32:23 +00:00
2021-11-15 22:46:18 +00:00
2021-10-19 14:41:30 +00:00
2022-02-24 16:21:58 +00:00
2021-08-03 14:17:10 -07:00
2022-02-15 09:34:19 +00:00
2021-08-26 15:36:40 +00:00
2022-02-10 19:37:14 +00:00
2022-02-15 13:54:44 +08:00
2022-02-25 18:14:41 +00:00
2021-11-03 03:41:45 +00:00
2022-01-06 18:59:37 +00:00
2022-02-02 22:11:44 +00:00
2022-02-18 16:33:32 +00:00
2021-09-15 16:28:44 +00:00
2022-02-25 19:32:04 +00:00
2022-01-20 17:57:02 -08:00
2021-10-13 13:57:42 +01:00
2022-02-10 18:01:38 +00:00
2022-03-03 15:40:33 +00:00
2022-02-22 06:34:31 +00:00
2021-09-09 00:39:23 +00:00
2022-02-22 12:20:54 +00:00
2021-09-23 20:45:27 +08:00