Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dstream_apis.cc83 LOG(INFO) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
98 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
101 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
153 LOG(VERBOSE) << __func__ << ": state=" << in->bluetooth_input_->GetState() in in_calculate_starving_delay_ms()
206 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_sample_rate()
210 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_sample_rate()
218 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_set_sample_rate()
227 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_buffer_size()
237 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_channels()
241 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_channels()
[all …]
Ddevice_port_proxy.h105 virtual BluetoothStreamState GetState() const { in GetState() function
158 BluetoothStreamState GetState() const override;
Ddevice_port_proxy_hidl.h61 BluetoothStreamState GetState() const override;
/packages/modules/Bluetooth/system/test/suite/adapter/
Dadapter_unittest.cc37 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
42 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
46 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
50 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
56 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
60 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
69 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
113 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
121 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
131 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
[all …]
Dbluetooth_test.h53 bt_state_t GetState();
Dbluetooth_test.cc86 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine_test.cc333 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
462 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
502 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
512 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
528 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
538 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
548 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
558 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
569 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
579 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
[all …]
Dstate_machine.cc58 if (GetState() == State::STREAMING) TerminateBig(); in ~BroadcastStateMachineImpl()
142 ToString(GetState()).c_str(), ToString(msg).c_str()); in ProcessMessage()
145 start_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
148 stop_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
151 suspend_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
171 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anonb887c9f30202()
192 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anonb887c9f30902()
202 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anonb887c9f30b02()
338 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in EnableAnnouncementCb()
353 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in EnableAnnouncementTimeoutCb()
[all …]
Dbroadcaster.cc186 if (broadcast->GetState() == BroadcastStateMachine::State::STREAMING) { in UpdateStreamingContextTypeOnAllSubgroups()
429 return sm.second->GetState() == in IsAnyoneStreaming()
518 kv_it.second->GetState())); in GetAllBroadcastStates()
630 ToString((*pending_broadcast)->GetState()).c_str()); in OnStateMachineCreateStatus()
655 ToString(sm.second->GetState()).c_str()); in getStreamerCount()
656 return sm.second->GetState() == in getStreamerCount()
794 ToString(broadcast->GetState()).c_str()); in sendBroadcastData()
832 if ((broadcast->GetState() == in OnAudioDataReady()
Dstate_machine.h36 StateT GetState() const { return state_; } in GetState() function
133 inline State GetState(void) const { in GetState() function
134 return static_cast<State>(StateMachine::GetState()); in GetState()
Dmock_state_machine.h56 this->cb->OnStateMachineEvent(this->cfg.broadcast_id, GetState(), in MockBroadcastStateMachine()
/packages/modules/Bluetooth/system/service/test/
Dadapter_unittest.cc127 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
131 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
142 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, adapter_->GetState()); in TEST_F()
147 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
162 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
166 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, adapter_->GetState()); in TEST_F()
182 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, adapter_->GetState()); in TEST_F()
186 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); in TEST_F()
Dmock_adapter.h36 MOCK_CONST_METHOD0(GetState, AdapterState());
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine.cc142 if (group->GetState() != AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) { in AttachToStream()
144 ToString(group->GetState()).c_str()); in AttachToStream()
171 LOG_INFO(" current state: %s", ToString(group->GetState()).c_str()); in StartStream()
173 switch (group->GetState()) { in StartStream()
239 ToString(group->GetState()).c_str()); in StartStream()
250 if (group->GetState() > AseState::BTA_LE_AUDIO_ASE_STATE_CODEC_CONFIGURED) { in ConfigureStream()
253 ToString(group->GetState()).c_str()); in ConfigureStream()
410 ToString(group->GetState()).c_str(), in ProcessHciNotifOnCigCreate()
631 if ((group->GetState() == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE) && in ProcessHciNotifAclDisconnected()
653 if (group->GetState() == AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) { in ProcessHciNotifAclDisconnected()
[all …]
Dstate_machine_test.cc1244 ASSERT_EQ(group->GetState(), in TEST_F()
1289 ASSERT_EQ(group->GetState(), in TEST_F()
1334 ASSERT_EQ(group->GetState(), in TEST_F()
1382 ASSERT_EQ(group->GetState(), in TEST_F()
1428 ASSERT_EQ(group->GetState(), in TEST_F()
1479 ASSERT_EQ(group->GetState(), in TEST_F()
1528 ASSERT_EQ(group->GetState(), in TEST_F()
1581 ASSERT_EQ(group->GetState(), in TEST_F()
1635 ASSERT_EQ(group->GetState(), in TEST_F()
1688 ASSERT_EQ(group->GetState(), in TEST_F()
[all …]
Dclient.cc459 group_id, ToString(group->GetState()).c_str(), in OnLeAudioDeviceSetStateTimeout()
812 ToString(group->GetState()).c_str(), in GroupStream()
846 if (group->GetState() != AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) { in GroupStream()
878 ToString(group->GetState()).c_str(), in GroupSuspend()
883 if (group->GetState() != AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) { in GroupSuspend()
885 ToString(group->GetState()).c_str()); in GroupSuspend()
905 if (group->GetState() == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE) { in GroupStop()
907 ToString(group->GetState()).c_str()); in GroupStop()
1329 group->GetState() == in Disconnect()
1602 (group->GetState() == in LeAudioCharValueHandle()
[all …]
/packages/modules/Bluetooth/system/service/
Dadapter.cc235 AdapterState GetState() const override { return state_.load(); } in GetState() function in bluetooth::AdapterImpl
240 AdapterState current_state = GetState(); in Enable()
270 AdapterState current_state = GetState(); in Disable()
511 AdapterState prev_state = GetState(); in AdapterStateChangedCallback()
526 NotifyAdapterStateChanged(prev_state, GetState()); in AdapterStateChangedCallback()
Dadapter.h113 virtual AdapterState GetState() const = 0;
/packages/modules/Bluetooth/system/service/common/android/bluetooth/
DIBluetooth.aidl34 int GetState(); in GetState() method
/packages/modules/Bluetooth/system/test/suite/rfcomm/
Drfcomm_test.cc36 ASSERT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dsco_connection.h98 ScoState GetState() const { return state_; } in GetState() function
Dacl_connection_handler.cc473 ScoState state = std::get<ScoConnection>(pair).GetState(); in HasPendingScoConnection()
486 return std::get<ScoConnection>(pair).GetState(); in GetScoConnectionState()
/packages/modules/Bluetooth/system/test/suite/gatt/
Dgatt_test.cc41 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/packages/modules/Bluetooth/system/service/ipc/binder/
Dbluetooth_binder_server.cc61 Status BluetoothBinderServer::GetState(int32_t* _aidl_return) { in GetState() function in ipc::binder::BluetoothBinderServer
63 *_aidl_return = adapter_->GetState(); in GetState()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/test/
Dbtmanagerd_test.py59 return self.manager_object.GetState(dbus_interface=MANAGER_INTERFACE_NAME)

12