Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/common/
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()
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()
196 states_.insert(std::make_pair(state->StateId(), state)); in AddState()
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler.cc42 enum class StateId { RESET, WARMUP, RUNNING }; enum in bluetooth::audio::asrc::SourceAudioHalAsrc::ClockRecovery
45 StateId id;
76 if (state.id == StateId::RESET) { in OnEvent()
84 state.id = StateId::WARMUP; in OnEvent()
110 if (state.id == StateId::WARMUP) { in OnEvent()
117 state.id = StateId::RUNNING; in OnEvent()
172 : state_{.id = StateId::RESET}, reference_timing_{0, 0, 0} { in ClockRecovery()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_av.cc1136 (state_machine_.StateId() == BtifAvStateMachine::kStateIdle) && in CanBeDeleted()
1164 int state = state_machine_.StateId(); in IsConnected()
1170 int state = state_machine_.StateId(); in IsStreaming()
1320 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
1426 peer->StateMachine().StateId()); in popPeer()
1432 peer->StateMachine().StateId()); in AddPeer()
1572 switch (peer->StateMachine().StateId()) { in AllowedToConnect()
1683 peer->StateMachine().StateId()); in popPeer()
1689 peer->StateMachine().StateId()); in AddPeer()
3453 int state = peer->StateMachine().StateId(); in bta_av_sink_media_callback()
[all …]