Home
last modified time | relevance | path

Searched refs:DeviceConnectState (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_health_status_test.cc32 using bluetooth::le_audio::DeviceConnectState;
87 test_address0, DeviceConnectState::DISCONNECTED); in TEST_F()
97 test_address0, DeviceConnectState::DISCONNECTED); in TEST_F()
107 test_address0, DeviceConnectState::DISCONNECTED); in TEST_F()
129 DeviceConnectState::CONNECTED); in TEST_F()
143 DeviceConnectState::CONNECTED); in TEST_F()
158 DeviceConnectState::CONNECTED); in TEST_F()
176 DeviceConnectState::CONNECTED); in TEST_F()
211 DeviceConnectState::CONNECTED); in TEST_F()
Ddevices.h38 enum class DeviceConnectState : uint8_t { enum
62 std::ostream& operator<<(std::ostream& os, const DeviceConnectState& state);
80 DeviceConnectState connection_state_;
115 LeAudioDevice(const RawAddress& address_, DeviceConnectState state,
140 void SetConnectionState(DeviceConnectState state);
141 DeviceConnectState GetConnectionState(void);
271 bluetooth::le_audio::DeviceConnectState state,
Dstorage_helper_test.cc98 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
182 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
245 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
303 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
Ddevices.cc40 using bluetooth::le_audio::DeviceConnectState;
53 std::ostream& operator<<(std::ostream& os, const DeviceConnectState& state) { in operator <<()
57 case DeviceConnectState::CONNECTED: in operator <<()
60 case DeviceConnectState::DISCONNECTED: in operator <<()
63 case DeviceConnectState::REMOVING: in operator <<()
66 case DeviceConnectState::DISCONNECTING: in operator <<()
69 case DeviceConnectState::DISCONNECTING_AND_RECOVER: in operator <<()
72 case DeviceConnectState::CONNECTING_BY_USER: in operator <<()
75 case DeviceConnectState::CONNECTED_BY_USER_GETTING_READY: in operator <<()
78 case DeviceConnectState::CONNECTING_AUTOCONNECT: in operator <<()
[all …]
Ddevices_test.cc48 using ::bluetooth::le_audio::DeviceConnectState;
125 devices_->Add(test_address_0, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
127 devices_->Add(GetTestAddress(1), DeviceConnectState::CONNECTING_BY_USER, 1); in TEST_F()
129 devices_->Add(test_address_0, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
131 devices_->Add(GetTestAddress(1), DeviceConnectState::CONNECTING_BY_USER, 2); in TEST_F()
137 devices_->Add(test_address_0, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
139 devices_->Add(test_address_1, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
141 devices_->Add(test_address_2, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
153 devices_->Add(test_address_0, DeviceConnectState::CONNECTING_BY_USER); in TEST_F()
155 devices_->Add(test_address_1, DeviceConnectState::DISCONNECTED); in TEST_F()
[all …]
Dclient.cc77 using bluetooth::le_audio::DeviceConnectState;
416 leAudioDevice->SetConnectionState(DeviceConnectState::REMOVING); in SetDeviceAsRemovePendingAndStopGroup()
654 leAudioDevices_.Add(address, DeviceConnectState::CONNECTING_BY_USER); in group_add_node()
706 if (leAudioDevice->GetConnectionState() == DeviceConnectState::CONNECTED) { in group_add_node()
1405 case DeviceConnectState::REMOVING: in RemoveDevice()
1408 case DeviceConnectState::CONNECTED: in RemoveDevice()
1409 case DeviceConnectState::CONNECTED_AUTOCONNECT_GETTING_READY: in RemoveDevice()
1410 case DeviceConnectState::CONNECTED_BY_USER_GETTING_READY: in RemoveDevice()
1414 case DeviceConnectState::DISCONNECTING: in RemoveDevice()
1415 case DeviceConnectState::DISCONNECTING_AND_RECOVER: in RemoveDevice()
[all …]
Ddevice_groups.cc104 (dev->GetConnectionState() == DeviceConnectState::CONNECTED); in NumOfConnected()
122 (dev->GetConnectionState() == DeviceConnectState::CONNECTED); in NumOfAvailableForDirection()
924 shared_ptr->GetConnectionState() == DeviceConnectState::CONNECTED) { in GetLatestAvailableContexts()
942 DeviceConnectState::CONNECTED)) in ReloadAudioLocations()
964 DeviceConnectState::CONNECTED)) in ReloadAudioDirections()
998 if (dev->GetConnectionState() == DeviceConnectState::CONNECTED && in IsGroupStreamReady()
1588 if (dev->GetConnectionState() != DeviceConnectState::CONNECTED) { in ConfigureAses()
1838 if (connection_state == DeviceConnectState::CONNECTING_AUTOCONNECT) { in Disable()
1839 device_iter.lock()->SetConnectionState(DeviceConnectState::DISCONNECTED); in Disable()
1861 if (connection_state == DeviceConnectState::DISCONNECTED) { in Enable()
[all …]
Dstate_machine_test.cc46 using ::bluetooth::le_audio::DeviceConnectState;
681 uint8_t id, DeviceConnectState initial_connect_state, uint8_t num_ase_snk, in PrepareConnectedDevice()
686 leAudioDevice->SetConnectionState(DeviceConnectState::CONNECTED); in PrepareConnectedDevice()
745 leAudioDevice->SetConnectionState(DeviceConnectState::DISCONNECTED); in InjectAclDisconnected()
1008 DeviceConnectState initial_connect_state = in MultipleTestDevicePrepare()
1009 DeviceConnectState::CONNECTING_BY_USER; in MultipleTestDevicePrepare()
2711 firstDevice->SetConnectionState(DeviceConnectState::CONNECTED); in TEST_F()
4417 leAudioDevice->SetConnectionState(DeviceConnectState::DISCONNECTED); in TEST_F()
4852 lastDevice->SetConnectionState(DeviceConnectState::CONNECTED); in TEST_F()
4974 lastDevice->SetConnectionState(DeviceConnectState::CONNECTED); in TEST_F()
[all …]
Dstate_machine.cc2099 bluetooth::le_audio::DeviceConnectState::CONNECTED) { in AseStateMachineProcessCodecConfigured()
2198 bluetooth::le_audio::DeviceConnectState::CONNECTED) { in AseStateMachineProcessCodecConfigured()
Dle_audio_client_test.cc3361 test_address0, DeviceConnectState::DISCONNECTED); in TEST_F_WITH_FLAGS()
3419 test_address0, DeviceConnectState::DISCONNECTED); in TEST_F_WITH_FLAGS()
8369 DeviceConnectState::DISCONNECTING_AND_RECOVER); in TEST_F()
8373 DeviceConnectState::DISCONNECTING_AND_RECOVER); in TEST_F()