/hardware/interfaces/audio/effect/all-versions/default/ |
D | Conversions.cpp | 48 std::string uuidToString(const effect_uuid_t& halUuid) { in uuidToString() argument 50 snprintf(str, sizeof(str), "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x", halUuid.timeLow, in uuidToString() 51 halUuid.timeMid, halUuid.timeHiAndVersion, halUuid.clockSeq, halUuid.node[0], in uuidToString() 52 halUuid.node[1], halUuid.node[2], halUuid.node[3], halUuid.node[4], halUuid.node[5]); in uuidToString()
|
D | EffectsFactory.cpp | 61 const effect_uuid_t* halUuid = &halDescriptor.type; in dispatchEffectInstanceCreation() local 62 if (memcmp(halUuid, FX_IID_AEC, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 64 } else if (memcmp(halUuid, FX_IID_AGC, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 66 } else if (memcmp(halUuid, SL_IID_BASSBOOST, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 68 } else if (memcmp(halUuid, EFFECT_UIID_DOWNMIX, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 70 } else if (memcmp(halUuid, SL_IID_ENVIRONMENTALREVERB, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 72 } else if (memcmp(halUuid, SL_IID_EQUALIZER, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 74 } else if (memcmp(halUuid, FX_IID_LOUDNESS_ENHANCER, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 76 } else if (memcmp(halUuid, FX_IID_NS, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() 78 } else if (memcmp(halUuid, SL_IID_PRESETREVERB, sizeof(effect_uuid_t)) == 0) { in dispatchEffectInstanceCreation() [all …]
|
D | Conversions.h | 37 std::string uuidToString(const effect_uuid_t& halUuid);
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 361 void HidlUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument 362 uuid->timeLow = halUuid.timeLow; in uuidFromHal() 363 uuid->timeMid = halUuid.timeMid; in uuidFromHal() 364 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal() 365 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal() 366 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal() 369 void HidlUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument 370 halUuid->timeLow = uuid.timeLow; in uuidToHal() 371 halUuid->timeMid = uuid.timeMid; in uuidToHal() 372 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal() [all …]
|
D | HidlUtils.h | 69 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid); 70 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
|
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.cpp | 300 void SoundTriggerHalImpl::convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid) { in convertUuidFromHal() argument 301 uuid->timeLow = halUuid->timeLow; in convertUuidFromHal() 302 uuid->timeMid = halUuid->timeMid; in convertUuidFromHal() 303 uuid->versionAndTimeHigh = halUuid->timeHiAndVersion; in convertUuidFromHal() 304 uuid->variantAndClockSeqHigh = halUuid->clockSeq; in convertUuidFromHal() 305 memcpy(&uuid->node[0], &halUuid->node[0], 6); in convertUuidFromHal() 308 void SoundTriggerHalImpl::convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid) { in convertUuidToHal() argument 309 halUuid->timeLow = uuid->timeLow; in convertUuidToHal() 310 halUuid->timeMid = uuid->timeMid; in convertUuidToHal() 311 halUuid->timeHiAndVersion = uuid->versionAndTimeHigh; in convertUuidToHal() [all …]
|
D | SoundTriggerHalImpl.h | 147 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid); 148 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 322 void SoundTriggerHw::convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid) { in convertUuidFromHal() argument 323 uuid->timeLow = halUuid->timeLow; in convertUuidFromHal() 324 uuid->timeMid = halUuid->timeMid; in convertUuidFromHal() 325 uuid->versionAndTimeHigh = halUuid->timeHiAndVersion; in convertUuidFromHal() 326 uuid->variantAndClockSeqHigh = halUuid->clockSeq; in convertUuidFromHal() 327 memcpy(&uuid->node[0], &halUuid->node[0], 6); in convertUuidFromHal() 330 void SoundTriggerHw::convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid) { in convertUuidToHal() argument 331 halUuid->timeLow = uuid->timeLow; in convertUuidToHal() 332 halUuid->timeMid = uuid->timeMid; in convertUuidToHal() 333 halUuid->timeHiAndVersion = uuid->versionAndTimeHigh; in convertUuidToHal() [all …]
|
D | SoundTriggerHw.h | 142 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid); 143 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);
|
/hardware/interfaces/soundtrigger/2.3/default/ |
D | SoundTriggerHw.cpp | 318 void SoundTriggerHw::convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid) { in convertUuidFromHal() argument 319 uuid->timeLow = halUuid->timeLow; in convertUuidFromHal() 320 uuid->timeMid = halUuid->timeMid; in convertUuidFromHal() 321 uuid->versionAndTimeHigh = halUuid->timeHiAndVersion; in convertUuidFromHal() 322 uuid->variantAndClockSeqHigh = halUuid->clockSeq; in convertUuidFromHal() 323 memcpy(&uuid->node[0], &halUuid->node[0], 6); in convertUuidFromHal() 326 void SoundTriggerHw::convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid) { in convertUuidToHal() argument 327 halUuid->timeLow = uuid->timeLow; in convertUuidToHal() 328 halUuid->timeMid = uuid->timeMid; in convertUuidToHal() 329 halUuid->timeHiAndVersion = uuid->versionAndTimeHigh; in convertUuidToHal() [all …]
|
D | SoundTriggerHw.h | 158 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid); 159 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);
|