/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | oslo_sound_model_control.cpp | 46 static bool strToUuid(const char* uuid_str, sound_trigger_uuid_t* uuid) { in strToUuid() argument 59 uuid->timeLow = (unsigned int)tmp[0]; in strToUuid() 60 uuid->timeMid = (unsigned short)tmp[1]; in strToUuid() 61 uuid->timeHiAndVersion = (unsigned short)tmp[2]; in strToUuid() 62 uuid->clockSeq = (unsigned short)tmp[3]; in strToUuid() 63 uuid->node[0] = (unsigned char)tmp[4]; in strToUuid() 64 uuid->node[1] = (unsigned char)tmp[5]; in strToUuid() 65 uuid->node[2] = (unsigned char)tmp[6]; in strToUuid() 66 uuid->node[3] = (unsigned char)tmp[7]; in strToUuid() 67 uuid->node[4] = (unsigned char)tmp[8]; in strToUuid() [all …]
|
/hardware/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 139 bool str_to_uuid(char* uuid_str, sound_trigger_uuid_t* uuid) { in str_to_uuid() argument 151 uuid->timeLow = (unsigned int)tmp[0]; in str_to_uuid() 152 uuid->timeMid = (unsigned short)tmp[1]; in str_to_uuid() 153 uuid->timeHiAndVersion = (unsigned short)tmp[2]; in str_to_uuid() 154 uuid->clockSeq = (unsigned short)tmp[3]; in str_to_uuid() 155 uuid->node[0] = (unsigned char)tmp[4]; in str_to_uuid() 156 uuid->node[1] = (unsigned char)tmp[5]; in str_to_uuid() 157 uuid->node[2] = (unsigned char)tmp[6]; in str_to_uuid() 158 uuid->node[3] = (unsigned char)tmp[7]; in str_to_uuid() 159 uuid->node[4] = (unsigned char)tmp[8]; in str_to_uuid() [all …]
|
/hardware/qcom/audio/post_proc/ |
D | bundle.c | 311 int effect_lib_create(const effect_uuid_t *uuid, in effect_lib_create() argument 322 if (pHandle == NULL || uuid == NULL) in effect_lib_create() 326 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) in effect_lib_create() 334 if (memcmp(uuid, &equalizer_descriptor.uuid, in effect_lib_create() 351 } else if (memcmp(uuid, &bassboost_descriptor.uuid, in effect_lib_create() 368 } else if (memcmp(uuid, &virtualizer_descriptor.uuid, in effect_lib_create() 385 } else if ((memcmp(uuid, &aux_env_reverb_descriptor.uuid, in effect_lib_create() 387 (memcmp(uuid, &ins_env_reverb_descriptor.uuid, in effect_lib_create() 389 (memcmp(uuid, &aux_preset_reverb_descriptor.uuid, in effect_lib_create() 391 (memcmp(uuid, &ins_preset_reverb_descriptor.uuid, in effect_lib_create() [all …]
|
D | ma_listener.c | 490 static int ma_prc_lib_create(const effect_uuid_t *uuid, in ma_prc_lib_create() argument 504 if (p_handle == NULL || uuid == NULL) { in ma_prc_lib_create() 518 if (memcmp(uuid, &descriptors[itt]->uuid, sizeof(effect_uuid_t)) == 0) { in ma_prc_lib_create() 585 static int ma_prc_lib_get_descriptor(const effect_uuid_t *uuid, in ma_prc_lib_get_descriptor() argument 595 if (descriptor == NULL || uuid == NULL) { in ma_prc_lib_get_descriptor() 601 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in ma_prc_lib_get_descriptor()
|
D | volume_listener.c | 695 static int vol_prc_lib_create(const effect_uuid_t *uuid, in vol_prc_lib_create() argument 709 if (p_handle == NULL || uuid == NULL) { in vol_prc_lib_create() 723 if (memcmp(uuid, &descriptors[itt]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_create() 816 static int vol_prc_lib_get_descriptor(const effect_uuid_t *uuid, in vol_prc_lib_get_descriptor() argument 825 if (descriptor == NULL || uuid == NULL) { in vol_prc_lib_get_descriptor() 831 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_get_descriptor()
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoFactory.cpp | 36 const hidl_array<uint8_t, 16>& uuid) { in isCryptoSchemeSupported() argument 38 if (loader.getFactory(i)->isCryptoSchemeSupported(uuid.data())) { in isCryptoSchemeSupported() 45 Return<void> CryptoFactory::createPlugin(const hidl_array<uint8_t, 16>& uuid, in createPlugin() argument 48 if (loader.getFactory(i)->isCryptoSchemeSupported(uuid.data())) { in createPlugin() 50 status_t status = loader.getFactory(i)->createPlugin(uuid.data(), in createPlugin()
|
D | DrmFactory.cpp | 36 const hidl_array<uint8_t, 16>& uuid) { in isCryptoSchemeSupported() argument 38 if (loader.getFactory(i)->isCryptoSchemeSupported(uuid.data())) { in isCryptoSchemeSupported() 55 Return<void> DrmFactory::createPlugin(const hidl_array<uint8_t, 16>& uuid, in createPlugin() argument 59 if (loader.getFactory(i)->isCryptoSchemeSupported(uuid.data())) { in createPlugin() 62 uuid.data(), &legacyPlugin); in createPlugin()
|
D | CryptoFactory.h | 46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid) 49 Return<void> createPlugin(const hidl_array<uint8_t, 16>& uuid,
|
D | DrmFactory.h | 46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid) 52 Return<void> createPlugin(const hidl_array<uint8_t, 16>& uuid,
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | sound_trigger_hw_iaxxx.c | 116 sound_trigger_uuid_t uuid; member 307 bool str_to_uuid(char* uuid_str, sound_trigger_uuid_t* uuid) in str_to_uuid() argument 321 uuid->timeLow = (unsigned int)tmp[0]; in str_to_uuid() 322 uuid->timeMid = (unsigned short)tmp[1]; in str_to_uuid() 323 uuid->timeHiAndVersion = (unsigned short)tmp[2]; in str_to_uuid() 324 uuid->clockSeq = (unsigned short)tmp[3]; in str_to_uuid() 325 uuid->node[0] = (unsigned char)tmp[4]; in str_to_uuid() 326 uuid->node[1] = (unsigned char)tmp[5]; in str_to_uuid() 327 uuid->node[2] = (unsigned char)tmp[6]; in str_to_uuid() 328 uuid->node[3] = (unsigned char)tmp[7]; in str_to_uuid() [all …]
|
/hardware/interfaces/audio/effect/all-versions/default/ |
D | EffectsFactory.cpp | 136 Return<void> EffectsFactory::getDescriptor(const Uuid& uuid, getDescriptor_cb _hidl_cb) { in getDescriptor() argument 138 HidlUtils::uuidToHal(uuid, &halUuid); in getDescriptor() 158 Return<void> EffectsFactory::createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffect() argument 160 return createEffectImpl(uuid, session, ioHandle, AUDIO_PORT_HANDLE_NONE, _hidl_cb); in createEffect() 163 Return<void> EffectsFactory::createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffect() argument 166 return createEffectImpl(uuid, session, ioHandle, device, _hidl_cb); in createEffect() 170 Return<void> EffectsFactory::createEffectImpl(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffectImpl() argument 173 HidlUtils::uuidToHal(uuid, &halUuid); in createEffectImpl()
|
D | EffectsFactory.h | 50 Return<void> getDescriptor(const Uuid& uuid, getDescriptor_cb _hidl_cb) override; 52 Return<void> createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, 55 Return<void> createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, int32_t device, 66 Return<void> createEffectImpl(const Uuid& uuid, int32_t session, int32_t ioHandle,
|
D | Conversions.cpp | 39 HidlUtils::uuidFromHal(halDescriptor.uuid, &descriptor->uuid); in effectDescriptorFromHal()
|
/hardware/interfaces/drm/1.0/ |
D | ICryptoFactory.hal | 31 * @param uuid identifies the crypto scheme in question 34 isCryptoSchemeSupported(uint8_t[16] uuid) generates(bool isSupported); 37 * Create a crypto plugin for the specified uuid and scheme-specific 40 * @param uuid uniquely identifies the drm scheme. See 41 * http://dashif.org/identifiers/protection for uuid assignments 48 createPlugin(uint8_t[16] uuid, vec<uint8_t> initData)
|
D | IDrmFactory.hal | 33 * @param uuid identifies the crypto scheme in question 36 isCryptoSchemeSupported(uint8_t[16] uuid) generates(bool isSupported); 48 * Create a drm plugin instance for the specified uuid and scheme-specific 51 * @param uuid uniquely identifies the drm scheme. See 52 * http://dashif.org/identifiers/protection for uuid assignments 59 createPlugin(uint8_t[16] uuid, string appPackageName)
|
/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 …]
|
/hardware/libhardware/include/hardware/ |
D | audio_effect.h | 258 int32_t (*create_effect)(const effect_uuid_t *uuid, 300 int32_t (*get_descriptor)(const effect_uuid_t *uuid, 338 int32_t (*create_effect_3_1)(const effect_uuid_t *uuid,
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 152 static uint32_t uuid_to_id(const effect_uuid_t * uuid) in uuid_to_id() argument 156 if (memcmp(uuid, uuid_to_id_table[i], sizeof(*uuid)) == 0) in uuid_to_id() 476 static const effect_descriptor_t *get_descriptor(const effect_uuid_t *uuid) in get_descriptor() argument 480 if (memcmp(&descriptors[i]->uuid, uuid, sizeof(effect_uuid_t)) == 0) in get_descriptor() 679 static int lib_create(const effect_uuid_t *uuid, in lib_create() argument 684 ALOGV("lib_create: uuid: %08x session %d IO: %d", uuid->timeLow, sessionId, ioId); in lib_create() 694 desc = get_descriptor(uuid); in lib_create() 697 ALOGW("lib_create: fx not found uuid: %08x", uuid->timeLow); in lib_create() 740 static int lib_get_descriptor(const effect_uuid_t *uuid, in lib_get_descriptor() argument 745 if (pDescriptor == NULL || uuid == NULL) in lib_get_descriptor() [all …]
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 332 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 …]
|
D | HidlUtils.h | 64 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid); 65 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | BaseSensorObject.cpp | 37 void BaseSensorObject::getUuid(uint8_t* uuid) const { in getUuid() 39 memset(uuid, 0, 16); in getUuid()
|
D | DummyDynamicAccelDaemon.cpp | 110 void DummyDynamicAccelDaemon::DummySensor::getUuid(uint8_t* uuid) const { in getUuid() 113 memset(uuid, 'x', 16); in getUuid() 114 memcpy(uuid, &hash, sizeof(hash)); in getUuid()
|
D | HidRawSensor.h | 42 virtual void getUuid(uint8_t* uuid) const; 92 uint8_t uuid[16]; member
|
D | BaseSensorObject.h | 44 virtual void getUuid(uint8_t* uuid) const; in REF_BASE()
|
/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 …]
|