Home
last modified time | relevance | path

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

123456

/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);
/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_sound_model_control.cpp46 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/interfaces/audio/common/7.0/example/
DEffectsFactory.cpp41 Return<void> EffectsFactory::getDescriptor(const Uuid& uuid, getDescriptor_cb _hidl_cb) { in getDescriptor() argument
42 if (auto desc = EqualizerEffect::getDescriptor(); uuid == desc.type || uuid == desc.uuid) { in getDescriptor()
45 uuid == desc.type || uuid == desc.uuid) { in getDescriptor()
53 Return<void> EffectsFactory::createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffect() argument
58 if (auto desc = EqualizerEffect::getDescriptor(); uuid == desc.type || uuid == desc.uuid) { in createEffect()
61 uuid == desc.type || uuid == desc.uuid) { in createEffect()
/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 …]
/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()
/hardware/interfaces/audio/aidl/default/
DEffectFactory.cpp58 ndk::ScopedAStatus Factory::getDescriptorWithUuid_l(const AudioUuid& uuid, Descriptor* desc) { in getDescriptorWithUuid_l() argument
61 if (mEffectLibMap.count(uuid)) { in getDescriptorWithUuid_l()
62 auto& entry = mEffectLibMap[uuid]; in getDescriptorWithUuid_l()
67 RETURN_IF_BINDER_EXCEPTION(libInterface->queryEffectFunc(&uuid, desc)); in getDescriptorWithUuid_l()
84 (!in_impl_uuid.has_value() || in_impl_uuid.value() == id.uuid) && in queryEffects()
90 if (mEffectLibMap.count(id.uuid)) { in queryEffects()
92 RETURN_IF_ASTATUS_NOT_OK(getDescriptorWithUuid_l(id.uuid, &desc), in queryEffects()
114 desc.common.id.proxy = libs.proxyLibrary.value().uuid; in queryProcessing()
116 RETURN_IF_ASTATUS_NOT_OK(getDescriptorWithUuid_l(lib.uuid, &desc), in queryProcessing()
163 auto& uuid = effectIt->second.first; in destroyEffectImpl_l() local
[all …]
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c126 sound_trigger_uuid_t uuid; member
319 bool str_to_uuid(char* uuid_str, sound_trigger_uuid_t* uuid) in str_to_uuid() argument
333 uuid->timeLow = (unsigned int)tmp[0]; in str_to_uuid()
334 uuid->timeMid = (unsigned short)tmp[1]; in str_to_uuid()
335 uuid->timeHiAndVersion = (unsigned short)tmp[2]; in str_to_uuid()
336 uuid->clockSeq = (unsigned short)tmp[3]; in str_to_uuid()
337 uuid->node[0] = (unsigned char)tmp[4]; in str_to_uuid()
338 uuid->node[1] = (unsigned char)tmp[5]; in str_to_uuid()
339 uuid->node[2] = (unsigned char)tmp[6]; in str_to_uuid()
340 uuid->node[3] = (unsigned char)tmp[7]; in str_to_uuid()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dmesa_cache_db.c37 uint64_t uuid; member
152 header->version != MESA_CACHE_DB_VERSION || !header->uuid) in mesa_db_read_header()
166 db_file->uuid = header.uuid; in mesa_db_load_header()
178 cache_header.uuid != index_header.uuid || in mesa_db_uuid_changed()
179 cache_header.uuid != db->uuid) in mesa_db_uuid_changed()
187 uint64_t uuid, bool reset) in mesa_db_write_header() argument
195 header.uuid = uuid; in mesa_db_write_header()
303 db->uuid = mesa_db_generate_uuid(); in mesa_db_recreate_files()
305 if (!mesa_db_write_header(&db->cache, db->uuid, true) || in mesa_db_recreate_files()
306 !mesa_db_write_header(&db->index, db->uuid, true)) in mesa_db_recreate_files()
[all …]
/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/audio/effect/all-versions/default/
DEffectsFactory.cpp140 Return<void> EffectsFactory::getDescriptor(const Uuid& uuid, getDescriptor_cb _hidl_cb) { in getDescriptor() argument
142 UuidUtils::uuidToHal(uuid, &halUuid); in getDescriptor()
162 Return<void> EffectsFactory::createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffect() argument
164 return createEffectImpl(uuid, session, ioHandle, AUDIO_PORT_HANDLE_NONE, _hidl_cb); in createEffect()
167 Return<void> EffectsFactory::createEffect(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffect() argument
170 return createEffectImpl(uuid, session, ioHandle, device, _hidl_cb); in createEffect()
174 Return<void> EffectsFactory::createEffectImpl(const Uuid& uuid, int32_t session, int32_t ioHandle, in createEffectImpl() argument
177 UuidUtils::uuidToHal(uuid, &halUuid); in createEffectImpl()
DEffectsFactory.h50 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,
/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 …]
/hardware/libhardware/include_all/hardware/
Daudio_effect.h258 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/libhardware/include/hardware/
Daudio_effect.h258 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/
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/google/aemu/base/include/aemu/base/testing/
DTestTempDir.h60 namespace uuid {
62 UUID uuid{}; in generate_uuid_v4()
63 UuidCreate(&uuid); in generate_uuid_v4()
65 UuidToStringA(&uuid, &str); in generate_uuid_v4()
85 temp_dir += uuid::generate_uuid_v4(); in TestTempDir()
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/
DIDrmFactory.aidl37 …@nullable android.hardware.drm.IDrmPlugin createDrmPlugin(in android.hardware.drm.Uuid uuid, in St… in createDrmPlugin() argument
38 …@nullable android.hardware.drm.ICryptoPlugin createCryptoPlugin(in android.hardware.drm.Uuid uuid,… in createCryptoPlugin() argument
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/
DIDrmFactory.aidl37 …@nullable android.hardware.drm.IDrmPlugin createDrmPlugin(in android.hardware.drm.Uuid uuid, in St… in createDrmPlugin() argument
38 …@nullable android.hardware.drm.ICryptoPlugin createCryptoPlugin(in android.hardware.drm.Uuid uuid,… in createCryptoPlugin() argument
/hardware/interfaces/drm/aidl/android/hardware/drm/
DIDrmFactory.aidl45 in Uuid uuid, in String appPackageName); in createDrmPlugin() argument
59 in Uuid uuid, in byte[] initData); in createCryptoPlugin() argument
/hardware/libhardware/modules/sensors/dynamic_sensor/
DBaseSensorObject.cpp37 void BaseSensorObject::getUuid(uint8_t* uuid) const { in getUuid()
39 memset(uuid, 0, 16); in getUuid()
/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 …]

123456