Home
last modified time | relevance | path

Searched refs:getHiSyncId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java116 && 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 …]
DHearingAidProfile.java194 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidProfile
198 return mService.getHiSyncId(device); in getHiSyncId()
DLocalBluetoothProfileManager.java367 if (cachedDevice.getHiSyncId() == BluetoothHearingAid.HI_SYNC_ID_INVALID) { in onReceiveInternal()
369 long newHiSyncId = getHearingAidProfile().getHiSyncId(cachedDevice.getDevice()); in onReceiveInternal()
DBluetoothEventManager.java343 if (cachedDevice.getHiSyncId() != BluetoothHearingAid.HI_SYNC_ID_INVALID) { in onReceive()
DCachedBluetoothDevice.java101 public long getHiSyncId() { in getHiSyncId() method in CachedBluetoothDevice
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java575 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()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHearingAid.java641 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in BluetoothHearingAid
654 return mService.getHiSyncId(device); in getHiSyncId()
/frameworks/base/config/
Dboot-image-profile.txt16510 HSPLandroid/bluetooth/BluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J
16781 HSPLandroid/bluetooth/IBluetoothHearingAid$Stub$Proxy;->getHiSyncId(Landroid/bluetooth/BluetoothDev…
16793 HSPLandroid/bluetooth/IBluetoothHearingAid;->getHiSyncId(Landroid/bluetooth/BluetoothDevice;)J