From adfb7d8c736263b0d00716a5c02327467e167035 Mon Sep 17 00:00:00 2001 From: David Li Date: Wed, 17 Apr 2024 01:27:02 +0800 Subject: [PATCH] add kDumpFromAudioServerArgument Bug: 275135031 Test: mm Change-Id: I147fbe5eecae8cf0f318b1d77bb9a5faffb934be --- audio/aidl/common/include/Utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/aidl/common/include/Utils.h b/audio/aidl/common/include/Utils.h index ef312d501c..f8011e57e5 100644 --- a/audio/aidl/common/include/Utils.h +++ b/audio/aidl/common/include/Utils.h @@ -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 = {