Home
last modified time | relevance | path

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

/hardware/interfaces/audio/common/all-versions/default/
DUuidUtils.cpp29 void UuidUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument
30 uuid->timeLow = halUuid.timeLow; in uuidFromHal()
31 uuid->timeMid = halUuid.timeMid; in uuidFromHal()
32 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal()
33 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal()
34 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal()
37 void UuidUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument
38 halUuid->timeLow = uuid.timeLow; in uuidToHal()
39 halUuid->timeMid = uuid.timeMid; in uuidToHal()
40 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal()
[all …]
DUuidUtils.h39 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid);
40 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
41 static std::string uuidToString(const audio_uuid_t& halUuid);
/hardware/interfaces/audio/effect/all-versions/default/
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 …]
/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/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);
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp318 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 …]
DSoundTriggerHw.h158 void convertUuidFromHal(Uuid* uuid, const sound_trigger_uuid_t* halUuid);
159 void convertUuidToHal(sound_trigger_uuid_t* halUuid, const Uuid* uuid);