Searched refs:is_nth_bit_enabled (Results 1 – 1 of 1) sorted by relevance
242 static bool is_nth_bit_enabled(uint32_t value, int n) { in is_nth_bit_enabled() function542 bool service = !is_nth_bit_enabled(bia_mask_out, BTA_AG_IND_SERVICE); in btif_hf_upstreams_evt()543 bool roam = !is_nth_bit_enabled(bia_mask_out, BTA_AG_IND_ROAM); in btif_hf_upstreams_evt()544 bool signal = !is_nth_bit_enabled(bia_mask_out, BTA_AG_IND_SIGNAL); in btif_hf_upstreams_evt()545 bool battery = !is_nth_bit_enabled(bia_mask_out, BTA_AG_IND_BATTCHG); in btif_hf_upstreams_evt()