diff --git a/frameworks/native/audiocapturer/include/audio_capturer_file_source.h b/frameworks/native/audiocapturer/include/audio_capturer_file_source.h index 52461ac845138010a959d32c5c97baf442f094af..f8217f6ecc39f7630258693b23dedbc7c8a4f318 100644 --- a/frameworks/native/audiocapturer/include/audio_capturer_file_source.h +++ b/frameworks/native/audiocapturer/include/audio_capturer_file_source.h @@ -16,12 +16,11 @@ #ifndef AUDIO_CAPTURER_FILE_SOURCE_H #define AUDIO_CAPTURER_FILE_SOURCE_H +#include +#include #include "audio_info.h" #include "i_audio_capturer_source.h" -#include -#include - namespace OHOS { namespace AudioStandard { class AudioCapturerFileSource : public IAudioCapturerSource { diff --git a/frameworks/native/audiocapturer/include/capturer_source_adapter.h b/frameworks/native/audiocapturer/include/capturer_source_adapter.h index 76916b31def1c90060cb6a852742f95aef4430bc..9294a4c766b42cb50c34e72b2468d037143d508b 100644 --- a/frameworks/native/audiocapturer/include/capturer_source_adapter.h +++ b/frameworks/native/audiocapturer/include/capturer_source_adapter.h @@ -16,9 +16,8 @@ #ifndef CAPTURER_SOURCE_ADAPTER_H #define CAPTURER_SOURCE_ADAPTER_H -#include - -#include "i_audio_capturer_source_intf.h" +#include +#include "audio_types.h" #ifdef __cplusplus extern "C" { diff --git a/frameworks/native/audiocapturer/include/i_audio_capturer_source.h b/frameworks/native/audiocapturer/include/i_audio_capturer_source.h index c851eeaebc162e7840de407253073801af116598..51e7418359115e886e6f27ae5db4e4b202ee722a 100644 --- a/frameworks/native/audiocapturer/include/i_audio_capturer_source.h +++ b/frameworks/native/audiocapturer/include/i_audio_capturer_source.h @@ -16,11 +16,9 @@ #ifndef I_AUDIO_CAPTURER_SOURCE_H #define I_AUDIO_CAPTURER_SOURCE_H +#include #include "audio_info.h" -#include "audio_manager.h" - -#include -#include +#include "audio_types.h" namespace OHOS { namespace AudioStandard { diff --git a/frameworks/native/audiocapturer/include/i_audio_capturer_source_intf.h b/frameworks/native/audiocapturer/include/i_audio_capturer_source_intf.h index 969123efd9b665996c04d88907be15f503005793..220cead1131a04e041268c407900b6e3b7b29b0c 100644 --- a/frameworks/native/audiocapturer/include/i_audio_capturer_source_intf.h +++ b/frameworks/native/audiocapturer/include/i_audio_capturer_source_intf.h @@ -16,6 +16,9 @@ #ifndef I_AUDIO_CAPTURER_SINK_INTF_H #define I_AUDIO_CAPTURER_SINK_INTF_H +#include +#include "audio_types.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/frameworks/native/audiocapturer/src/audio_capturer_file_source.cpp b/frameworks/native/audiocapturer/src/audio_capturer_file_source.cpp index e329dba0fcfbed4d0376bbf7a3cf443160fe49d2..44851502ab7148d454eb5403437f03c05442196f 100644 --- a/frameworks/native/audiocapturer/src/audio_capturer_file_source.cpp +++ b/frameworks/native/audiocapturer/src/audio_capturer_file_source.cpp @@ -13,16 +13,16 @@ * limitations under the License. */ -#include "audio_capturer_file_source.h" - -#include -#include -#include #include -#include - +#include "cstdio" +#include "cstdlib" +#include "cerrno" +#include "climits" +#include "__config" #include "audio_errors.h" #include "audio_log.h" +#include "iosfwd" +#include "audio_capturer_file_source.h" using namespace std; diff --git a/frameworks/native/audiocapturer/src/capturer_source_adapter.c b/frameworks/native/audiocapturer/src/capturer_source_adapter.c index 56007e00cb9ca8883a08b946f2123df0576fb98a..59b4a260951d011371acf047b88feb8b41b12e08 100644 --- a/frameworks/native/audiocapturer/src/capturer_source_adapter.c +++ b/frameworks/native/audiocapturer/src/capturer_source_adapter.c @@ -14,13 +14,10 @@ */ #include -#include - -#include "audio_types.h" - -#include "capturer_source_adapter.h" - +#include #include "audio_log.h" +#include "i_audio_capturer_source_intf.h" +#include "capturer_source_adapter.h" #ifdef __cplusplus extern "C" { diff --git a/frameworks/native/audiocapturer/src/i_audio_capturer_source.cpp b/frameworks/native/audiocapturer/src/i_audio_capturer_source.cpp index fd3293262eafaac6a09c97caec4d0416613262b7..77a3e011b9630a1fd1e817ecb0edc586a78ca5e7 100644 --- a/frameworks/native/audiocapturer/src/i_audio_capturer_source.cpp +++ b/frameworks/native/audiocapturer/src/i_audio_capturer_source.cpp @@ -14,15 +14,16 @@ */ #include -#include #include - +#include "__config" +#include "audio_capturer_file_source.h" +#include "audio_capturer_source.h" #include "audio_errors.h" #include "audio_log.h" -#include "audio_capturer_source.h" -#include "audio_capturer_file_source.h" +#include "iosfwd" #include "remote_audio_capturer_source.h" #include "i_audio_capturer_source.h" + using namespace std; namespace OHOS { diff --git a/frameworks/native/audiorenderer/include/audio_renderer_file_sink.h b/frameworks/native/audiorenderer/include/audio_renderer_file_sink.h index 4b25ca22eb06e2f09ae2c3c2ecad8d2533ac6617..0e88b827dc7512140c695e37ac8a1b51570c28ce 100644 --- a/frameworks/native/audiorenderer/include/audio_renderer_file_sink.h +++ b/frameworks/native/audiorenderer/include/audio_renderer_file_sink.h @@ -16,12 +16,9 @@ #ifndef AUDIO_RENDERER_FILE_SINK_H #define AUDIO_RENDERER_FILE_SINK_H -#include "audio_info.h" - #include -#include -#include #include +#include "iosfwd" namespace OHOS { namespace AudioStandard { diff --git a/frameworks/native/audiorenderer/include/audio_renderer_file_sink_intf.h b/frameworks/native/audiorenderer/include/audio_renderer_file_sink_intf.h index 08c5f3e54ca5e5c548d2bbdd5e43f74f4453905c..f488a6d5874ba31a00963e5794b991ce41b6d61e 100644 --- a/frameworks/native/audiorenderer/include/audio_renderer_file_sink_intf.h +++ b/frameworks/native/audiorenderer/include/audio_renderer_file_sink_intf.h @@ -16,6 +16,8 @@ #ifndef AUDIO_RENDERER_FILE_SINK_INTF_H #define AUDIO_RENDERER_FILE_SINK_INTF_H +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/frameworks/native/audiorenderer/include/audio_renderer_sink_intf.h b/frameworks/native/audiorenderer/include/audio_renderer_sink_intf.h index 53534e3931013ec4c442eaf845eabd6433391e4d..ad67e66f98d502116bc787bef84cf731abbd32e9 100644 --- a/frameworks/native/audiorenderer/include/audio_renderer_sink_intf.h +++ b/frameworks/native/audiorenderer/include/audio_renderer_sink_intf.h @@ -16,6 +16,8 @@ #ifndef AUDIO_RENDERER_SINK_INTF_H #define AUDIO_RENDERER_SINK_INTF_H +#include "audio_types.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/frameworks/native/audiorenderer/include/bluetooth_renderer_sink.h b/frameworks/native/audiorenderer/include/bluetooth_renderer_sink.h index 00ecf0323c2aca0e4a3f8141b579a5b8a517e094..cf1a7dde6a840e385eec9fef5090663834e2f780 100644 --- a/frameworks/native/audiorenderer/include/bluetooth_renderer_sink.h +++ b/frameworks/native/audiorenderer/include/bluetooth_renderer_sink.h @@ -16,11 +16,11 @@ #ifndef BLUETOOTH_RENDERER_SINK_H #define BLUETOOTH_RENDERER_SINK_H -#include "audio_info.h" +#include +#include "audio_adapter.h" #include "audio_proxy_manager.h" - -#include -#include +#include "audio_render.h" +#include "audio_types.h" namespace OHOS { namespace AudioStandard { diff --git a/frameworks/native/audiorenderer/include/bluetooth_renderer_sink_intf.h b/frameworks/native/audiorenderer/include/bluetooth_renderer_sink_intf.h index 0a9a7bf9e13c07cee094a12fb8cd0d9960d425f0..31678c657e5502fa876f4d3742faf37aea7777af 100644 --- a/frameworks/native/audiorenderer/include/bluetooth_renderer_sink_intf.h +++ b/frameworks/native/audiorenderer/include/bluetooth_renderer_sink_intf.h @@ -16,6 +16,8 @@ #ifndef BLUETOOTH_RENDERER_SINK_INTF_H #define BLUETOOTH_RENDERER_SINK_INTF_H +#include "audio_types.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/frameworks/native/audiorenderer/include/remote_audio_renderer_sink_intf.h b/frameworks/native/audiorenderer/include/remote_audio_renderer_sink_intf.h index befaaadd4cfdcc021414f880640ba3a3250cfcd8..94da9787c8c89c94f4b6344e3bc56da58e899bd6 100644 --- a/frameworks/native/audiorenderer/include/remote_audio_renderer_sink_intf.h +++ b/frameworks/native/audiorenderer/include/remote_audio_renderer_sink_intf.h @@ -16,6 +16,8 @@ #ifndef REMOTE_AUDIO_RENDERER_SINK_INTF_H #define REMOTE_AUDIO_RENDERER_SINK_INTF_H +#include "audio_types.h" + #ifdef __cplusplus extern "C" { #endif diff --git a/frameworks/native/audiorenderer/include/renderer_sink_adapter.h b/frameworks/native/audiorenderer/include/renderer_sink_adapter.h index 36b8b66e0fca995541c59e93c3cb91ccd1c6356f..57d731673aa2607c8026b62043a6f7537608afcc 100644 --- a/frameworks/native/audiorenderer/include/renderer_sink_adapter.h +++ b/frameworks/native/audiorenderer/include/renderer_sink_adapter.h @@ -16,12 +16,8 @@ #ifndef RENDERER_SINK_ADAPTER_H #define RENDERER_SINK_ADAPTER_H -#include - -#include -#include -#include -#include +#include +#include "audio_types.h" #ifdef __cplusplus extern "C" { diff --git a/frameworks/native/audiorenderer/src/audio_renderer_file_sink.cpp b/frameworks/native/audiorenderer/src/audio_renderer_file_sink.cpp index 6c9e0d560ed9e432a539874d29d8fb1e7161472a..bb03334d24aee57fbb3cf687bee0cbea5783037b 100644 --- a/frameworks/native/audiorenderer/src/audio_renderer_file_sink.cpp +++ b/frameworks/native/audiorenderer/src/audio_renderer_file_sink.cpp @@ -13,17 +13,16 @@ * limitations under the License. */ -#include "audio_renderer_file_sink.h" - -#include -#include -#include -#include #include -#include - +#include "cerrno" +#include "climits" +#include "cstdio" +#include "cstdlib" +#include "__config" #include "audio_errors.h" +#include "audio_info.h" #include "audio_log.h" +#include "audio_renderer_file_sink.h" using namespace std; diff --git a/frameworks/native/audiorenderer/src/bluetooth_renderer_sink.cpp b/frameworks/native/audiorenderer/src/bluetooth_renderer_sink.cpp index 10327e95e0da15afa80ebaeb7dce8ba9356d64d7..b3835ac45e1bb7800bbbb516379dbea0f3b32443 100644 --- a/frameworks/native/audiorenderer/src/bluetooth_renderer_sink.cpp +++ b/frameworks/native/audiorenderer/src/bluetooth_renderer_sink.cpp @@ -14,14 +14,18 @@ */ #include "bluetooth_renderer_sink.h" - -#include #include -#include #include - +#include +#include "cstring" +#include "iosfwd" +#include "__config" +#include "audio_control.h" #include "audio_errors.h" +#include "audio_info.h" #include "audio_log.h" +#include "audio_volume.h" + using namespace std; using namespace OHOS::HDI::Audio_Bluetooth; diff --git a/frameworks/native/audiorenderer/src/renderer_sink_adapter.c b/frameworks/native/audiorenderer/src/renderer_sink_adapter.c index a4ac675a3c6f0d8e3fa0603210e349ac43b17311..d278916e957d1d224c654a1b7e81497f053031d2 100644 --- a/frameworks/native/audiorenderer/src/renderer_sink_adapter.c +++ b/frameworks/native/audiorenderer/src/renderer_sink_adapter.c @@ -14,13 +14,14 @@ */ #include -#include - -#include "audio_types.h" - -#include "renderer_sink_adapter.h" - +#include +#include "string.h" #include "audio_log.h" +#include "audio_renderer_file_sink_intf.h" +#include "audio_renderer_sink_intf.h" +#include "bluetooth_renderer_sink_intf.h" +#include "remote_audio_renderer_sink_intf.h" +#include "renderer_sink_adapter.h" #ifdef __cplusplus extern "C" { diff --git a/frameworks/native/pulseaudio/src/modules/hdi/hdi_sink.c b/frameworks/native/pulseaudio/src/modules/hdi/hdi_sink.c index df794c96e10335273934b108a92efbb22e989223..8e5eae6fb37cac3c20fb9bd173d843ebab640e1c 100644 --- a/frameworks/native/pulseaudio/src/modules/hdi/hdi_sink.c +++ b/frameworks/native/pulseaudio/src/modules/hdi/hdi_sink.c @@ -13,30 +13,38 @@ * limitations under the License. */ -#ifdef HAVE_CONFIG_H #include -#endif - -#include -#include -#include - -#include -#include - #include #include -#include #include - -#include #include -#include +#include +#include #include +#include #include #include - +#include +#include +#include +#include #include "audio_log.h" +#include "audio_types.h" +#include "inttypes.h" +#include "pulse/channelmap.h" +#include "pulse/def.h" +#include "pulse/gccmacro.h" +#include "pulse/proplist.h" +#include "pulse/sample.h" +#include "pulsecore/asyncmsgq.h" +#include "pulsecore/atomic.h" +#include "pulsecore/core.h" +#include "pulsecore/memblock.h" +#include "pulsecore/memchunk.h" +#include "pulsecore/msgobject.h" +#include "pulsecore/typedefs.h" +#include "stdbool.h" +#include "string.h" #define DEFAULT_SINK_NAME "hdi_output" #define DEFAULT_AUDIO_DEVICE_NAME "Speaker" diff --git a/frameworks/native/pulseaudio/src/modules/hdi/hdi_source.c b/frameworks/native/pulseaudio/src/modules/hdi/hdi_source.c index d2cf509b6242563617b3f7974e44f75294c8fe03..de1f77b2e22ef0452894f581ded551c46731fee8 100644 --- a/frameworks/native/pulseaudio/src/modules/hdi/hdi_source.c +++ b/frameworks/native/pulseaudio/src/modules/hdi/hdi_source.c @@ -14,32 +14,37 @@ */ #include - #ifdef HAVE_CONFIG_H #include #endif - #include #include #include #include - #include -#include -#include #include -#include #include #include #include #include -#include #include - -#include - -#include "capturer_source_adapter.h" +#include +#include +#include #include "audio_log.h" +#include "audio_types.h" +#include "capturer_source_adapter.h" +#include "inttypes.h" +#include "pulse/channelmap.h" +#include "pulse/def.h" +#include "pulse/proplist.h" +#include "pulse/sample.h" +#include "pulsecore/asyncmsgq.h" +#include "pulsecore/memblock.h" +#include "pulsecore/msgobject.h" +#include "pulsecore/source.h" +#include "pulsecore/typedefs.h" +#include "stdbool.h" #define DEFAULT_SOURCE_NAME "hdi_input" #define DEFAULT_DEVICE_CLASS "primary" diff --git a/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_sink.c b/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_sink.c index bd056227ae34b132391504476c2040ad2a3ccffb..5fe82027cf78c162f87367f271c1d225ac8ce535 100644 --- a/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_sink.c +++ b/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_sink.c @@ -13,13 +13,15 @@ * limitations under the License. */ -#ifdef HAVE_CONFIG_H #include -#endif - +#include #include #include #include +#include +#include "pulsecore/log.h" +#include "pulsecore/typedefs.h" +#include "stdbool.h" pa_sink *PaHdiSinkNew(pa_module *m, pa_modargs *ma, const char *driver); void PaHdiSinkFree(pa_sink *s); diff --git a/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_source.c b/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_source.c index 011981239932a97a7adf67d4cd1daf584812c8f0..24110a2c5ca1b52dc1f829e3895a7760d15e3103 100644 --- a/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_source.c +++ b/frameworks/native/pulseaudio/src/modules/hdi/module_hdi_source.c @@ -13,14 +13,14 @@ * limitations under the License. */ -#ifdef HAVE_CONFIG_H #include -#endif - #include -#include #include #include +#include +#include "pulsecore/source.h" +#include "pulsecore/typedefs.h" +#include "stdbool.h" pa_source *pa_hdi_source_new(pa_module *m, pa_modargs *ma, const char *driver); diff --git a/frameworks/native/pulseaudio/src/pulsecore/ltdl_stub.c b/frameworks/native/pulseaudio/src/pulsecore/ltdl_stub.c index 0f798e77626a0bd080ee6b41cbb19fc6bd8bdd03..3a8a3b255e51d3fbd5785dd0da4d6dcd78e2226b 100644 --- a/frameworks/native/pulseaudio/src/pulsecore/ltdl_stub.c +++ b/frameworks/native/pulseaudio/src/pulsecore/ltdl_stub.c @@ -15,9 +15,8 @@ #include "config.h" #include -#include - #include "ltdl.h" +#include "pulsecore/macro.h" #ifdef __aarch64__ #define SYSTEM_LIB_PATH "/system/lib64/" diff --git a/services/include/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.h b/services/include/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.h index ac8f141f46c19e13fa2590d77d62d5528d6ba50d..c4a5eb36210054d262ba56c1729bcd95bec2403b 100644 --- a/services/include/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.h +++ b/services/include/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.h @@ -16,10 +16,16 @@ #ifndef OHOS_BLUETOOTH_A2DP_AUDIO_SRC_OBSERVER_STUB_H #define OHOS_BLUETOOTH_A2DP_AUDIO_SRC_OBSERVER_STUB_H +#include #include - -#include "iremote_stub.h" +#include "__functional_base" +#include "errors.h" #include "i_bluetooth_a2dp_src_observer.h" +#include "iremote_stub.h" +#include "message_option.h" +#include "message_parcel.h" +#include "nocopyable.h" +#include "refbase.h" namespace OHOS { namespace Bluetooth { diff --git a/services/include/audio_bluetooth/client/bluetooth_a2dp_src_observer.h b/services/include/audio_bluetooth/client/bluetooth_a2dp_src_observer.h index 6a38a9ac319792bccfe290ca4a2e302b265b833f..28aae5b9a56b6b1cf7bb239986003cb524181c4d 100644 --- a/services/include/audio_bluetooth/client/bluetooth_a2dp_src_observer.h +++ b/services/include/audio_bluetooth/client/bluetooth_a2dp_src_observer.h @@ -16,8 +16,11 @@ #ifndef BLUETOOTH_A2DP_SRC_OBSERVER_H #define BLUETOOTH_A2DP_SRC_OBSERVER_H -#include "bluetooth_a2dp_audio_src_observer_stub.h" #include "audio_bluetooth_manager.h" +#include "bluetooth_a2dp_a2dpCodecInfo.h" +#include "bluetooth_a2dp_audio_src_observer_stub.h" +#include "bluetooth_types.h" +#include "raw_address.h" class BluetoothA2dpSrcObserver : public OHOS::Bluetooth::BluetoothA2dpAudioSrcObserverStub { public: diff --git a/services/include/audio_policy/client/audio_capturer_state_change_listener_stub.h b/services/include/audio_policy/client/audio_capturer_state_change_listener_stub.h index 9366be16fbe39ab80390914cd1f6f88e58d20e3f..84b46eb3ed4406cc04571077582d5704ca653215 100644 --- a/services/include/audio_policy/client/audio_capturer_state_change_listener_stub.h +++ b/services/include/audio_policy/client/audio_capturer_state_change_listener_stub.h @@ -16,8 +16,16 @@ #ifndef AUDIO_CAPTURER_STATE_CHANGE_LISTENER_STUB_H #define AUDIO_CAPTURER_STATE_CHANGE_LISTENER_STUB_H +#include +#include "audio_info.h" #include "audio_stream_manager.h" #include "i_standard_capturer_state_change_listener.h" +#include "iremote_stub.h" +#include "memory" +#include "message_option.h" +#include "message_parcel.h" +#include "refbase.h" +#include "vector" namespace OHOS { namespace AudioStandard { diff --git a/services/include/audio_policy/client/audio_client_tracker_callback_stub.h b/services/include/audio_policy/client/audio_client_tracker_callback_stub.h index b9fef89615a73886204c9a3ed2bcac988eb3cbaf..c816f4866e93ef967c2106f4bf89887b888ca7df 100644 --- a/services/include/audio_policy/client/audio_client_tracker_callback_stub.h +++ b/services/include/audio_policy/client/audio_client_tracker_callback_stub.h @@ -16,8 +16,15 @@ #ifndef ST_AUDIO_CLIENT_TRACKER_CALLBACK_STUB_H #define ST_AUDIO_CLIENT_TRACKER_CALLBACK_STUB_H +#include +#include "audio_info.h" #include "audio_stream_manager.h" #include "i_standard_client_tracker.h" +#include "iremote_stub.h" +#include "memory" +#include "message_option.h" +#include "message_parcel.h" +#include "refbase.h" namespace OHOS { namespace AudioStandard { diff --git a/services/include/audio_policy/client/audio_ringermode_update_listener_stub.h b/services/include/audio_policy/client/audio_ringermode_update_listener_stub.h index 7f9d6b2f1fa3877efa8ef72ea548083685537b30..213af23a5cc9fecbbdd52bf87557479934c6f40c 100644 --- a/services/include/audio_policy/client/audio_ringermode_update_listener_stub.h +++ b/services/include/audio_policy/client/audio_ringermode_update_listener_stub.h @@ -16,8 +16,15 @@ #ifndef AUDIO_RINGERMODE_UPDATE_LISTENER_STUB_H #define AUDIO_RINGERMODE_UPDATE_LISTENER_STUB_H +#include +#include "audio_info.h" #include "audio_system_manager.h" #include "i_standard_ringermode_update_listener.h" +#include "iremote_stub.h" +#include "memory" +#include "message_option.h" +#include "message_parcel.h" +#include "refbase.h" namespace OHOS { namespace AudioStandard { diff --git a/services/include/audio_policy/client/audio_volume_key_event_callback_stub.h b/services/include/audio_policy/client/audio_volume_key_event_callback_stub.h index 4704391f28b85d2a447093effcb20928654608b2..ad27184bb07bcbbc078f417e2fd72fe096463b02 100644 --- a/services/include/audio_policy/client/audio_volume_key_event_callback_stub.h +++ b/services/include/audio_policy/client/audio_volume_key_event_callback_stub.h @@ -16,8 +16,15 @@ #ifndef ST_AUDIO_VOLUME_KEY_EVENT_CALLBACK_STUB_H #define ST_AUDIO_VOLUME_KEY_EVENT_CALLBACK_STUB_H +#include +#include "audio_info.h" #include "audio_system_manager.h" #include "i_audio_volume_key_event_callback.h" +#include "iremote_stub.h" +#include "memory" +#include "message_option.h" +#include "message_parcel.h" +#include "refbase.h" namespace OHOS { namespace AudioStandard { diff --git a/services/src/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.cpp b/services/src/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.cpp index 9e9820cf4f51a15849a176f631424b87d849373f..4ec03cc72dddb2d8274daee95a978695c61306d6 100644 --- a/services/src/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.cpp +++ b/services/src/audio_bluetooth/client/bluetooth_a2dp_audio_src_observer_stub.cpp @@ -14,8 +14,16 @@ */ #include "bluetooth_a2dp_audio_src_observer_stub.h" +#include "bluetooth_a2dp_a2dpCodecInfo.h" #include "bluetooth_log.h" +#include "cstdint" +#include "iosfwd" +#include "ipc_object_stub.h" +#include "ipc_types.h" +#include "map" #include "raw_address.h" +#include "string" +#include "utility" namespace OHOS { namespace Bluetooth { diff --git a/services/src/audio_policy/client/audio_capturer_state_change_listener_stub.cpp b/services/src/audio_policy/client/audio_capturer_state_change_listener_stub.cpp index 740d333515704d9a3d53007aac1bee1016392e17..16c353c1fcdf4185c84ba28304d702c68f636bf9 100644 --- a/services/src/audio_policy/client/audio_capturer_state_change_listener_stub.cpp +++ b/services/src/audio_policy/client/audio_capturer_state_change_listener_stub.cpp @@ -14,10 +14,13 @@ */ #include "audio_capturer_state_change_listener_stub.h" - +#include "__config" #include "audio_errors.h" -#include "audio_system_manager.h" #include "audio_log.h" +#include "iosfwd" +#include "ipc_object_stub.h" +#include "string" +#include "type_traits" using namespace std; diff --git a/services/src/audio_policy/client/audio_client_tracker_callback_stub.cpp b/services/src/audio_policy/client/audio_client_tracker_callback_stub.cpp index 7f5e05c24ca7e45878058ba1f8156aeb60f3883b..42497454eeba696d43a6724da358a84bcb7f3599 100644 --- a/services/src/audio_policy/client/audio_client_tracker_callback_stub.cpp +++ b/services/src/audio_policy/client/audio_client_tracker_callback_stub.cpp @@ -15,6 +15,8 @@ #include "audio_client_tracker_callback_stub.h" #include "audio_log.h" +#include "ipc_object_stub.h" +#include "string" namespace OHOS { namespace AudioStandard { diff --git a/services/src/audio_policy/client/audio_device_descriptor.cpp b/services/src/audio_policy/client/audio_device_descriptor.cpp index 6f46486c30a5e2c60b1f4d7a5518ef6cdea5c197..2eb9ca944552fd78eecece0b6b6f1b930179232b 100644 --- a/services/src/audio_policy/client/audio_device_descriptor.cpp +++ b/services/src/audio_policy/client/audio_device_descriptor.cpp @@ -13,8 +13,14 @@ * limitations under the License. */ +#include "string" #include "audio_log.h" +#include "audio_info.h" #include "audio_system_manager.h" +#include "iosfwd" +#include "new" +#include "parcel.h" +#include "refbase.h" namespace OHOS { namespace AudioStandard { diff --git a/services/src/audio_policy/client/audio_ringermode_update_listener_stub.cpp b/services/src/audio_policy/client/audio_ringermode_update_listener_stub.cpp index aa2c7126531a377d057e125249ccc4b5a006666a..6ca765f4aba4917b0709d8e130add3e2f5dfeb69 100644 --- a/services/src/audio_policy/client/audio_ringermode_update_listener_stub.cpp +++ b/services/src/audio_policy/client/audio_ringermode_update_listener_stub.cpp @@ -14,10 +14,10 @@ */ #include "audio_ringermode_update_listener_stub.h" - -#include "audio_errors.h" -#include "audio_system_manager.h" #include "audio_log.h" +#include "audio_system_manager.h" +#include "ipc_object_stub.h" +#include "string" namespace OHOS { namespace AudioStandard { diff --git a/services/src/audio_policy/client/audio_volume_key_event_callback_stub.cpp b/services/src/audio_policy/client/audio_volume_key_event_callback_stub.cpp index f2fe595407347e28a7b309befb4fcb876f3c30dd..28523ad32765c850e5681a7de3de449678df3c77 100644 --- a/services/src/audio_policy/client/audio_volume_key_event_callback_stub.cpp +++ b/services/src/audio_policy/client/audio_volume_key_event_callback_stub.cpp @@ -15,6 +15,8 @@ #include "audio_volume_key_event_callback_stub.h" #include "audio_log.h" +#include "iosfwd" +#include "string" namespace OHOS { namespace AudioStandard { diff --git a/services/test/audio_render_mode_callback_test.cpp b/services/test/audio_render_mode_callback_test.cpp index 09c989d147f1f2d54a9f7d57c91bcb5ce78e11b3..ce4e599225d00f79d650304bd948d09a052884be 100644 --- a/services/test/audio_render_mode_callback_test.cpp +++ b/services/test/audio_render_mode_callback_test.cpp @@ -14,11 +14,17 @@ */ #include +#include +#include #include -#include - -#include "audio_renderer.h" +#include "climits" +#include "cstdlib" +#include "cstring" +#include "__config" +#include "audio_info.h" #include "audio_log.h" +#include "audio_renderer.h" +#include "memory" #include "pcm2wav.h" using namespace std;