/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | stream_apis.cc | 83 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 …]
|
D | device_port_proxy.h | 105 virtual BluetoothStreamState GetState() const { in GetState() function 158 BluetoothStreamState GetState() const override;
|
D | device_port_proxy_hidl.h | 61 BluetoothStreamState GetState() const override;
|
/packages/modules/Bluetooth/system/test/suite/adapter/ |
D | adapter_unittest.cc | 37 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 …]
|
D | bluetooth_test.h | 53 bt_state_t GetState();
|
D | bluetooth_test.cc | 86 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine_test.cc | 333 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 …]
|
D | state_machine.cc | 58 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 …]
|
D | broadcaster.cc | 186 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()
|
D | state_machine.h | 36 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()
|
D | mock_state_machine.h | 56 this->cb->OnStateMachineEvent(this->cfg.broadcast_id, GetState(), in MockBroadcastStateMachine()
|
/packages/modules/Bluetooth/system/service/test/ |
D | adapter_unittest.cc | 127 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()
|
D | mock_adapter.h | 36 MOCK_CONST_METHOD0(GetState, AdapterState());
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | state_machine.cc | 142 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 …]
|
D | state_machine_test.cc | 1244 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 …]
|
D | client.cc | 459 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/ |
D | adapter.cc | 235 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()
|
D | adapter.h | 113 virtual AdapterState GetState() const = 0;
|
/packages/modules/Bluetooth/system/service/common/android/bluetooth/ |
D | IBluetooth.aidl | 34 int GetState(); in GetState() method
|
/packages/modules/Bluetooth/system/test/suite/rfcomm/ |
D | rfcomm_test.cc | 36 ASSERT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | sco_connection.h | 98 ScoState GetState() const { return state_; } in GetState() function
|
D | acl_connection_handler.cc | 473 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/ |
D | gatt_test.cc | 41 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
|
/packages/modules/Bluetooth/system/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 61 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/ |
D | btmanagerd_test.py | 59 return self.manager_object.GetState(dbus_interface=MANAGER_INTERFACE_NAME)
|