Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 36) sorted by relevance

12

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c139 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/
Dbundle.c311 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 …]
Dvolume_listener.c691 static int vol_prc_lib_create(const effect_uuid_t *uuid, in vol_prc_lib_create() argument
705 if (p_handle == NULL || uuid == NULL) { in vol_prc_lib_create()
719 if (memcmp(uuid, &descriptors[itt]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_create()
765 effect_uuid_t uuid; in vol_prc_lib_release() local
783 uuid = recv_contex->desc->uuid; in vol_prc_lib_release()
788 if ((memcmp(&(context->desc->uuid), &uuid, sizeof(effect_uuid_t)) == 0) in vol_prc_lib_release()
827 static int vol_prc_lib_get_descriptor(const effect_uuid_t *uuid, in vol_prc_lib_get_descriptor() argument
836 if (descriptor == NULL || uuid == NULL) { in vol_prc_lib_get_descriptor()
842 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in vol_prc_lib_get_descriptor()
/hardware/interfaces/drm/1.0/default/
DCryptoFactory.cpp36 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()
DDrmFactory.cpp36 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()
DDrmFactory.h46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid)
52 Return<void> createPlugin(const hidl_array<uint8_t, 16>& uuid,
DCryptoFactory.h46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid)
49 Return<void> createPlugin(const hidl_array<uint8_t, 16>& uuid,
/hardware/interfaces/drm/1.0/
DICryptoFactory.hal31 * @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)
DIDrmFactory.hal33 * @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/
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/qcom/audio/voice_processing/
Dvoice_processing.c152 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/libhardware/modules/sensors/dynamic_sensor/
DBaseSensorObject.cpp37 void BaseSensorObject::getUuid(uint8_t* uuid) const { in getUuid()
39 memset(uuid, 0, 16); in getUuid()
DDummyDynamicAccelDaemon.cpp110 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()
DHidRawSensor.h42 virtual void getUuid(uint8_t* uuid) const;
92 uint8_t uuid[16]; member
DBaseSensorObject.h44 virtual void getUuid(uint8_t* uuid) const; in REF_BASE()
DDummyDynamicAccelDaemon.h47 virtual void getUuid(uint8_t* uuid) const;
DHidRawSensor.cpp440 memset(featureValue->uuid, 0, sizeof(featureValue->uuid)); in initFeatureValueFromHidDeviceInfo()
558 memcpy(mFeatureInfo.uuid, tmp, sizeof(mFeatureInfo.uuid)); in validateFeatureValueAndBuildSensor()
843 void HidRawSensor::getUuid(uint8_t* uuid) const { in getUuid()
844 memcpy(uuid, mFeatureInfo.uuid, sizeof(mFeatureInfo.uuid)); in getUuid()
1002 for (auto d : mFeatureInfo.uuid) { in dump()
/hardware/interfaces/audio/common/all-versions/default/include/common/all-versions/default/
DHidlUtils.impl.h345 void HidlUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument
346 uuid->timeLow = halUuid.timeLow; in uuidFromHal()
347 uuid->timeMid = halUuid.timeMid; in uuidFromHal()
348 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal()
349 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal()
350 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal()
353 void HidlUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument
354 halUuid->timeLow = uuid.timeLow; in uuidToHal()
355 halUuid->timeMid = uuid.timeMid; in uuidToHal()
356 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal()
[all …]
DHidlUtils.h67 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid);
68 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
/hardware/libhardware/include/hardware/
Daudio_effect.h256 int32_t (*create_effect)(const effect_uuid_t *uuid,
298 int32_t (*get_descriptor)(const effect_uuid_t *uuid,
Dbluetooth.h126 bluetooth::Uuid uuid; member
494 const bluetooth::Uuid& uuid);
/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
DConversions.impl.h37 HidlUtils::uuidFromHal(halDescriptor.uuid, &descriptor->uuid); in effectDescriptorFromHal()
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c944 int effect_lib_create(const effect_uuid_t *uuid, in effect_lib_create() argument
954 if (pHandle == NULL || uuid == NULL) in effect_lib_create()
958 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) in effect_lib_create()
966 if (memcmp(uuid, &visualizer_descriptor.uuid, sizeof(effect_uuid_t)) == 0) { in effect_lib_create()
1034 int effect_lib_get_descriptor(const effect_uuid_t *uuid, in effect_lib_get_descriptor() argument
1041 if (descriptor == NULL || uuid == NULL) { in effect_lib_get_descriptor()
1047 if (memcmp(uuid, &descriptors[i]->uuid, sizeof(effect_uuid_t)) == 0) { in effect_lib_get_descriptor()
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp174 memcpy(dst->u.dynamic.uuid.data(), in convertFromSensorEvent()
175 src.dynamic_sensor_meta.uuid, in convertFromSensorEvent()
319 memcpy(dst->dynamic_sensor_meta.uuid, in convertToSensorEvent()
320 src.u.dynamic.uuid.data(), in convertToSensorEvent()

12