Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dstream_apis.cc81 LOG(INFO) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
96 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
99 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_calculate_feeding_delay_ms()
151 LOG(VERBOSE) << __func__ << ": state=" << in->bluetooth_input_->GetState() in in_calculate_starving_delay_ms()
204 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_sample_rate()
208 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_sample_rate()
216 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_set_sample_rate()
225 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_buffer_size()
235 LOG(VERBOSE) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_channels()
239 LOG(WARNING) << __func__ << ": state=" << out->bluetooth_output_->GetState() in out_get_channels()
[all …]
Ddevice_port_proxy.h101 virtual BluetoothStreamState GetState() const { in GetState() function
155 BluetoothStreamState GetState() const override;
Ddevice_port_proxy_hidl.h60 BluetoothStreamState GetState() const override;
/packages/modules/Bluetooth/system/test/suite/adapter/
Dadapter_unittest.cc36 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
41 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
45 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
49 EXPECT_EQ(GetState(), BT_STATE_OFF) in TEST_F()
55 EXPECT_EQ(GetState(), BT_STATE_ON) << "Adapter did not turn on."; in TEST_F()
59 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
68 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
112 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
120 EXPECT_EQ(GetState(), BT_STATE_ON) in TEST_F()
130 EXPECT_EQ(GetState(), BT_STATE_OFF) << "Adapter did not turn off."; in TEST_F()
[all …]
Dbluetooth_test.h89 bt_state_t GetState();
Dbluetooth_test.cc120 bt_state_t BluetoothTest::GetState() { return state_; } in GetState() function in bttest::BluetoothTest
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine_test.cc387 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
529 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()
595 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
605 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
615 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
625 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
636 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
646 ASSERT_EQ(broadcasts_[broadcast_id]->GetState(), in TEST_F()
[all …]
Dstate_machine.cc66 if (GetState() == State::STREAMING) TerminateBig(); in ~BroadcastStateMachineImpl()
184 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in OnEnableAnnouncement()
195 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in OnEnableAnnouncement()
225 ToString(GetState()), ToString(msg)); in ProcessMessage()
228 start_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
231 stop_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
234 suspend_msg_handlers[StateMachine::GetState()](data); in ProcessMessage()
254 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470202()
275 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470902()
285 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470b02()
[all …]
Dstate_machine.h38 StateT GetState() const { return state_; } in GetState() function
146 inline State GetState(void) const { in GetState() function
147 return static_cast<State>(StateMachine::GetState()); in GetState()
Dbroadcaster.cc271 if (broadcast->GetState() == BroadcastStateMachine::State::STREAMING) { in UpdateStreamingContextTypeOnAllSubgroups()
678 return sm.second->GetState() == in IsAnyoneStreaming()
798 kv_it.second->GetState())); in GetAllBroadcastStates()
943 ToString((*pending_broadcast)->GetState())); in OnStateMachineCreateStatus()
967 ToString(sm.second->GetState())); in getStreamerCount()
968 return sm.second->GetState() == in getStreamerCount()
1171 broadcast->GetBroadcastId(), ToString(broadcast->GetState())); in sendBroadcastData()
1223 if ((broadcast->GetState() == in OnAudioDataReady()
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine.cc159 if (group->GetState() != AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING || in AttachToStream()
163 group->group_id_, ToString(group->GetState()), in AttachToStream()
197 log::info("current state: {}", ToString(group->GetState())); in StartStream()
199 switch (group->GetState()) { in StartStream()
277 log::error("Unable to transit from {}", ToString(group->GetState())); in StartStream()
288 if (group->GetState() > AseState::BTA_LE_AUDIO_ASE_STATE_CODEC_CONFIGURED) { in ConfigureStream()
291 ToString(group->GetState())); in ConfigureStream()
496 status, ToString(group->cig.GetState())); in ProcessHciNotifOnCigCreate()
501 log::assert_that(group->cig.GetState() == CigState::CREATING, in ProcessHciNotifOnCigCreate()
503 group->group_id_, ToString(group->cig.GetState())); in ProcessHciNotifOnCigCreate()
[all …]
Dstate_machine_test.cc1708 ASSERT_EQ(group->GetState(), in TEST_F()
1754 ASSERT_EQ(group->GetState(), in TEST_F()
1801 ASSERT_EQ(group->GetState(), in TEST_F()
1850 ASSERT_EQ(group->GetState(), in TEST_F()
1897 ASSERT_EQ(group->GetState(), in TEST_F()
1950 ASSERT_EQ(group->GetState(), types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE); in TEST_F()
1993 ASSERT_EQ(group->GetState(), in TEST_F()
2071 ASSERT_EQ(group->GetState(), types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE); in TEST_F()
2122 ASSERT_EQ(group->GetState(), in TEST_F()
2181 ASSERT_EQ(group->GetState(), types::AseState::BTA_LE_AUDIO_ASE_STATE_IDLE); in TEST_F()
[all …]
Ddevice_groups.cc158 if (GetState() == AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) { in Cleanup()
1551 GetState() == AseState::BTA_LE_AUDIO_ASE_STATE_CODEC_CONFIGURED; in ConfigureAses()
1834 group_id_, bluetooth::common::ToString(GetState()), address); in Disable()
1859 group_id_, bluetooth::common::ToString(GetState()), address); in Enable()
1885 bluetooth::common::ToString(GetState()), address); in AddToAllowListNotConnectedGroupMembers()
1907 group_id_, bluetooth::common::ToString(GetState()), in ApplyReconnectionMode()
1992 << ", state: " << bluetooth::common::ToString(GetState()) in PrintDebugState()
1995 << ", cig state: " << bluetooth::common::ToString(cig.GetState()) in PrintDebugState()
2058 << " state: " << GetState() in Dump()
2060 << ",\tcig state: " << cig.GetState() << "\n" in Dump()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DSocketNodeTest.cpp164 ON_CALL(mMockNode, GetState).WillByDefault(Return(kNodeStateRunning)); in SetUp()
254 EXPECT_EQ(mReader->GetState(), kNodeStateStopped); in TEST_F()
259 ON_CALL(mMockNode, GetState).WillByDefault(Return(kNodeStateStopped)); in TEST_F()
269 EXPECT_EQ(mReader->GetState(), kNodeStateRunning); in TEST_F()
287 EXPECT_EQ(mReader->GetState(), kNodeStateStopped); in TEST_F()
DRtcpDecoderNodeTests.cpp77 virtual kBaseNodeState GetState() { return kNodeStateRunning; } in GetState() function in __anonfe04f4e70111::FakeNode
214 EXPECT_EQ(pRtcpDecNode->GetState(), kNodeStateRunning); in TEST_F()
217 EXPECT_EQ(pRtcpDecNode->GetState(), kNodeStateStopped); in TEST_F()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DStreamSchedulerTest.cpp124 EXPECT_EQ(node.GetState(), kNodeStateRunning); in TEST_F()
139 EXPECT_EQ(node.GetState(), kNodeStateRunning); in TEST_F()
162 EXPECT_EQ(node2.GetState(), kNodeStateRunning); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DStreamScheduler.cpp109 if (node != nullptr && node->GetState() == kNodeStateRunning && !node->IsRunTime()) in RunRegisteredNode()
156 if (node->GetState() == kNodeStateStopped) in run()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtpTxTest.cpp227 EXPECT_EQ(mockRtpEncoder->GetState(), kNodeStateRunning); in TEST_F()
252 EXPECT_EQ(mockRtpEncoder->GetState(), kNodeStateStopped); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp220 kBaseNodeState BaseNode::GetState() in GetState() function in BaseNode
311 if (node != nullptr && node->GetState() == kNodeStateRunning) in SendDataToRearNode()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dsco_connection.h99 ScoState GetState() const { return state_; } in GetState() function
Dacl_connection_handler.cc316 ScoState state = std::get<ScoConnection>(pair).GetState(); in HasPendingScoConnection()
329 return std::get<ScoConnection>(pair).GetState(); in GetScoConnectionState()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/include/
DMockBaseNode.h43 MOCK_METHOD(kBaseNodeState, GetState, (), (override));
/packages/modules/Bluetooth/system/test/suite/gatt/
Dgatt_test.cc112 EXPECT_TRUE(GetState() == BT_STATE_ON); in SetUp()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DBaseNode.h218 virtual kBaseNodeState GetState();
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/test/
Dbtmanagerd_test.py59 return self.manager_object.GetState(dbus_interface=MANAGER_INTERFACE_NAME)

12