Lines Matching refs:num_handles
559 uint16_t AVDT_StartReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_StartReq() argument
565 AVDT_TRACE_DEBUG("%s: num_handles=%d", __func__, num_handles); in AVDT_StartReq()
567 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_StartReq()
571 for (i = 0; i < num_handles; i++) { in AVDT_StartReq()
585 memcpy(evt.msg.multi.seid_list, p_handles, num_handles); in AVDT_StartReq()
586 evt.msg.multi.num_seps = num_handles; in AVDT_StartReq()
592 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_StartReq()
594 num_handles); in AVDT_StartReq()
598 (i < num_handles ? p_handles[i] : p_handles[num_handles - 1])); in AVDT_StartReq()
619 uint16_t AVDT_SuspendReq(uint8_t* p_handles, uint8_t num_handles) { in AVDT_SuspendReq() argument
625 AVDT_TRACE_DEBUG("%s: num_handles=%d", __func__, num_handles); in AVDT_SuspendReq()
627 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_SuspendReq()
631 for (i = 0; i < num_handles; i++) { in AVDT_SuspendReq()
645 memcpy(evt.msg.multi.seid_list, p_handles, num_handles); in AVDT_SuspendReq()
646 evt.msg.multi.num_seps = num_handles; in AVDT_SuspendReq()
652 if ((num_handles == 0) || (num_handles > AVDT_NUM_SEPS)) { in AVDT_SuspendReq()
654 num_handles); in AVDT_SuspendReq()
658 (i < num_handles ? p_handles[i] : p_handles[num_handles - 1])); in AVDT_SuspendReq()