Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 25 of 86) sorted by relevance

1234

/hardware/interfaces/audio/effect/all-versions/default/
DEnvironmentalReverbEffect.cpp39 const t_reverb_settings& halProperties, IEnvironmentalReverbEffect::AllProperties* properties) { in propertiesFromHal() argument
40 properties->roomLevel = halProperties.roomLevel; in propertiesFromHal()
41 properties->roomHfLevel = halProperties.roomHFLevel; in propertiesFromHal()
42 properties->decayTime = halProperties.decayTime; in propertiesFromHal()
43 properties->decayHfRatio = halProperties.decayHFRatio; in propertiesFromHal()
44 properties->reflectionsLevel = halProperties.reflectionsLevel; in propertiesFromHal()
45 properties->reflectionsDelay = halProperties.reflectionsDelay; in propertiesFromHal()
46 properties->reverbLevel = halProperties.reverbLevel; in propertiesFromHal()
47 properties->reverbDelay = halProperties.reverbDelay; in propertiesFromHal()
48 properties->diffusion = halProperties.diffusion; in propertiesFromHal()
[all …]
DAutomaticGainControlEffect.cpp38 const t_agc_settings& halProperties, IAutomaticGainControlEffect::AllProperties* properties) { in propertiesFromHal() argument
39 properties->targetLevelMb = halProperties.targetLevel; in propertiesFromHal()
40 properties->compGainMb = halProperties.compGain; in propertiesFromHal()
41 properties->limiterEnabled = halProperties.limiterEnabled; in propertiesFromHal()
45 const IAutomaticGainControlEffect::AllProperties& properties, t_agc_settings* halProperties) { in propertiesToHal() argument
46 halProperties->targetLevel = properties.targetLevelMb; in propertiesToHal()
47 halProperties->compGain = properties.compGainMb; in propertiesToHal()
48 halProperties->limiterEnabled = properties.limiterEnabled; in propertiesToHal()
213 const IAutomaticGainControlEffect::AllProperties& properties) { in setAllProperties() argument
215 propertiesToHal(properties, &halProperties); in setAllProperties()
[all …]
DNoiseSuppressionEffect.cpp38 INoiseSuppressionEffect::AllProperties* properties) { in propertiesFromHal() argument
39 properties->level = Level(halProperties.level); in propertiesFromHal()
40 properties->type = Type(halProperties.type); in propertiesFromHal()
44 const INoiseSuppressionEffect::AllProperties& properties, t_ns_settings* halProperties) { in propertiesToHal() argument
45 halProperties->level = static_cast<uint32_t>(properties.level); in propertiesToHal()
46 halProperties->type = static_cast<uint32_t>(properties.type); in propertiesToHal()
206 const INoiseSuppressionEffect::AllProperties& properties) { in setAllProperties() argument
208 propertiesToHal(properties, &halProperties); in setAllProperties()
215 AllProperties properties; in getAllProperties() local
216 propertiesFromHal(halProperties, &properties); in getAllProperties()
[all …]
DEqualizerEffect.cpp39 IEqualizerEffect::AllProperties* properties) { in propertiesFromHal() argument
40 properties->curPreset = halProperties.curPreset; in propertiesFromHal()
45 properties->bandLevels.setToExternal(const_cast<int16_t*>(signedBandLevels), in propertiesFromHal()
50 const IEqualizerEffect::AllProperties& properties, t_equalizer_settings** halProperties) { in propertiesToHal() argument
51 size_t bandsSize = properties.bandLevels.size() * sizeof(uint16_t); in propertiesToHal()
54 (*halProperties)->curPreset = properties.curPreset; in propertiesToHal()
55 (*halProperties)->numBands = properties.bandLevels.size(); in propertiesToHal()
56 memcpy((*halProperties)->bandLevels, &properties.bandLevels[0], bandsSize); in propertiesToHal()
266 const IEqualizerEffect::AllProperties& properties) { in setAllProperties() argument
268 std::vector<uint8_t> halBuffer = propertiesToHal(properties, &halPropertiesPtr); in setAllProperties()
[all …]
/hardware/interfaces/bluetooth/1.0/default/test/
Dproperties.cc36 struct property properties[MAX_PROPERTIES]; variable
41 if (strncmp(properties[i].key, key, PROP_KEY_MAX) == 0) { in property_find()
61 strncpy(properties[prop_index].key, key, PROP_KEY_MAX + 1); in property_set()
62 strncpy(properties[prop_index].value, value, PROP_VALUE_MAX + 1); in property_set()
75 int len = strlen(properties[prop_index].value); in property_get()
76 memcpy(value, properties[prop_index].value, len); in property_get()
/hardware/interfaces/compatibility_matrices/build/
Dvintf_compatibility_matrix.go71 properties vintfCompatibilityMatrixProperties member
85 g.AddProperties(&g.properties)
93 android.ExtractSourcesDeps(ctx, g.properties.Srcs)
94 ctx.AddDependency(ctx.Module(), kernelConfigTag, g.properties.Kernel_configs...)
135 outputFilename := proptools.String(g.properties.Stem)
145 inputPaths := android.PathsForModuleSrc(ctx, g.properties.Srcs)
184 if proptools.String(g.properties.Stem) != "" {
185 fmt.Fprintln(w, "LOCAL_MODULE_STEM :=", proptools.String(g.properties.Stem))
/hardware/interfaces/broadcastradio/1.0/default/
DUtils.cpp170 Properties *properties, in convertPropertiesFromHal() argument
173 properties->classId = static_cast<Class>(halProperties->class_id); in convertPropertiesFromHal()
174properties->implementor.setToExternal(halProperties->implementor, strlen(halProperties->implemento… in convertPropertiesFromHal()
175 properties->product.setToExternal(halProperties->product, strlen(halProperties->product)); in convertPropertiesFromHal()
176 properties->version.setToExternal(halProperties->version, strlen(halProperties->version)); in convertPropertiesFromHal()
177 properties->serial.setToExternal(halProperties->serial, strlen(halProperties->serial)); in convertPropertiesFromHal()
178 properties->numTuners = halProperties->num_tuners; in convertPropertiesFromHal()
179 properties->numAudioSources = halProperties->num_audio_sources; in convertPropertiesFromHal()
180 properties->supportsCapture = halProperties->supports_capture; in convertPropertiesFromHal()
187 properties->bands.setToExternal(bands, halProperties->num_bands); in convertPropertiesFromHal()
[all …]
DBroadcastRadio.cpp103 Properties properties; in getProperties() local
111 Utils::convertPropertiesFromHal(&properties, &halProperties); in getProperties()
115 _hidl_cb(Utils::convertHalResult(rc), properties); in getProperties()
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp72 ISoundTriggerHw::Properties properties; in getProperties() local
81 convertPropertiesFromHal(&properties, &halProperties); in getProperties()
83 ALOGV("getProperties implementor %s recognitionModes %08x", properties.implementor.c_str(), in getProperties()
84 properties.recognitionModes); in getProperties()
87 _hidl_cb(ret, properties); in getProperties()
317 ISoundTriggerHw::Properties* properties, const struct sound_trigger_properties* halProperties) { in convertPropertiesFromHal() argument
318 properties->implementor = halProperties->implementor; in convertPropertiesFromHal()
319 properties->description = halProperties->description; in convertPropertiesFromHal()
320 properties->version = halProperties->version; in convertPropertiesFromHal()
321 convertUuidFromHal(&properties->uuid, &halProperties->uuid); in convertPropertiesFromHal()
[all …]
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp91 V2_0::ISoundTriggerHw::Properties properties; in getProperties() local
100 convertPropertiesFromHal(&properties, &halProperties); in getProperties()
102 ALOGV("getProperties implementor %s recognitionModes %08x", properties.implementor.c_str(), in getProperties()
103 properties.recognitionModes); in getProperties()
106 _hidl_cb(ret, properties); in getProperties()
335 V2_0::ISoundTriggerHw::Properties* properties, in convertPropertiesFromHal() argument
337 properties->implementor = halProperties->implementor; in convertPropertiesFromHal()
338 properties->description = halProperties->description; in convertPropertiesFromHal()
339 properties->version = halProperties->version; in convertPropertiesFromHal()
340 convertUuidFromHal(&properties->uuid, &halProperties->uuid); in convertPropertiesFromHal()
[all …]
/hardware/interfaces/audio/effect/4.0/
DINoiseSuppressionEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIAutomaticGainControlEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIEqualizerEffect.hal85 * Sets all properties at once.
87 setAllProperties(AllProperties properties) generates (Result retval);
90 * Gets all properties at once.
92 getAllProperties() generates (Result retval, AllProperties properties);
/hardware/interfaces/audio/effect/6.0/
DINoiseSuppressionEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIAutomaticGainControlEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIEqualizerEffect.hal85 * Sets all properties at once.
87 setAllProperties(AllProperties properties) generates (Result retval);
90 * Gets all properties at once.
92 getAllProperties() generates (Result retval, AllProperties properties);
/hardware/interfaces/audio/effect/5.0/
DINoiseSuppressionEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIAutomaticGainControlEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIEqualizerEffect.hal85 * Sets all properties at once.
87 setAllProperties(AllProperties properties) generates (Result retval);
90 * Gets all properties at once.
92 getAllProperties() generates (Result retval, AllProperties properties);
/hardware/interfaces/audio/effect/2.0/
DINoiseSuppressionEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIAutomaticGainControlEffect.hal60 * Sets all properties at once.
62 setAllProperties(AllProperties properties) generates (Result retval);
65 * Gets all properties at once.
67 getAllProperties() generates (Result retval, AllProperties properties);
DIEqualizerEffect.hal85 * Sets all properties at once.
87 setAllProperties(AllProperties properties) generates (Result retval);
90 * Gets all properties at once.
92 getAllProperties() generates (Result retval, AllProperties properties);
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp90 ISoundTriggerHw::Properties properties; in getProperties() local
99 convertPropertiesFromHal(&properties, &halProperties); in getProperties()
101 ALOGV("getProperties implementor %s recognitionModes %08x", properties.implementor.c_str(), in getProperties()
102 properties.recognitionModes); in getProperties()
105 _hidl_cb(ret, properties); in getProperties()
339 ISoundTriggerHw::Properties* properties, const struct sound_trigger_properties* halProperties) { in convertPropertiesFromHal() argument
340 properties->implementor = halProperties->implementor; in convertPropertiesFromHal()
341 properties->description = halProperties->description; in convertPropertiesFromHal()
342 properties->version = halProperties->version; in convertPropertiesFromHal()
343 convertUuidFromHal(&properties->uuid, &halProperties->uuid); in convertPropertiesFromHal()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/
DIVehicle.hal29 * Returns a list of property configurations for given properties.
41 * For VehiclePropertyChangeMode::STATIC properties, this method must always
43 * For VehiclePropertyChangeMode::ON_CHANGE properties, it must return the
46 * Some properties like RADIO_PRESET requires to pass additional data in
61 * Setting some properties require having initial state available. If initial
71 * Clients must be able to subscribe to multiple properties at a time
/hardware/interfaces/input/classifier/1.0/vts/functional/
DVtsHalInputClassifierV1_0TargetTest.cpp68 PointerProperties properties; in getSimpleMotionEvent() local
69 properties.id = 0; in getSimpleMotionEvent()
70 properties.toolType = ToolType::FINGER; in getSimpleMotionEvent()
71 event.pointerProperties = {properties}; in getSimpleMotionEvent()

1234