Searched refs:target_state (Results 1 – 1 of 1) sorted by relevance
126 headset_state_t target_state; member478 static void pending_connect_init(struct headset *hs, headset_state_t target_state) in pending_connect_init() argument481 if (hs->pending->target_state < target_state) in pending_connect_init()482 hs->pending->target_state = target_state; in pending_connect_init()487 hs->pending->target_state = target_state; in pending_connect_init()491 headset_state_t target_state, in connect_cb_new() argument498 pending_connect_init(hs, target_state); in connect_cb_new()680 if (p->target_state == HEADSET_STATE_CONNECTED) { in hfp_slc_complete()1387 if (p && p->target_state == HEADSET_STATE_PLAYING) { in headset_connect_cb()2349 hs->pending->target_state = HEADSET_STATE_PLAYING; in headset_request_stream()[all …]