/hardware/interfaces/audio/effect/all-versions/default/ |
D | EnvironmentalReverbEffect.cpp | 39 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 …]
|
D | AutomaticGainControlEffect.cpp | 38 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() 214 t_agc_settings halProperties; in setAllProperties() local 215 propertiesToHal(properties, &halProperties); in setAllProperties() [all …]
|
D | NoiseSuppressionEffect.cpp | 37 void NoiseSuppressionEffect::propertiesFromHal(const t_ns_settings& halProperties, 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() 207 t_ns_settings halProperties; in setAllProperties() local 208 propertiesToHal(properties, &halProperties); in setAllProperties() 209 return mEffect->setParam(NS_PARAM_PROPERTIES, halProperties); in setAllProperties() 213 t_ns_settings halProperties; in getAllProperties() local [all …]
|
D | EqualizerEffect.cpp | 38 void EqualizerEffect::propertiesFromHal(const t_equalizer_settings& halProperties, in propertiesFromHal() argument 40 properties->curPreset = halProperties.curPreset; in propertiesFromHal() 44 reinterpret_cast<const int16_t*>(&halProperties.bandLevels[0]); in propertiesFromHal() 46 halProperties.numBands); in propertiesFromHal() 50 const IEqualizerEffect::AllProperties& properties, t_equalizer_settings** halProperties) { in propertiesToHal() argument 53 *halProperties = reinterpret_cast<t_equalizer_settings*>(&halBuffer[0]); 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() 285 const t_equalizer_settings* halProperties = in getAllProperties() local [all …]
|
D | AutomaticGainControlEffect.h | 112 void propertiesFromHal(const t_agc_settings& halProperties, 115 t_agc_settings* halProperties);
|
D | NoiseSuppressionEffect.h | 110 void propertiesFromHal(const t_ns_settings& halProperties, 113 t_ns_settings* halProperties);
|
D | EqualizerEffect.h | 116 void propertiesFromHal(const t_equalizer_settings& halProperties, 119 t_equalizer_settings** halProperties);
|
D | EnvironmentalReverbEffect.h | 130 void propertiesFromHal(const t_reverb_settings& halProperties, 133 t_reverb_settings* halProperties);
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | Utils.cpp | 171 const radio_hal_properties_t *halProperties) in convertPropertiesFromHal() argument 173 properties->classId = static_cast<Class>(halProperties->class_id); in convertPropertiesFromHal() 174 …properties->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() 183 new BandConfig[halProperties->num_bands]; in convertPropertiesFromHal() [all …]
|
D | BroadcastRadio.cpp | 102 radio_hal_properties_t halProperties; in getProperties() local 109 rc = mHwDevice->get_properties(mHwDevice, &halProperties); in getProperties() 111 Utils::convertPropertiesFromHal(&properties, &halProperties); in getProperties()
|
D | Utils.h | 35 const radio_hal_properties_t *halProperties);
|
D | BroadcastRadio.h | 56 const radio_hal_properties_t *halProperties);
|
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.cpp | 71 struct sound_trigger_properties halProperties; in getProperties() local 79 ret = mHwDevice->get_properties(mHwDevice, &halProperties); in getProperties() 81 convertPropertiesFromHal(&properties, &halProperties); 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() 322 properties->maxSoundModels = halProperties->max_sound_models; in convertPropertiesFromHal() 323 properties->maxKeyPhrases = halProperties->max_key_phrases; in convertPropertiesFromHal() [all …]
|
D | SoundTriggerHalImpl.h | 150 const struct sound_trigger_properties* halProperties);
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 89 struct sound_trigger_properties halProperties; in getProperties() local 97 ret = mHwDevice->get_properties(mHwDevice, &halProperties); in getProperties() 99 convertPropertiesFromHal(&properties, &halProperties); 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() 344 properties->maxSoundModels = halProperties->max_sound_models; in convertPropertiesFromHal() 345 properties->maxKeyPhrases = halProperties->max_key_phrases; in convertPropertiesFromHal() [all …]
|
D | SoundTriggerHw.h | 145 const struct sound_trigger_properties* halProperties);
|
/hardware/interfaces/soundtrigger/2.0/vts/functional/ |
D | VtsHalSoundtriggerV2_0TargetTest.cpp | 155 ISoundTriggerHw::Properties halProperties; in TEST_P() local 161 halProperties = res; in TEST_P() 166 EXPECT_GT(halProperties.maxSoundModels, 0u); in TEST_P() 167 EXPECT_GT(halProperties.maxKeyPhrases, 0u); in TEST_P() 168 EXPECT_NE(0u, (halProperties.recognitionModes & (uint32_t)RecognitionMode::VOICE_TRIGGER)); in TEST_P()
|
/hardware/interfaces/soundtrigger/2.1/vts/functional/ |
D | VtsHalSoundtriggerV2_1TargetTest.cpp | 184 ISoundTriggerHw::Properties halProperties; in TEST_P() local 190 halProperties = res; in TEST_P() 195 EXPECT_GT(halProperties.maxSoundModels, 0u); in TEST_P() 196 EXPECT_GT(halProperties.maxKeyPhrases, 0u); in TEST_P() 197 EXPECT_NE(0u, (halProperties.recognitionModes & (uint32_t)RecognitionMode::VOICE_TRIGGER)); in TEST_P()
|