Home
last modified time | relevance | path

Searched refs:ase (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Ddevices.cc42 using bluetooth::le_audio::types::ase;
251 auto ase = GetFirstActiveAseByDirection(direction); in ConfigureAses() local
252 if (ase) { in ConfigureAses()
253 log::info("{}, using an already active ASE id={}", address_, ase->id); in ConfigureAses()
255 ase = GetFirstInactiveAse(direction, reuse_cis_id); in ConfigureAses()
258 if (!ase) { in ConfigureAses()
291 for (size_t i = 0; i < ase_configs.size() && ase; ++i) { in ConfigureAses()
341 for (int i = 0; i < needed_ase && ase; ++i) { in ConfigureAses()
343 ase->active = true; in ConfigureAses()
344 ase->configured_for_context_type = context_type; in ConfigureAses()
[all …]
Dstate_machine.cc106 using bluetooth::le_audio::types::ase;
404 void ProcessGattNotifEvent(uint8_t* value, uint16_t len, struct ase* ase, in ProcessGattNotifEvent() argument
411 if (ase->id == 0x00) { in ProcessGattNotifEvent()
414 ase->id = arh.id; in ProcessGattNotifEvent()
420 leAudioDevice->address_, ase->id, ToString(ase->state), in ProcessGattNotifEvent()
426 "curr: " + ToString(ase->state)); in ProcessGattNotifEvent()
430 AseStateMachineProcessIdle(arh, ase, group, leAudioDevice); in ProcessGattNotifEvent()
434 arh, ase, in ProcessGattNotifEvent()
440 AseStateMachineProcessQosConfigured(arh, ase, group, leAudioDevice); in ProcessGattNotifEvent()
443 AseStateMachineProcessEnabling(arh, ase, group, leAudioDevice); in ProcessGattNotifEvent()
[all …]
Ddevices.h104 std::vector<struct types::ase> ases_;
145 struct types::ase* GetAseByValHandle(uint16_t val_hdl);
147 struct types::ase* GetFirstActiveAse(void);
148 struct types::ase* GetFirstActiveAseByDirection(uint8_t direction);
149 struct types::ase* GetNextActiveAseWithSameDirection(
150 struct types::ase* base_ase);
151 struct types::ase* GetNextActiveAseWithDifferentDirection(
152 struct types::ase* base_ase);
153 struct types::ase* GetFirstActiveAseByCisAndDataPathState(
155 struct types::ase* GetFirstInactiveAse(uint8_t direction,
[all …]
Ddevice_groups.cc42 using bluetooth::le_audio::types::ase;
65 for (auto ase : leAudioDevice->ases_) { in RemoveNode() local
66 ase.active = false; in RemoveNode()
67 ase.cis_conn_hdl = 0; in RemoveNode()
203 for (auto* ase = leAudioDevice->GetFirstActiveAse(); ase; in Deactivate() local
204 ase = leAudioDevice->GetNextActiveAse(ase)) { in Deactivate()
205 ase->active = false; in Deactivate()
206 ase->reconfigure = 0; in Deactivate()
478 struct ase* ase = leAudioDevice->GetFirstActiveAseByDirection(direction); in GetSduInterval() local
479 if (!ase) continue; in GetSduInterval()
[all …]
Dstate_machine_test.cc246 uint8_t ase_id_last_assigned = types::ase::kAseIdInvalid;
702 types::ase ase(0, 0, 0x01); in PrepareConnectedDevice() local
703 ase.hdls.val_hdl = attr_handle++; in PrepareConnectedDevice()
704 ase.hdls.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
706 leAudioDevice->ases_.push_back(std::move(ase)); in PrepareConnectedDevice()
712 types::ase ase(0, 0, 0x02); in PrepareConnectedDevice() local
713 ase.hdls.val_hdl = attr_handle++; in PrepareConnectedDevice()
714 ase.hdls.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
716 leAudioDevice->ases_.push_back(std::move(ase)); in PrepareConnectedDevice()
752 for (auto& ase : device->ases_) { in InjectReleasingAndIdleState() local
[all …]
Ddevices_test.cc831 struct ase ase(0x0000, 0x0000, in AddTestDevice() local
835 ase.state = AseState::BTA_LE_AUDIO_ASE_STATE_CODEC_CONFIGURED; in AddTestDevice()
836 device->ases_.push_back(ase); in AddTestDevice()
842 struct ase ase(0x0000, 0x0000, in AddTestDevice() local
846 ase.state = AseState::BTA_LE_AUDIO_ASE_STATE_CODEC_CONFIGURED; in AddTestDevice()
847 device->ases_.push_back(ase); in AddTestDevice()
875 for (ase* ase = data.device->GetFirstActiveAse(); ase; in TestGroupAseConfigurationVerdict() local
876 ase = data.device->GetNextActiveAse(ase)) { in TestGroupAseConfigurationVerdict()
877 active_channel_num.get(ase->direction) += ase->channel_count; in TestGroupAseConfigurationVerdict()
897 for (auto& ase : device->ases_) { in SetCisInformationToActiveAse() local
[all …]
Dstorage_helper.cc284 for (const auto& ase : leAudioDevice->ases_) { in SerializeAses() local
288 ase.id, in SerializeAses()
289 ase.direction == bluetooth::le_audio::types::kLeAudioDirectionSink in SerializeAses()
292 ase.hdls.val_hdl, ase.hdls.ccc_hdl); in SerializeAses()
294 UINT16_TO_STREAM(ptr, ase.hdls.val_hdl); in SerializeAses()
295 UINT16_TO_STREAM(ptr, ase.hdls.ccc_hdl); in SerializeAses()
296 UINT8_TO_STREAM(ptr, ase.id); in SerializeAses()
297 UINT8_TO_STREAM(ptr, ase.direction); in SerializeAses()
Dstate_machine.h72 struct types::ase* ase,
Dle_audio_client_test.cc904 for (auto& ase : leAudioDevice->ases_) { in SetUpMockGroups() local
905 ase.cis_id = bluetooth::le_audio::kInvalidCisId; in SetUpMockGroups()
925 for (auto& ase : device->ases_) { in SetUpMockGroups() local
926 ase.cis_state = types::CisState::IDLE; in SetUpMockGroups()
927 ase.data_path_state = types::DataPathState::IDLE; in SetUpMockGroups()
928 ase.active = false; in SetUpMockGroups()
929 ase.state = in SetUpMockGroups()
975 for (auto& ase : leAudioDevice->ases_) { in SetUpMockGroups() local
976 if (!ase.active) continue; in SetUpMockGroups()
980 ase.cis_state = types::CisState::CONNECTED; in SetUpMockGroups()
[all …]
Dmock_state_machine.h58 bluetooth::le_audio::types::ase* ase,
Dclient.cc97 using bluetooth::le_audio::types::ase;
1769 for (struct ase& ase : leAudioDevice->ases_) in DeregisterNotifications() local
1771 ase.hdls.val_hdl); in DeregisterNotifications()
1780 struct ase* ase; in LeAudioCharValueHandle() local
1788 ase = leAudioDevice->GetAseByValHandle(hdl); in LeAudioCharValueHandle()
1791 if (ase) { in LeAudioCharValueHandle()
1792 groupStateMachine_->ProcessGattNotifEvent(value, len, ase, leAudioDevice, in LeAudioCharValueHandle()
2190 for (struct ase& ase : leAudioDevice->ases_) in RegisterKnownNotifications() local
2192 leAudioDevice->address_, ase.hdls, in RegisterKnownNotifications()
3094 std::vector<struct ase>::iterator ase_it; in OnGattWriteCcc()
[all …]
Dle_audio_types.h1145 struct ase { struct
1148 ase(uint16_t val_hdl, uint16_t ccc_hdl, uint8_t direction, argument
Dle_audio_types.cc885 template struct BidirectionalPair<ase*>;
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_le_audio.py154 self.ase = defaultdict(AseStream)
167 for id, ase_stream in self.ase.items():
247 for ase in stream.ase.values():
248 header = header + struct.pack("<H", sf_case[ase.sampling_frequencies])
249 …header = header + struct.pack("<H", int(ase.octets_per_frame * 8 * 10 / fd_case[ase.frame_duration…
250 …header = header + struct.pack("<HHHL", al_case[ase.channel_allocation], fd_case[ase.frame_duration…
266 ase = connection_map[connection_handle].ase[ase_id]
272 ase.sampling_frequencies = value
274 ase.frame_duration = value
276 ase.channel_allocation = value
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dpt_PT_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dfr_wordlist.combined.gz
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dnb_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...