summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yan Han <yanha@google.com> 2022-02-11 19:07:33 +0100
committer Yan Han <yanha@google.com> 2022-03-15 14:03:01 +0100
commitbd7778c7717cbee302d811b641633e8876645f90 (patch)
treed85e6dd01c34bb28fbbc4d0ace4fa98b36f8ca49 /libs/androidfw/StringPool.cpp
parentf05f4ec6b8518eabe484e101e6109697dd4dc5d0 (diff)
AudioService: Add settings adapter for tests
AudioService currently calls many static methods to read/write settings, which fail if triggered during unit tests. This CL introduces an adapter for these methods, allowing more parts of AudioService to be tested. This CL also grants the MODIFY_AUDIO_ROUTING permission to the tests, as AudioServiceTest is currently failing without it. It is also required for tests added in follow-up CLs. Bug: 201781907 Test: make; atest AudioServiceTest Change-Id: Ie438495309d14821824a88e6b68f7e6d9692b06b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions