Home
last modified time | relevance | path

Searched refs:getHiSyncId (Results 1 – 9 of 9) 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.java351 long hiSyncId = getHiSyncId(device); in isConnectedPeerDevices()
521 long getHiSyncId(BluetoothDevice device) { in getHiSyncId() method in HearingAidService
777 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.BluetoothHearingAidBinder
961 return service.getHiSyncId(device); in getHiSyncId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DAudioSwitchPreferenceController.java233 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectedHearingAidDevices()
258 final long hiSyncId = hapProfile.getHiSyncId(device); in getConnectableHearingAidDevices()
DHandsFreeProfileOutputPreferenceController.java175 && hapProfile.getHiSyncId(device) != HI_SYNC_ID_INVALID) { in setActiveBluetoothDevice()
/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()