Home
last modified time | relevance | path

Searched refs:ADAPTER_NAME_LEN (Results 1 – 5 of 5) sorted by relevance

/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_manager.c203 if (!strncmp(adapterName, audioManagerSer->adapterInfos[i].adapterName, ADAPTER_NAME_LEN)) { in AudioManagerServiceGetFreeAdapterPos()
238 int32_t ret = strncpy_s(hwManager->adapterInfos[pos].adapterName, ADAPTER_NAME_LEN, in AudioManagerServiceAddAdapter()
258 … if (strncmp(adapterName, audioManagerSer->adapterInfos[i].adapterName, ADAPTER_NAME_LEN) == 0 && in AudioManagerServiceFindAdapterPos()
512 …id)memset_s(audioManagerSer->adapterInfos[pos].adapterName, ADAPTER_NAME_LEN, 0, ADAPTER_NAME_LEN); in AudioManagerServiceRemvAdapter()
Daudio_adapter_info_common.c30 #define ADAPTER_NAME_LEN 32 macro
31 #define PORT_NAME_LEN ADAPTER_NAME_LEN
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_adapter_info_common.cpp24 constexpr int ADAPTER_NAME_LEN = 32; variable
25 #define PORT_NAME_LEN ADAPTER_NAME_LEN
113 } else if (len >= ADAPTER_NAME_LEN) { in AudioAdapterCheckName()
393 desc->adapterName = static_cast<char *>(calloc(1, ADAPTER_NAME_LEN)); in AudioAdapterParseAdapter()
399 ret = memcpy_s(static_cast<void *>(const_cast<char *>(desc->adapterName)), ADAPTER_NAME_LEN, in AudioAdapterParseAdapter()
/drivers/peripheral/audio/hdi_service/primary_impl/include/
Daudio_internal.h106 #define ADAPTER_NAME_LEN 32 macro
324 char adapterName[ADAPTER_NAME_LEN];
/drivers/peripheral/audio/hal/hdi_passthrough/src/
Daudio_adapter_info_common.c24 #define ADAPTER_NAME_LEN 32 macro
25 #define PORT_NAME_LEN ADAPTER_NAME_LEN