Searched refs:mHearingAidDevice (Results 1 – 3 of 3) sorted by relevance
86 private BluetoothDevice mHearingAidDevice; field in ActiveDeviceManagerTest144 mHearingAidDevice = TestUtils.getTestDevice(mAdapter, 3); in setUp()169 connectedHearingAidDevices.add(mHearingAidDevice); in setUp()170 when(mHearingAidService.getHiSyncId(mHearingAidDevice)).thenReturn(mHearingAidHiSyncId); in setUp()596 connectedHearingAidDevices.add(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()602 hearingAidConnected(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()604 verify(mHearingAidService, timeout(TIMEOUT_MS)).setActiveDevice(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()617 hearingAidActiveDeviceChanged(mHearingAidDevice); in hearingAidActive_clearA2dpAndHeadsetActive()625 hearingAidActiveDeviceChanged(mHearingAidDevice); in hearingAidActive_dontSetA2dpAndHeadsetActive()639 hearingAidActiveDeviceChanged(mHearingAidDevice); in hearingAidActive_setA2dpActiveExplicitly()[all …]
81 private BluetoothDevice mHearingAidDevice; field in AudioRoutingManagerTest141 mHearingAidDevice = TestUtils.getTestDevice(mAdapter, 3); in setUp()160 connectedHearingAidDevices.add(mHearingAidDevice); in setUp()161 when(mHearingAidService.getHiSyncId(mHearingAidDevice)).thenReturn(HEARING_AID_HISYNC_ID); in setUp()527 connectedHearingAidDevices.add(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()534 hearingAidConnected(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()537 verify(mHearingAidService).setActiveDevice(mHearingAidDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()540 .containsExactly(mHearingAidDevice, mSecondaryAudioDevice); in twoHearingAidDevicesConnected_WithTheSameHiSyncId()552 hearingAidConnected(mHearingAidDevice); in hearingAidActive_clearA2dpAndHeadsetActive()561 switchHearingAidActiveDevice(mHearingAidDevice); in hearingAidAndA2dpHeadsetConnected_setA2dpHeadsetActive()[all …]
295 private String mHearingAidDevice; field in BluetoothDeviceManager619 if (mHearingAidDevice != null) { in clearHearingAidCommunicationDevice()620 mBluetoothRouteManager.onAudioLost(mHearingAidDevice); in clearHearingAidCommunicationDevice()621 mHearingAidDevice = null; in clearHearingAidCommunicationDevice()727 mHearingAidDevice = hearingAid.getAddress(); in setHearingAidCommunicationDevice()