Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy_hidl.cc120 state_(BluetoothStreamState::DISABLED) {} in BluetoothAudioPortHidl()
133 state_ = BluetoothStreamState::STANDBY; in SetUp()
245 BluetoothStreamState previous_state = state_; in ControlResultHandler()
256 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
268 state_ = BluetoothStreamState::STARTED; in ControlResultHandler()
276 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
281 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
290 state_ = BluetoothStreamState::DISABLED; in ControlResultHandler()
310 BluetoothStreamState previous_state = state_; in SessionChangedHandler()
315 state_ = BluetoothStreamState::DISABLED; in SessionChangedHandler()
[all …]
Ddevice_port_proxy.cc123 state_(BluetoothStreamState::DISABLED), in BluetoothAudioPortAidl()
137 state_ = BluetoothStreamState::STANDBY; in SetUp()
259 BluetoothStreamState previous_state = state_; in ControlResultHandler()
270 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
281 state_ = BluetoothStreamState::STARTED; in ControlResultHandler()
288 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
293 state_ = BluetoothStreamState::STANDBY; in ControlResultHandler()
301 state_ = BluetoothStreamState::DISABLED; in ControlResultHandler()
321 BluetoothStreamState previous_state = state_; in SessionChangedHandler()
325 state_ = BluetoothStreamState::DISABLED; in SessionChangedHandler()
[all …]
Ddevice_port_proxy_hidl.h87 BluetoothStreamState state_; variable
Ddevice_port_proxy.h183 BluetoothStreamState state_; variable
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_parser.cc31 state_ = HCI_TYPE; in Reset()
95 switch (state_) { in BytesRequested()
125 switch (state_) { in Consume()
167 switch (state_) { in Consume()
180 state_ = HCI_RECOVERY; in Consume()
184 state_ = HCI_PREAMBLE; in Consume()
194 state_ = HCI_TYPE; in Consume()
197 state_ = HCI_PAYLOAD; in Consume()
205 state_ = HCI_TYPE; in Consume()
Dh4_parser.h63 State CurrentState() { return state_; }; in CurrentState()
102 State state_{HCI_TYPE};
110 H4Parser::State const& state_) {
111 switch (state_) {
125 os << "unknown state " << static_cast<int>(state_);
/packages/modules/adb/client/pairing/
Dpairing_client.cpp74 State state_ = State::Ready; member in adbwifi::pairing::__anon5847fc2b0111::PairingClientImpl
92 state_ = State::Ready; in PairingClientImpl()
108 if (state_ != State::Ready) { in Start()
120 state_ = State::Stopped; in Start()
124 state_ = State::Running; in Start()
147 state_ = State::Stopped; in StartConnection()
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp76 State state_ = State::Ready; member in adb::pairing::__anon1681300e0111::PairingClientImpl
108 state_ = State::Ready; in PairingClientImpl()
116 if (state_ != State::Ready) { in Start()
128 state_ = State::Stopped; in Start()
132 state_ = State::Running; in Start()
181 state_ = State::Stopped; in StartConnection()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dsco_connection.h91 state_(state), in ScoConnection()
99 ScoState GetState() const { return state_; } in GetState()
100 void SetState(ScoState state) { state_ = state; } in SetState()
124 ScoState state_; variable
Dacl_connection.h62 AclConnectionState GetMode() const { return state_; } in GetMode()
98 AclConnectionState state_{kActiveMode};
Dsco_connection.cc242 if (state_ == SCO_STATE_SENT_ESCO_CONNECTION_REQUEST && in NegotiateLinkParameters()
275 if (state_ == SCO_STATE_SENT_SCO_CONNECTION_REQUEST) { in NegotiateLinkParameters()
/packages/modules/Bluetooth/system/stack/test/eatt/
Deatt_test.cc106 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_PENDING); in ConnectDeviceEattSupported()
113 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in ConnectDeviceEattSupported()
172 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_PENDING); in ConnectDeviceBothSides()
179 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in ConnectDeviceBothSides()
196 ASSERT_EQ(channel->state_, EattChannelState::EATT_CHANNEL_OPENED); in ConnectDeviceBothSides()
463 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
491 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
519 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
547 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
575 ASSERT_TRUE(channel->state_ == EattChannelState::EATT_CHANNEL_OPENED); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/stack/eatt/
Deatt.h49 EattChannelState state_; variable
66 state_(EattChannelState::EATT_CHANNEL_PENDING), in EattChannel()
85 if (state_ == EattChannelState::EATT_CHANNEL_PENDING) { in EattChannelSetState()
98 state_ = state; in EattChannelSetState()
Deatt_impl.h100 if (el.second->state_ == EattChannelState::EATT_CHANNEL_PENDING) in is_channel_connection_pending()
212 if (el.second->state_ == EattChannelState::EATT_CHANNEL_OPENED) {
485 switch (channel->state_) { in eatt_l2cap_error_cb()
499 reason, static_cast<uint8_t>(channel->state_)); in eatt_l2cap_error_cb()
668 return el.second->state_ == EattChannelState::EATT_CHANNEL_OPENED && in get_channel_available_for_indication()
684 return el.second->state_ == EattChannelState::EATT_CHANNEL_OPENED && in get_channel_available_for_client_request()
/packages/modules/Bluetooth/system/test/suite/adapter/
Dbluetooth_test.cc45 instance->state_ = new_state; in AdapterStateChangedCallback()
87 state_ = BT_STATE_OFF; in SetUp()
120 bt_state_t BluetoothTest::GetState() { return state_; } in GetState()
Dbluetooth_test.h145 bt_state_t state_;
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine.h35 StateMachine() : state_(std::numeric_limits<StateT>::min()) {} in StateMachine()
38 StateT GetState() const { return state_; } in GetState()
40 if (state < S) state_ = state; in SetState()
44 StateT state_;
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp134 std::atomic<State> state_{State::Ready}; member
212 state_ = State::Stopped; in WriteHeader()
274 state_ = State::Stopped; in NotifyResult()
284 if (!state_.compare_exchange_strong(expected, State::ExchangingMsgs)) { in Start()
415 switch (state_) { in StartWorker()
421 state_ = State::ExchangingPeerInfo; in StartWorker()
Dpairing_server.cpp124 State state_ = State::Ready; member
186 if (state_ != State::Ready) { in Start()
194 state_ = State::Stopped; in Start()
199 state_ = State::Running; in Start()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dsignalling_manager.cc378 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ) { in OnConfigurationRequest()
385 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationRequest()
388 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationRequest()
389 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_RSP; in OnConfigurationRequest()
587 if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_RSP) { in OnConfigurationResponse()
594 configuration_state.state_ = ChannelConfigurationState::State::CONFIGURED; in OnConfigurationResponse()
597 } else if (configuration_state.state_ == ChannelConfigurationState::State::WAIT_CONFIG_REQ_RSP) { in OnConfigurationResponse()
598 configuration_state.state_ = ChannelConfigurationState::State::WAIT_CONFIG_REQ; in OnConfigurationResponse()
616 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionRequest()
646 if (configuration_state.state_ == configuration_state.CONFIGURED) { in OnDisconnectionResponse()
Dchannel_configuration_state.h50 State state_ = State::WAIT_CONFIG_REQ_RSP; member
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp114 State state_ = State::Ready; member in adbwifi::pairing::__anon1ee857250111::PairingServerImpl
169 if (state_ != State::Ready) { in start()
176 state_ = State::Stopped; in start()
180 state_ = State::Running; in start()
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevice_groups.h56 : group_(group), state_(types::CigState::NONE) {} in CigConfiguration()
58 types::CigState GetState(void) const { return state_; } in GetState()
60 log::verbose("{} -> {}", bluetooth::common::ToString(state_), in SetState()
62 state_ = state; in SetState()
76 types::CigState state_; variable
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_source.cc190 state_(kStateOff) {} in BtifA2dpSource()
202 state_ = kStateOff; in Reset()
205 BtifA2dpSource::RunState State() const { return state_; } in State()
207 switch (state_) { in StateStr()
219 void SetState(BtifA2dpSource::RunState state) { state_ = state; } in SetState()
231 BtifA2dpSource::RunState state_; member in BtifA2dpSource
/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler.cc57 } state_; member in bluetooth::audio::asrc::SourceAudioHalAsrc::ClockRecovery
72 auto& state = state_; in OnEvent()
172 : state_{.id = StateId::RESET}, reference_timing_{0, 0, 0} { in ClockRecovery()