1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef AUDIO_ACCESSORY_BASE_TEST_H 10 #define AUDIO_ACCESSORY_BASE_TEST_H 11 12 #include "hdf_types.h" 13 14 #ifdef __cplusplus 15 #if __cplusplus 16 extern "C" { 17 #endif 18 #endif /* __cplusplus */ 19 20 int32_t AccessoryI2cReadWriteTest(void); 21 int32_t AccessoryRegBitsReadTest(void); 22 int32_t AccessoryRegBitsUpdateTest(void); 23 24 int32_t AcessoryDeviceFrequencyParseTest(void); 25 int32_t AccessoryDaiParamsUpdateTest(void); 26 int32_t AccessoryDeviceCfgGetTest(void); 27 int32_t AccessoryDeviceCtrlRegInitTest(void); 28 int32_t AccessoryDeviceRegReadTest(void); 29 int32_t AccessoryDeviceRegWriteTest(void); 30 int32_t AccessoryGetConfigInfoTest(void); 31 32 #ifdef __cplusplus 33 #if __cplusplus 34 } 35 #endif 36 #endif /* __cplusplus */ 37 38 #endif /* AUDIO_ACCESSORY_BASE_TEST_H */ 39