Home
last modified time | relevance | path

Searched refs:StateId (Results 1 – 3 of 3) sorted by relevance

/system/bt/common/
Dstate_machine.h68 int StateId() const { return state_id_; } in StateId() function
126 int StateId() const { in StateId() function
128 return current_state_->StateId(); in StateId()
140 return previous_state_->StateId(); in PreviousStateId()
195 states_.insert(std::make_pair(state->StateId(), state)); in AddState()
Dstate_machine_unittest.cc159 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()
165 ASSERT_EQ(sm_.kStateInvalid, sm_.StateId()); in TEST_F()
168 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()
174 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()
183 ASSERT_EQ(sm_.kStateOne, sm_.StateId()); in TEST_F()
193 ASSERT_EQ(sm_.kStateTwo, sm_.StateId()); in TEST_F()
202 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()
215 ASSERT_EQ(sm_.kStateOne, sm_.StateId()); in TEST_F()
233 ASSERT_EQ(sm_.kStateTwo, sm_.StateId()); in TEST_F()
252 ASSERT_EQ(sm_.kStateZero, sm_.StateId()); in TEST_F()
/system/bt/btif/src/
Dbtif_av.cc931 (state_machine_.StateId() == BtifAvStateMachine::kStateIdle) && in CanBeDeleted()
948 int state = state_machine_.StateId(); in IsConnected()
954 int state = state_machine_.StateId(); in IsStreaming()
1091 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
1299 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
2733 int state = peer->StateMachine().StateId(); in bta_av_sink_media_callback()
3071 if (peer->StateMachine().StateId() == BtifAvStateMachine::kStateStarted) { in src_do_suspend_in_main_thread()
3128 int state = peer->StateMachine().StateId(); in btif_av_stream_ready()
3148 int state = peer->StateMachine().StateId(); in btif_av_stream_started_ready()
3363 int state = peer.StateMachine().StateId(); in btif_debug_av_peer_dump()