Searched refs:hfpConfig (Results 1 – 1 of 1) sorted by relevance
1116 IBluetooth::HfpConfig hfpConfig; in filterAndUpdateBtHfpParameters() local1119 [&hfpConfig](const String8& trueOrFalse) { in filterAndUpdateBtHfpParameters()1121 hfpConfig.isEnabled = Boolean{ .value = true }; in filterAndUpdateBtHfpParameters()1124 hfpConfig.isEnabled = Boolean{ .value = false }; in filterAndUpdateBtHfpParameters()1133 [&hfpConfig](int sampleRate) { in filterAndUpdateBtHfpParameters()1135 hfpConfig.sampleRate = Int{ .value = sampleRate }, OK : BAD_VALUE; in filterAndUpdateBtHfpParameters()1139 [&hfpConfig](int volume0to15) { in filterAndUpdateBtHfpParameters()1141 hfpConfig.volume = Float{ .value = volume0to15 / 15.0f }; in filterAndUpdateBtHfpParameters()1146 if (mBluetooth != nullptr && hfpConfig != IBluetooth::HfpConfig{}) { in filterAndUpdateBtHfpParameters()1148 return statusTFromBinderStatus(mBluetooth->setHfpConfig(hfpConfig, &newHfpConfig)); in filterAndUpdateBtHfpParameters()