Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.h58 decltype(index_) GetIndex() const { return index_; } in GetIndex() function
64 log::assert_that(index_ == other.GetIndex(),
68 index_ = other.GetIndex();
Dhas_client_test.cc267 active_preset->GetIndex()); in set_sample_database()
447 conn_id, current->GetIndex()); in set_sample_database()
449 current->GetIndex(), cb, in set_sample_database()
469 if (rit->GetIndex() == current_preset) { in set_sample_database()
485 conn_id, rit->GetIndex()); in set_sample_database()
487 rit->GetIndex(), cb, cb_data); in set_sample_database()
514 if (rit->GetIndex() == current_preset) { in set_sample_database()
540 conn_id, rit->GetIndex()); in set_sample_database()
542 rit->GetIndex(), cb, cb_data); in set_sample_database()
570 if (rit->GetIndex() == current_preset) { in set_sample_database()
[all …]
Dhas_client.cc983 preset_indices.push_back(preset.GetIndex()); in NotifyHasDeviceValid()
1172 device.has_presets.erase(ntf.preset->GetIndex()); in OnHasPresetReadResponseNotification()
1180 auto info = device.GetPresetInfo(ntf.preset.value().GetIndex()); in OnHasPresetReadResponseNotification()
1229 if ((it->GetIndex() > nt.prev_index) && in OnHasPresetGenericUpdate()
1230 (it->GetIndex() < nt.preset->GetIndex())) { in OnHasPresetGenericUpdate()
1231 auto info = device.GetPresetInfo(it->GetIndex()); in OnHasPresetGenericUpdate()
1241 auto info = device.GetPreset(nt.preset->GetIndex()); in OnHasPresetGenericUpdate()
1244 device.has_presets.erase(nt.preset->GetIndex()); in OnHasPresetGenericUpdate()
1247 *device.GetPresetInfo(nt.preset->GetIndex())); in OnHasPresetGenericUpdate()
1251 updated_infos.push_back(*device.GetPresetInfo(nt.preset->GetIndex())); in OnHasPresetGenericUpdate()
[all …]
Dhas_types.h274 return bluetooth::has::PresetInfo({.preset_index = preset.GetIndex(), in GetPresetInfo()
288 all_info.push_back({.preset_index = preset.GetIndex(), in GetAllPresetInfo()
Dhas_preset.cc111 os << "{\"index\": " << +b.GetIndex(); in operator <<()