Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DConversions.cpp32 char halAddress[AUDIO_DEVICE_MAX_ADDRESS_LEN]; in deviceAddressToHal() local
33 memset(halAddress, 0, sizeof(halAddress)); in deviceAddressToHal()
37 snprintf(halAddress, sizeof(halAddress), "%02X:%02X:%02X:%02X:%02X:%02X", in deviceAddressToHal()
41 snprintf(halAddress, sizeof(halAddress), "%d.%d.%d.%d", address.address.ipv4[0], in deviceAddressToHal()
45 snprintf(halAddress, sizeof(halAddress), "card=%d;device=%d", address.address.alsa.card, in deviceAddressToHal()
48 snprintf(halAddress, sizeof(halAddress), "%s", address.busAddress.c_str()); in deviceAddressToHal()
51 snprintf(halAddress, sizeof(halAddress), "%s", address.rSubmixAddress.c_str()); in deviceAddressToHal()
53 return halAddress; in deviceAddressToHal()
57 status_t deviceAddressFromHal(audio_devices_t device, const char* halAddress, in deviceAddressFromHal() argument
63 if (halAddress == nullptr || strnlen(halAddress, AUDIO_DEVICE_MAX_ADDRESS_LEN) == 0) { in deviceAddressFromHal()
[all …]