Searched refs:halAddress (Results 1 – 1 of 1) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/ |
D | Conversions.cpp | 31 char halAddress[AUDIO_DEVICE_MAX_ADDRESS_LEN]; in deviceAddressToHal() local 32 memset(halAddress, 0, sizeof(halAddress)); in deviceAddressToHal() 38 snprintf(halAddress, sizeof(halAddress), "%02X:%02X:%02X:%02X:%02X:%02X", in deviceAddressToHal() 43 snprintf(halAddress, sizeof(halAddress), "%d.%d.%d.%d", address.address.ipv4[0], in deviceAddressToHal() 47 snprintf(halAddress, sizeof(halAddress), "card=%d;device=%d", address.address.alsa.card, in deviceAddressToHal() 51 snprintf(halAddress, sizeof(halAddress), "%s", address.busAddress.c_str()); in deviceAddressToHal() 54 snprintf(halAddress, sizeof(halAddress), "%s", address.rSubmixAddress.c_str()); in deviceAddressToHal() 56 return halAddress; in deviceAddressToHal() 60 status_t deviceAddressFromHal(audio_devices_t device, const char* halAddress, in deviceAddressFromHal() argument 66 if (halAddress == nullptr || strnlen(halAddress, AUDIO_DEVICE_MAX_ADDRESS_LEN) == 0) { in deviceAddressFromHal() [all …]
|