CSD: Implement logic for initial safe hearing warning

This logic is defined in IEC62368-1 3rd edition chapter 10.6.5. The main
idea is to show a warning before the user is exposed to RS2. This
warning may not be shown any more than every 20h. For now using the same
index based volume logic from the legacy safe hearing implementation.

Test: logs and dumpsys
Bug: 266921392

Change-Id: Iaf78ff785a0826c538b55f2dc45aa0bf91b25e2d
2 files changed