Lines Matching refs:observer
73 for (auto& observer : *GetTargetObservers()) { in RemoteFeaturesCallback()
74 observer.RemoteFeaturesCallback(bd_addr, features); in RemoteFeaturesCallback()
82 for (auto& observer : *GetTargetObservers()) { in GetPlayStatusCallback()
83 observer.GetPlayStatusCallback(bd_addr); in GetPlayStatusCallback()
91 for (auto& observer : *GetTargetObservers()) { in ListPlayerAppAttrCallback()
92 observer.ListPlayerAppAttrCallback(bd_addr); in ListPlayerAppAttrCallback()
101 for (auto& observer : *GetTargetObservers()) { in ListPlayerAppValuesCallback()
102 observer.ListPlayerAppValuesCallback(attr_id, bd_addr); in ListPlayerAppValuesCallback()
111 for (auto& observer : *GetTargetObservers()) { in GetPlayerAppValueCallback()
112 observer.GetPlayerAppValueCallback(num_attr, p_attrs, bd_addr); in GetPlayerAppValueCallback()
122 for (auto& observer : *GetTargetObservers()) { in GetPlayerAppAttrsTextCallback()
123 observer.GetPlayerAppAttrsTextCallback(num_attr, p_attrs, bd_addr); in GetPlayerAppAttrsTextCallback()
133 for (auto& observer : *GetTargetObservers()) { in GetPlayerAppValuesTextCallback()
134 observer.GetPlayerAppValuesTextCallback(attr_id, num_val, p_vals, bd_addr); in GetPlayerAppValuesTextCallback()
143 for (auto& observer : *GetTargetObservers()) { in SetPlayerAppValueCallback()
144 observer.SetPlayerAppValueCallback(p_vals, bd_addr); in SetPlayerAppValueCallback()
153 for (auto& observer : *GetTargetObservers()) { in GetElementAttrCallback()
154 observer.GetElementAttrCallback(num_attr, p_attrs, bd_addr); in GetElementAttrCallback()
163 for (auto& observer : *GetTargetObservers()) { in RegisterNotificationCallback()
164 observer.RegisterNotificationCallback(event_id, param, bd_addr); in RegisterNotificationCallback()
173 for (auto& observer : *GetTargetObservers()) { in VolumeChangeCallback()
174 observer.VolumeChangeCallback(volume, ctype, bd_addr); in VolumeChangeCallback()
182 for (auto& observer : *GetTargetObservers()) { in PassthroughCmdCallback()
183 observer.PassthroughCmdCallback(id, key_state, bd_addr); in PassthroughCmdCallback()
191 for (auto& observer : *GetTargetObservers()) { in SetAddressedPlayerCallback()
192 observer.SetAddressedPlayerCallback(player_id, bd_addr); in SetAddressedPlayerCallback()
200 for (auto& observer : *GetTargetObservers()) { in SetBrowsedPlayerCallback()
201 observer.SetBrowsedPlayerCallback(player_id, bd_addr); in SetBrowsedPlayerCallback()
211 for (auto& observer : *GetTargetObservers()) { in GetFolderItemsCallback()
212 observer.GetFolderItemsCallback(scope, start_item, end_item, num_attr, in GetFolderItemsCallback()
222 for (auto& observer : *GetTargetObservers()) { in ChangePathCallback()
223 observer.ChangePathCallback(direction, folder_uid, bd_addr); in ChangePathCallback()
233 for (auto& observer : *GetTargetObservers()) { in GetItemAttrCallback()
234 observer.GetItemAttrCallback(scope, uid, uid_counter, num_attr, p_attrs, in GetItemAttrCallback()
244 for (auto& observer : *GetTargetObservers()) { in PlayItemCallback()
245 observer.PlayItemCallback(scope, uid_counter, uid, bd_addr); in PlayItemCallback()
253 for (auto& observer : *GetTargetObservers()) { in GetTotalNumOfItemsCallback()
254 observer.GetTotalNumOfItemsCallback(scope, bd_addr); in GetTotalNumOfItemsCallback()
263 for (auto& observer : *GetTargetObservers()) { in SearchCallback()
264 observer.SearchCallback(str_len, p_str, bd_addr); in SearchCallback()
273 for (auto& observer : *GetTargetObservers()) { in AddToNowPlayingCallback()
274 observer.AddToNowPlayingCallback(scope, uid, uid_counter, bd_addr); in AddToNowPlayingCallback()
282 for (auto& observer : *GetControlObservers()) { in PassthroughRspCallback()
283 observer.PassthroughRspCallback(bd_addr, id, key_state); in PassthroughRspCallback()
291 for (auto& observer : *GetControlObservers()) { in GroupnavigationRspCallback()
292 observer.GroupnavigationRspCallback(id, key_state); in GroupnavigationRspCallback()
301 for (auto& observer : *GetControlObservers()) { in ConnectionStateCallback()
302 observer.ConnectionStateCallback(rc_connect, bt_connect, bd_addr); in ConnectionStateCallback()
310 for (auto& observer : *GetControlObservers()) { in CtrlGetrcfeaturesCallback()
311 observer.CtrlGetrcfeaturesCallback(bd_addr, features); in CtrlGetrcfeaturesCallback()
321 for (auto& observer : *GetControlObservers()) { in CtrlSetplayerapplicationsettingRspCallback()
322 observer.CtrlSetplayerapplicationsettingRspCallback(bd_addr, accepted); in CtrlSetplayerapplicationsettingRspCallback()
333 for (auto& observer : *GetControlObservers()) { in CtrlPlayerapplicationsettingCallback()
334 observer.CtrlPlayerapplicationsettingCallback(bd_addr, num_attr, app_attrs, in CtrlPlayerapplicationsettingCallback()
344 for (auto& observer : *GetControlObservers()) { in CtrlPlayerapplicationsettingChangedCallback()
345 observer.CtrlPlayerapplicationsettingChangedCallback(bd_addr, vals); in CtrlPlayerapplicationsettingChangedCallback()
354 for (auto& observer : *GetControlObservers()) { in CtrlSetabsvolCmdCallback()
355 observer.CtrlSetabsvolCmdCallback(bd_addr, abs_vol, label); in CtrlSetabsvolCmdCallback()
364 for (auto& observer : *GetControlObservers()) { in CtrlRegisternotificationAbsVolCallback()
365 observer.CtrlRegisternotificationAbsVolCallback(bd_addr, label); in CtrlRegisternotificationAbsVolCallback()
374 for (auto& observer : *GetControlObservers()) { in CtrlTrackChangedCallback()
375 observer.CtrlTrackChangedCallback(bd_addr, num_attr, p_attrs); in CtrlTrackChangedCallback()
384 for (auto& observer : *GetControlObservers()) { in CtrlPlayPositionChangedCallback()
385 observer.CtrlPlayPositionChangedCallback(bd_addr, song_len, song_pos); in CtrlPlayPositionChangedCallback()
394 for (auto& observer : *GetControlObservers()) { in CtrlPlayStatusChangedCallback()
395 observer.CtrlPlayStatusChangedCallback(bd_addr, play_status); in CtrlPlayStatusChangedCallback()
405 for (auto& observer : *GetControlObservers()) { in CtrlGetFolderItemsCallback()
406 observer.CtrlGetFolderItemsCallback(bd_addr, status, folder_items, count); in CtrlGetFolderItemsCallback()
414 for (auto& observer : *GetControlObservers()) { in CtrlChangePathCallback()
415 observer.CtrlChangePathCallback(bd_addr, count); in CtrlChangePathCallback()
424 for (auto& observer : *GetControlObservers()) { in CtrlSetBrowsedPlayerCallback()
425 observer.CtrlSetBrowsedPlayerCallback(bd_addr, num_items, depth); in CtrlSetBrowsedPlayerCallback()
433 for (auto& observer : *GetControlObservers()) { in CtrlSetAddressedPlayerCallback()
434 observer.CtrlSetAddressedPlayerCallback(bd_addr, status); in CtrlSetAddressedPlayerCallback()
541 void AddTargetObserver(TargetObserver* observer) override { in AddTargetObserver() argument
542 target_observers_.AddObserver(observer); in AddTargetObserver()
545 void RemoveTargetObserver(TargetObserver* observer) override { in RemoveTargetObserver() argument
546 target_observers_.RemoveObserver(observer); in RemoveTargetObserver()
549 void AddControlObserver(ControlObserver* observer) override { in AddControlObserver() argument
550 control_observers_.AddObserver(observer); in AddControlObserver()
553 void RemoveControlObserver(ControlObserver* observer) override { in RemoveControlObserver() argument
554 control_observers_.RemoveObserver(observer); in RemoveControlObserver()