diff options
| author | 2024-01-31 18:35:50 -0800 | |
|---|---|---|
| committer | 2024-02-12 11:22:17 -0800 | |
| commit | 2b259700c0bc69681ef56e90a436cda921047a1c (patch) | |
| tree | 6b7a29294f3cbcff87f6bc8426149bb46e0d5372 /libs/androidfw/AttributeResolution.cpp | |
| parent | cd452abe41ba3f29c24834ed1498fbc50a64ee6e (diff) | |
VolRef: add initial UT to cover volume APIs
Trying to improve the code coverage by covering all the test related
APIs in AudioService. Currently only trying to obtain a full method
coverage. More tests to come that will cover more branches and more
volume requirements.
Copied test methods from AudioDeviceManagerTest and
DeviceVolumeBehaviorTest into VolumeHelperTest in order to have a
central class that manages all the volume related API tests.
Test: build with EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false, atest VolumeHelperTest --experimental-coverage
Bug: 323273677
Change-Id: I54b243979b71c03f145808688bb36c702da621e4
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions