Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 43) 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()
DCryptoFactory.h46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid)
49 Return<void> createPlugin(const hidl_array<uint8_t, 16>& uuid,
DDrmFactory.h46 Return<bool> isCryptoSchemeSupported(const hidl_array<uint8_t, 16>& uuid)
52 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/libhardware/include/hardware/
Dbt_sdp.h40 bt_uuid_t uuid; member
54 bt_uuid_t uuid; member
112 typedef void (*btsdp_search_callback)(bt_status_t status, RawAddress *bd_addr, uint8_t* uuid, int n…
131 bt_status_t (*sdp_search)(RawAddress *bd_addr, const uint8_t* uuid);
Daudio_effect.h256 int32_t (*create_effect)(const effect_uuid_t *uuid,
298 int32_t (*get_descriptor)(const effect_uuid_t *uuid,
Dbt_gatt_client.h203 bt_status_t (*register_client)(const bt_uuid_t& uuid);
229 void (*btif_gattc_discover_service_by_uuid)(int conn_id, const bt_uuid_t& uuid);
237 int conn_id, const bt_uuid_t& uuid, uint16_t s_handle,
Dbt_gatt_types.h35 bt_uuid_t uuid; member
Dbt_sock.h71 bt_status_t (*connect)(const RawAddress *bd_addr, btsock_type_t type, const uint8_t* uuid,
Dbt_common_types.h56 bt_uuid_t uuid; member
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp344 void SoundTriggerHalImpl::convertUuidFromHal(Uuid *uuid, in convertUuidFromHal() argument
347 uuid->timeLow = halUuid->timeLow; in convertUuidFromHal()
348 uuid->timeMid = halUuid->timeMid; in convertUuidFromHal()
349 uuid->versionAndTimeHigh = halUuid->timeHiAndVersion; in convertUuidFromHal()
350 uuid->variantAndClockSeqHigh = halUuid->clockSeq; in convertUuidFromHal()
351 memcpy(&uuid->node[0], &halUuid->node[0], 6); in convertUuidFromHal()
355 const Uuid *uuid) in convertUuidToHal() argument
357 halUuid->timeLow = uuid->timeLow; in convertUuidToHal()
358 halUuid->timeMid = uuid->timeMid; in convertUuidToHal()
359 halUuid->timeHiAndVersion = uuid->versionAndTimeHigh; in convertUuidToHal()
[all …]
DSoundTriggerHalImpl.h86 void convertUuidFromHal(Uuid *uuid,
89 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/interfaces/audio/common/2.0/default/
DHidlUtils.cpp321 void HidlUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument
322 uuid->timeLow = halUuid.timeLow; in uuidFromHal()
323 uuid->timeMid = halUuid.timeMid; in uuidFromHal()
324 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal()
325 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal()
326 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal()
329 void HidlUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument
330 halUuid->timeLow = uuid.timeLow; in uuidToHal()
331 halUuid->timeMid = uuid.timeMid; in uuidToHal()
332 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal()
[all …]
DHidlUtils.h61 static void uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid);
62 static void uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid);
/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()
/hardware/interfaces/audio/effect/2.0/default/
DConversions.cpp33 HidlUtils::uuidFromHal(halDescriptor.uuid, &descriptor->uuid); in effectDescriptorFromHal()

12