Lines Matching full:next

62 	.next	  = &seg_2,
70 .next = &seg_3,
78 .next = NULL,
92 .next = &track_1_2,
101 .next = &track_1_3,
109 .next = &track_1_4,
117 .next = &track_1_5,
125 .next = NULL,
136 .next = &track_2_2,
144 .next = &track_2_3,
152 .next = NULL,
163 .next = &track_3_2,
171 .next = &track_3_3,
179 .next = NULL,
189 .next = &track_4_2,
197 .next = NULL,
211 .next = &group_2,
219 .next = &group_3,
227 .next = &group_4,
235 .next = NULL,
243 .next = NULL,
372 seg = seg->next; in setup_segments_object()
431 group = group->next; in setup_parent_group_object()
463 track = track->next; in setup_group_object()
650 track = track->next; in add_group_tracks()
678 group = group->next; in add_group_and_track_objects()
721 } else if (media_player.next_track_set && id == media_player.next.track->id) { in on_obj_selected()
722 /* Next track, if the next track has been explicitly set */ in on_obj_selected()
723 LOG_DBG("Next Track Object ID"); in on_obj_selected()
724 (void)setup_track_object(media_player.next.track); in on_obj_selected()
725 } else if (id == media_player.group->track->next->id) { in on_obj_selected()
726 /* Next track, if next track has not been explicitly set */ in on_obj_selected()
727 LOG_DBG("Next Track Object ID"); in on_obj_selected()
728 (void)setup_track_object(media_player.group->track->next); in on_obj_selected()
884 if (pl->group->track->segment->next != NULL) { in do_next_segment()
885 pl->group->track->segment = pl->group->track->segment->next; in do_next_segment()
906 while (pl->group->track->segment->next != NULL) { in do_last_segment()
907 pl->group->track->segment = pl->group->track->segment->next; in do_last_segment()
928 if (pl->group->track->segment->next != NULL) { in do_goto_segment()
930 pl->group->track->segment->next; in do_goto_segment()
935 while (pl->group->track->segment->next != NULL) { in do_goto_segment()
937 pl->group->track->segment->next; in do_goto_segment()
976 /* Change to next track according to the current track's next track */
983 if (pl->group->track->next != NULL) { in do_next_track_normal_order()
984 pl->group->track = pl->group->track->next; in do_next_track_normal_order()
994 /* Change to next track when the next track has been explicitly set
997 * Resets the next_track_set and the "next" pointers
1003 if (pl->next.group != pl->group) { in do_next_track_next_track_set()
1004 pl->group = pl->next.group; in do_next_track_next_track_set()
1008 pl->group->track = pl->next.track; in do_next_track_next_track_set()
1010 pl->next.track = NULL; in do_next_track_next_track_set()
1011 pl->next.group = NULL; in do_next_track_next_track_set()
1020 LOG_DBG("Next track set"); in do_next_track()
1062 if (pl->group->track->next != NULL) { in do_last_track()
1063 pl->group->track = pl->group->track->next; in do_last_track()
1073 while (pl->group->track->next != NULL) { in do_last_track()
1074 pl->group->track = pl->group->track->next; in do_last_track()
1100 if (pl->group->track->next != NULL) { in do_goto_track()
1101 pl->group->track = pl->group->track->next; in do_goto_track()
1107 while (pl->group->track->next != NULL) { in do_goto_track()
1108 pl->group->track = pl->group->track->next; in do_goto_track()
1161 if (pl->group->next != NULL) { in do_next_group()
1162 pl->group = pl->group->next; in do_next_group()
1197 if (pl->group->next != NULL) { in do_last_group()
1198 pl->group = pl->group->next; in do_last_group()
1202 while (pl->group->next != NULL) { in do_last_group()
1203 pl->group = pl->group->next; in do_last_group()
1229 if (pl->group->next != NULL) { in do_goto_group()
1230 pl->group = pl->group->next; in do_goto_group()
1236 while (pl->group->next != NULL) { in do_goto_group()
1237 pl->group = pl->group->next; in do_goto_group()
1269 if (pl->group->track->next) { in do_track_change_notifications()
1270 media_proxy_pl_next_track_id_cb(pl->group->track->next->id); in do_track_change_notifications()
1272 /* Send a zero value to indicate that there is no next track */ in do_track_change_notifications()
1380 * The case where the next track has been set explicitly breaks somewhat in inactive_state_command_handler()
1381 * with the "next" order hardcoded into the group and track structure in inactive_state_command_handler()
1385 /* For next track, the position is kept if the track */ in inactive_state_command_handler()
1665 /* For next track, the position is kept if the track */ in paused_state_command_handler()
1809 /* For next track, the position is kept if the track */ in seeking_state_command_handler()
1906 tmp_track = tmp_track->next; in find_track_by_id()
1909 tmp_group = tmp_group->next; in find_track_by_id()
1940 tmp_group = tmp_group->next; in find_group_by_id()
2100 /* If the next track has been set explicitly */ in get_next_track_id()
2102 return media_player.next.track->id; in get_next_track_id()
2106 if (media_player.group->track->next) { in get_next_track_id()
2107 return media_player.group->track->next->id; in get_next_track_id()
2110 /* Return zero value to indicate that there is no next track */ in get_next_track_id()
2119 LOG_DBG_OBJ_ID("Next Track ID to set: ", id); in set_next_track_id()
2124 media_player.next.group = group; in set_next_track_id()
2125 media_player.next.track = track; in set_next_track_id()
2304 /* Go to next track */ in pos_work_cb()
2481 (void)bt_ots_obj_id_to_str(media_player.next.track->id, t, sizeof(t)); in mpl_debug_dump_state()
2482 LOG_DBG("Next track: %s", t); in mpl_debug_dump_state()
2483 } else if (media_player.group->track->next) { in mpl_debug_dump_state()
2484 (void)bt_ots_obj_id_to_str(media_player.group->track->next->id, t, in mpl_debug_dump_state()
2486 LOG_DBG("Next track: %s", t); in mpl_debug_dump_state()
2488 LOG_DBG("No next track"); in mpl_debug_dump_state()
2520 track = track->next; in mpl_debug_dump_state()
2523 group = group->next; in mpl_debug_dump_state()
2593 media_proxy_pl_next_track_id_cb(media_player.group->track->next->id); in mpl_test_next_track_id_changed_cb()