summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2021-04-16 19:18:27 +0100
committerNeil Fuller <nfuller@google.com>2021-04-19 15:00:34 +0100
commit3c3c68eff8ee55b190dd6d172a033b30f2e4bb6b (patch)
tree5a02652dbebe48ecd10915212a2f14172ad703a9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd13937900cce9f9a5f90981d1ca81814346736e8 (diff)
Add server flag for the lower bound
Add a server flag for the lower bound time used by the time_detector to validate times in suggestions. This can be used during tests to confirm that suggestions are properly compared against the lower bound before being used, and to bypass the lower bound check when running tests with historical data. Note: Currently, the lower bound is used to validate / filter suggestions when they are received. Invalid suggestions are discarded, leaving old suggestions. Changing the lower bound will not cause the time_detector to discard / ignore already accepted suggestions if they now fall below the lower bound. Testing: adb shell dumpsys time_detector # Look at reported lower bound adb shell device_config put system_time \ time_detector_lower_bound_millis_override 0 adb shell dumpsys time_detector # Look at reported lower bound adb shell device_config delete system_time \ time_detector_lower_bound_millis_override adb shell dumpsys time_detector # Look at reported lower bound Bug: 172229867 Test: See above Change-Id: If1d5fd1aa09732c05808cc13dd257f2daeea6220
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions