summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2022-03-17 10:02:58 +0000
committer Neil Fuller <nfuller@google.com> 2022-03-17 11:36:19 +0000
commit187c975af9b7b48a2602417ba1942db3219a6302 (patch)
treea587d0f049f6801c1e1b73c5c95e7de3b13c95e8 /libs/androidfw/StringPool.cpp
parent030a692189bce6ccaf1b8e9378b486c784887de4 (diff)
Add the ability to configure NTP port for tests
Add the ability to configure NTP port for tests via the command line and the associated plumbing / knock-ons. In-progress CTS tests will run a fake NTP server on the device itself. Binding to NTP's default port of 123 is restricted. Therefore, we need to be able to override the port for tests. adb shell cmd network_time_update_service set_server_config --port 9999 adb shell dumpsys network_time_update_service <observe port value> adb shell cmd network_time_update_service force_refresh <observe false> adb shell cmd network_time_update_service set_server_config adb shell dumpsys network_time_update_service <observe port value> adb shell cmd network_time_update_service force_refresh <observe true> Bug: 213393821 Test: See above Change-Id: I21e8b735fab268df0d617848b8a562f86560ad16
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions