Searched refs:getHiSyncId (Results 1 – 9 of 9) sorted by relevance
177 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in setActiveBluetoothDevice_btDeviceWithHisyncId_shouldSetBtDeviceActive()340 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()366 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()367 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()398 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName()399 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName()432 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName()433 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName()464 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()465 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()
331 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()332 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID2); in getConnectedHearingAidDevices_deviceHisyncIdIsDifferent_shouldAddBothToList()351 when(mHearingAidProfile.getHiSyncId(mLeftBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()352 when(mHearingAidProfile.getHiSyncId(mRightBluetoothHapDevice)).thenReturn(HISYNCID1); in getConnectedHearingAidDevices_deviceHisyncIdIsSame_shouldAddOneToList()
351 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices()521 long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidService777 if (getHiSyncId(peerDevice) == hiSyncId) { in getConnectedPeerDevices()793 long myHiSyncId = getHiSyncId(device); in connectionStateChanged()808 long myHiSyncId = getHiSyncId(device); in connectionStateChanged()956 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidService.BluetoothHearingAidBinder961 return service.getHiSyncId(device); in getHiSyncId()
233 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()258 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectableHearingAidDevices()
175 && hapProfile.getHiSyncId(device) != HI_SYNC_ID_INVALID) { in setActiveBluetoothDevice()
81 when(mBluetoothHearingAid.getHiSyncId(device2)).thenReturn(100L); in setUp()82 when(mBluetoothHearingAid.getHiSyncId(device4)).thenReturn(100L); in setUp()
229 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()
211 long hiSyncId = mBluetoothHearingAidService.getHiSyncId(device); in onDeviceConnected()