Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java254 long hiSyncId = in connect() local
257 if (hiSyncId != mActiveDeviceHiSyncId in connect()
258 && hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()
279 == hiSyncId) { in connect()
288 if (hiSyncId == BluetoothHearingAid.HI_SYNC_ID_INVALID in connect()
311 long hiSyncId = in disconnect() local
317 == hiSyncId) { in disconnect()
328 if (hiSyncId == BluetoothHearingAid.HI_SYNC_ID_INVALID in disconnect()
357 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices() local
358 if (getConnectedPeerDevices(hiSyncId).isEmpty()) { in isConnectedPeerDevices()
[all …]
DHearingAidNativeInterface.java160 void onDeviceAvailable(byte capabilities, long hiSyncId, byte[] address) { in onDeviceAvailable() argument
165 event.valueLong2 = hiSyncId; in onDeviceAvailable()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterfaceTest.java99 long hiSyncId = 100; in onDeviceAvailable() local
101 capabilities, hiSyncId, mNativeInterface.getByteAddress(device)); in onDeviceAvailable()
109 assertThat(event.getValue().valueLong2).isEqualTo(hiSyncId); in onDeviceAvailable()
114 capabilities, hiSyncId, mNativeInterface.getByteAddress(device)); in onDeviceAvailable()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hearing_aid.cc68 void OnDeviceAvailable(uint8_t capabilities, uint64_t hiSyncId, in OnDeviceAvailable() argument
71 Unretained(callbacks), capabilities, hiSyncId, in OnDeviceAvailable()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hearing_aid_api.h176 uint16_t read_psm_handle, uint64_t hiSyncId, in HearingDevice()
194 hi_sync_id(hiSyncId), in HearingDevice()
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java285 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices() local
288 if (!devicesHiSyncIds.contains(hiSyncId) && device.isConnected()) { in getConnectedHearingAidDevices()
289 devicesHiSyncIds.add(hiSyncId); in getConnectedHearingAidDevices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java740 long hiSyncId = hearingAidService.getHiSyncId(device); in handleHearingAidActiveDeviceChanged() local
741 if (device != null && getHearingAidActiveHiSyncIdLocked() == hiSyncId) { in handleHearingAidActiveDeviceChanged()
746 hearingAidService.getConnectedPeerDevices(hiSyncId)); in handleHearingAidActiveDeviceChanged()
964 long hiSyncId = hearingAidService.getHiSyncId(device); in setHearingAidActiveDevice() local
965 if (getHearingAidActiveHiSyncIdLocked() == hiSyncId) { in setHearingAidActiveDevice()
974 mHearingAidActiveDevices.addAll(hearingAidService.getConnectedPeerDevices(hiSyncId)); in setHearingAidActiveDevice()
DAudioRoutingManager.java655 long hiSyncId = hearingAidService.getHiSyncId(device); in canActivateTogether() local
656 if (hiSyncId != BluetoothHearingAid.HI_SYNC_ID_INVALID in canActivateTogether()
657 && hiSyncId == hearingAidService.getHiSyncId(group.get(0))) { in canActivateTogether()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java409 long hiSyncId = mHearingAidDeviceSyncIds.getOrDefault(d, -1L); in getUniqueConnectedDevices() local
410 if (seenHiSyncIds.contains(hiSyncId)) { in getUniqueConnectedDevices()
414 seenHiSyncIds.add(hiSyncId); in getUniqueConnectedDevices()
503 long hiSyncId = mBluetoothHearingAid.getHiSyncId(device); in onDeviceConnected() local
504 mHearingAidDeviceSyncIds.put(device, hiSyncId); in onDeviceConnected()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hearing_aid.h46 virtual void OnDeviceAvailable(uint8_t capabilities, uint64_t hiSyncId,