Searched refs:getDeviceSide (Results 1 – 7 of 7) sorted by relevance
71 .setAshaDeviceSide(getDeviceSide(newDevice.getDevice())) in initHearingAidDeviceIfNeeded()103 private int getDeviceSide(BluetoothDevice device) { in getDeviceSide() method in HearingAidDeviceManager111 return profileProxy.getDeviceSide(device); in getDeviceSide()165 .setAshaDeviceSide(getDeviceSide(cachedDevice.getDevice())) in updateHearingAidsDevices()
57 final int deviceSide = device.getDeviceSide(); in logHearingAidInfo()
281 public int getDeviceSide(@NonNull BluetoothDevice device) { in getDeviceSide() method in HearingAidProfile288 return mService.getDeviceSide(device); in getDeviceSide()
371 public int getDeviceSide() { in getDeviceSide() method in CachedBluetoothDevice1226 int deviceSide = getDeviceSide(); in getConnectionSummary()
359 .setAshaDeviceSide(getHearingAidProfile().getDeviceSide(device)) in onReceiveInternal()
148 when(mHearingAidProfile.getDeviceSide(mDevice1)).thenReturn( in initHearingAidDeviceIfNeeded_validHiSyncId_setHearingAidInfo()157 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo( in initHearingAidDeviceIfNeeded_validHiSyncId_setHearingAidInfo()340 when(mHearingAidProfile.getDeviceSide(mDevice1)).thenReturn( in updateHearingAidsDevices_validHiSyncId_setHearingAidInfos()349 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo( in updateHearingAidsDevices_validHiSyncId_setHearingAidInfos()474 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()475 assertThat(mCachedDevice2.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()
1118 assertThat(mCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in switchSubDeviceContent()1123 assertThat(mSubCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in switchSubDeviceContent()