Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceControllerTest.java177 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()
DAudioOutputSwitchPreferenceControllerTest.java331 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java360 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices()
535 long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidService
790 if (getHiSyncId(peerDevice) == hiSyncId) { in getConnectedPeerDevices()
807 long myHiSyncId = getHiSyncId(device); in connectionStateChanged()
822 long myHiSyncId = getHiSyncId(device); in connectionStateChanged()
976 public long getHiSyncId(BluetoothDevice device, AttributionSource source) { in getHiSyncId() method in HearingAidService.BluetoothHearingAidBinder
982 return service.getHiSyncId(device); in getHiSyncId()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java81 when(mBluetoothHearingAid.getHiSyncId(device2)).thenReturn(100L); in setUp()
82 when(mBluetoothHearingAid.getHiSyncId(device4)).thenReturn(100L); in setUp()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java175 && hapProfile.getHiSyncId(device) != HI_SYNC_ID_INVALID) { in setActiveBluetoothDevice()
DAudioSwitchPreferenceController.java229 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java211 long hiSyncId = mBluetoothHearingAidService.getHiSyncId(device); in onDeviceConnected()