Lines Matching refs:mask
43 uint8_t mask = 0; in bta_ar_id() local
45 mask = BTA_AR_AV_MASK; in bta_ar_id()
47 mask = BTA_AR_AVK_MASK; in bta_ar_id()
50 return mask; in bta_ar_id()
97 uint8_t mask = 0; in bta_ar_reg_avdt() local
101 mask = BTA_AR_AV_MASK; in bta_ar_reg_avdt()
104 mask = BTA_AR_AVK_MASK; in bta_ar_reg_avdt()
110 if (mask) { in bta_ar_reg_avdt()
117 bta_ar_cb.avdt_registered |= mask; in bta_ar_reg_avdt()
131 uint8_t mask = 0; in bta_ar_dereg_avdt() local
135 mask = BTA_AR_AV_MASK; in bta_ar_dereg_avdt()
138 mask = BTA_AR_AVK_MASK; in bta_ar_dereg_avdt()
140 bta_ar_cb.avdt_registered &= ~mask; in bta_ar_dereg_avdt()
184 uint8_t mask = bta_ar_id(sys_id); in bta_ar_reg_avct() local
186 if (mask) { in bta_ar_reg_avct()
190 bta_ar_cb.avct_registered |= mask; in bta_ar_reg_avct()
204 uint8_t mask = bta_ar_id(sys_id); in bta_ar_dereg_avct() local
206 bta_ar_cb.avct_registered &= ~mask; in bta_ar_dereg_avct()
224 uint8_t mask = bta_ar_id(sys_id); in bta_ar_reg_avrc() local
227 if (!mask || !categories) return; in bta_ar_reg_avrc()
231 bta_ar_cb.tg_registered = mask; in bta_ar_reg_avrc()
242 bta_ar_cb.ct_categories[mask - 1] = categories; in bta_ar_reg_avrc()
272 uint8_t mask = bta_ar_id(sys_id); in bta_ar_dereg_avrc() local
276 if (!mask) return; in bta_ar_dereg_avrc()
279 if (bta_ar_cb.sdp_tg_handle && mask == bta_ar_cb.tg_registered) { in bta_ar_dereg_avrc()
287 bta_ar_cb.ct_categories[mask - 1] = 0; in bta_ar_dereg_avrc()