Home
last modified time | relevance | path

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

/hardware/interfaces/audio/effect/all-versions/default/
DConversions.cpp48 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()
DEffectsFactory.cpp61 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 …]
DConversions.h37 std::string uuidToString(const effect_uuid_t& halUuid);
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp300 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 …]
DSoundTriggerHalImpl.h147 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid);
148 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp332 void HidlUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument
333 uuid->timeLow = halUuid.timeLow; in uuidFromHal()
334 uuid->timeMid = halUuid.timeMid; in uuidFromHal()
335 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal()
336 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal()
337 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal()
340 void HidlUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument
341 halUuid->timeLow = uuid.timeLow; in uuidToHal()
342 halUuid->timeMid = uuid.timeMid; in uuidToHal()
343 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal()
[all …]
DHidlUtils.h64 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid);
65 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp322 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 …]
DSoundTriggerHw.h142 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid);
143 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);