summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2023-01-31 17:55:10 +0000
committer Neil Fuller <nfuller@google.com> 2023-02-20 10:00:57 +0000
commita6208228515e98ea0fb0642628e2a005f3bc9efb (patch)
treed82c136c0349607611ae2f046ff21b0df232019f /libs/androidfw/ApkParsing.cpp
parentfedd356d5c0a138d64d229e8f7bfe4cc7a729851 (diff)
Make CTS tests ambivalent to server impl
Implement shell command test support that will work regardless of which of the two location NetworkTimeHelper implementations is in use at the time. This is to prevent CTS breaking if OEMs or form factors switch the implementation to the new one during the next Android release cycle. New shell commands have been added temporarily to support the new SystemClockNetworkTimeTest and do the right thing depending on the implementation in use. This avoids the need for the tests to know which impl is in use. In a future release cycle, when the old impl is deleted these shell commands can be removed and the test changed as the new impl uses the time_detector and suitable commands (mostly) exist for other reasons. Bug: 222295093 Test: atest services/tests/servicestests/src/com/android/server/timedetector/TimeDetectorServiceTest.java Test: See associated CTS change Change-Id: Icca02ec263bb20bc02a0dd6dd6cc13342d9e4e7b
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions