Searched refs:getHiSyncId (Results 1 – 8 of 8) sorted by relevance
116 && profileManager.getHearingAidProfile().getHiSyncId(newDevice.getDevice()) in addDevice()119 .getHiSyncId(newDevice.getDevice())); in addDevice()122 if (isPairAddedInCache(newDevice.getHiSyncId())) { in addDevice()129 if (newDevice.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID in addDevice()130 && !mCachedDevicesMapForHearingAids.containsKey(newDevice.getHiSyncId())) { in addDevice()131 mCachedDevicesMapForHearingAids.put(newDevice.getHiSyncId(), newDevice); in addDevice()165 if (device.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID) { in getHearingAidPairDeviceSummary()167 if (hearingAidDevice.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID in getHearingAidPairDeviceSummary()168 && hearingAidDevice.getHiSyncId() == device.getHiSyncId()) { in getHearingAidPairDeviceSummary()199 if (cachedDevice.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID) { in updateHearingAidsDevices()[all …]
194 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidProfile198 return mService.getHiSyncId(device); in getHiSyncId()
367 if (cachedDevice.getHiSyncId() == BluetoothHearingAid.HI_SYNC_ID_INVALID) { in onReceiveInternal()369 long newHiSyncId = getHearingAidProfile().getHiSyncId(cachedDevice.getDevice()); in onReceiveInternal()
343 if (cachedDevice.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID) { in onReceive()
101 public long getHiSyncId() { in getHiSyncId() method in CachedBluetoothDevice
575 doAnswer((invocation) -> HISYNCID1).when(mHearingAidProfile).getHiSyncId(mDevice1); in testAddDevice_hearingAidDevicesWithSameHiSyncId_populateInDifferentLists()576 doAnswer((invocation) -> HISYNCID1).when(mHearingAidProfile).getHiSyncId(mDevice2); in testAddDevice_hearingAidDevicesWithSameHiSyncId_populateInDifferentLists()605 doAnswer((invocation) -> HISYNCID1).when(mHearingAidProfile).getHiSyncId(mDevice1); in testAddDevice_hearingAidDevicesWithDifferentHiSyncId_populateInSameList()606 doAnswer((invocation) -> HISYNCID2).when(mHearingAidProfile).getHiSyncId(mDevice2); in testAddDevice_hearingAidDevicesWithDifferentHiSyncId_populateInSameList()672 doAnswer((invocation) -> HISYNCID1).when(mHearingAidProfile).getHiSyncId(mDevice1); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()673 doAnswer((invocation) -> HISYNCID1).when(mHearingAidProfile).getHiSyncId(mDevice2); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()679 assertThat(mCachedDevice1.getHiSyncId()).isEqualTo(HISYNCID1); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()680 assertThat(mCachedDevice2.getHiSyncId()).isEqualTo(HISYNCID1); in testUpdateHearingAidDevices_hiSyncIdAvailable_setsHiSyncId()
641 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in BluetoothHearingAid654 return mService.getHiSyncId(device); in getHiSyncId()
16510 HSPLandroid/bluetooth/BluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J16781 HSPLandroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->getHiSyncId(Landroid/bluetooth/BluetoothDev…16793 HSPLandroid/bluetooth/IBluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J