add kDumpFromAudioServerArgument

Bug: 275135031
Test: mm
Change-Id: I147fbe5eecae8cf0f318b1d77bb9a5faffb934be
This commit is contained in:
David Li 2024-04-17 01:27:02 +08:00
parent ad6464d43b
commit adfb7d8c73

View file

@ -47,6 +47,9 @@ inline std::string errorToString(const ScopedAStatus& s) {
namespace aidl::android::hardware::audio::common {
// TODO: b/275135031 - move this string to AIDL interfaces.
static constexpr char kDumpFromAudioServerArgument[] = "dump_from_audioserver";
// Some values are reserved for use by the system code only.
// HALs must not accept or emit values outside from the provided list.
constexpr std::array<::aidl::android::media::audio::common::AudioMode, 5> kValidAudioModes = {