Searched refs:GetIndex (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/system/bta/has/ |
D | has_preset.h | 58 decltype(index_) GetIndex() const { return index_; } in GetIndex() function 64 log::assert_that(index_ == other.GetIndex(), 68 index_ = other.GetIndex();
|
D | has_client_test.cc | 267 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 …]
|
D | has_client.cc | 983 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 …]
|
D | has_types.h | 274 return bluetooth::has::PresetInfo({.preset_index = preset.GetIndex(), in GetPresetInfo() 288 all_info.push_back({.preset_index = preset.GetIndex(), in GetAllPresetInfo()
|
D | has_preset.cc | 111 os << "{\"index\": " << +b.GetIndex(); in operator <<()
|