• Home
  • Raw
  • Download

Lines Matching refs:HearingDevice

56 void btif_storage_add_hearing_aid(const HearingDevice& dev_info);
124 void Add(HearingDevice device) { in Add()
142 HearingDevice* FindByAddress(const RawAddress& address) { in FindByAddress()
144 [&address](const HearingDevice& device) { in FindByAddress()
151 HearingDevice* FindByConnId(uint16_t conn_id) { in FindByConnId()
153 [&conn_id](const HearingDevice& device) { in FindByConnId()
160 HearingDevice* FindByGapHandle(uint16_t gap_handle) { in FindByGapHandle()
162 [&gap_handle](const HearingDevice& device) { in FindByGapHandle()
203 std::vector<HearingDevice> devices;
322 hearingDevices.Add(HearingDevice(address, true)); in Connect()
328 hearingDevices.Add(HearingDevice(address, true)); in AddToAcceptlist()
332 void AddFromStorage(const HearingDevice& dev_info, uint16_t is_acceptlisted) { in AddFromStorage()
358 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnGattConnected()
434 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in OnConnectionUpdateComplete()
520 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnReadRssiComplete()
547 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnEncryptionComplete()
577 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnServiceChangeEvent()
593 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnServiceDiscDoneEvent()
604 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in OnServiceSearchComplete()
689 void ReadPSM(HearingDevice* hearingDevice) { in ReadPSM()
701 HearingDevice* device = hearingDevices.FindByConnId(conn_id); in OnNotificationEvent()
736 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in OnReadOnlyPropertiesRead()
817 void ChooseCodec(const HearingDevice& hearingDevice) { in ChooseCodec()
846 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in OnPsmRead()
868 void ConnectSocket(HearingDevice* hearingDevice, uint16_t psm) { in ConnectSocket()
913 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in OnGapConnection()
971 void StartSendingAudio(const HearingDevice& hearingDevice) { in StartSendingAudio()
1067 uint8_t GetOtherSideStreamStatus(HearingDevice* this_side_device) { in GetOtherSideStreamStatus()
1082 void SendEnableServiceChangedInd(HearingDevice* device) { in SendEnableServiceChangedInd()
1093 void SendStart(HearingDevice* device) { in SendStart()
1144 HearingDevice* left = nullptr; in OnAudioDataReady()
1145 HearingDevice* right = nullptr; in OnAudioDataReady()
1267 HearingDevice* hearingAid) { in SendAudio()
1292 HearingDevice* hearingDevice = hearingDevices.FindByGapHandle(gap_handle); in GapCallback()
1373 void DumpRssi(int fd, const HearingDevice& device) { in DumpRssi()
1432 HearingDevice* hearingDevice = hearingDevices.FindByAddress(address); in Disconnect()
1478 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in OnGattDisconnected()
1508 void DoDisconnectCleanUp(HearingDevice* hearingDevice) { in DoDisconnectCleanUp()
1548 for (HearingDevice& device : hearingDevices.devices) { in SetVolume()
1560 for (HearingDevice& device : hearingDevices.devices) { in CleanUp()
1585 HearingDevice* hearingDevice = hearingDevices.FindByConnId(conn_id); in find_server_changed_ccc_handle()
1625 void send_state_change(HearingDevice* device, std::vector<uint8_t> payload) { in send_state_change()
1642 void send_state_change_to_other_side(HearingDevice* this_side_device, in send_state_change_to_other_side()
1653 void check_and_do_rssi_read(HearingDevice* device) { in check_and_do_rssi_read()
1785 void HearingAid::AddFromStorage(const HearingDevice& dev_info, in AddFromStorage()