Searched refs:getDeviceSide (Results 1 – 7 of 7) sorted by relevance
174 when(mHearingAidProfile.getDeviceSide(mDevice1)).thenReturn(SIDE_RIGHT); in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo()180 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo()265 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo()467 when(mHearingAidProfile.getDeviceSide(mDevice1)).thenReturn(SIDE_RIGHT); in updateHearingAidsDevices_asha_validHiSyncId_setHearingAidInfo()475 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo( in updateHearingAidsDevices_asha_validHiSyncId_setHearingAidInfo()499 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in updateHearingAidsDevices_leAudio_validInfo_setHearingAidInfo()645 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()646 assertThat(mCachedDevice2.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()
1809 assertThat(mCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in switchSubDeviceContent()1814 assertThat(mSubCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in switchSubDeviceContent()1910 assertThat(mCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in switchMemberDeviceContent_switchMainDevice_switchesSuccessful()1915 assertThat(mSubCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in switchMemberDeviceContent_switchMainDevice_switchesSuccessful()
281 public int getDeviceSide(@NonNull BluetoothDevice device) { in getDeviceSide() method in HearingAidProfile288 return mService.getDeviceSide(device); in getDeviceSide()
112 final int deviceSide = device.getDeviceSide(); in logHearingAidInfo()
403 .setAshaDeviceSide(asha.getDeviceSide(cachedDevice.getDevice())) in generateHearingAidInfo()
432 public int getDeviceSide() { in getDeviceSide() method in CachedBluetoothDevice1618 .filter(device -> device.getDeviceSide() == side in getConnectedHearingAidSide()1619 || device.getDeviceSide() == HearingAidInfo.DeviceSide.SIDE_LEFT_AND_RIGHT) in getConnectedHearingAidSide()
359 .setAshaDeviceSide(getHearingAidProfile().getDeviceSide(device)) in onReceiveInternal()