Searched refs:mSubDevice (Results 1 – 2 of 2) sorted by relevance
153 private CachedBluetoothDevice mSubDevice; field in CachedBluetoothDevice653 if (mSubDevice != null) { in setName()654 mSubDevice.setName(name); in setName()1094 builder.append(", subDevice=").append(mSubDevice); in toString()1616 return Stream.concat(Stream.of(this, mSubDevice), mMemberDevices.stream()) in getConnectedHearingAidSide()1890 return mSubDevice; in getSubDevice()1894 mSubDevice = subDevice; in setSubDevice()1905 mDevice = mSubDevice.mDevice; in switchSubDeviceContent()1906 mRssi = mSubDevice.mRssi; in switchSubDeviceContent()1907 mJustDiscovered = mSubDevice.mJustDiscovered; in switchSubDeviceContent()[all …]
106 private BluetoothDevice mSubDevice; field in CachedBluetoothDeviceTest157 mSubCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mSubDevice)); in setUp()1749 when(mSubDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_memberDeviceNameIsSet()1755 verify(mSubDevice).setAlias(DEVICE_ALIAS); in setName_memberDeviceNameIsSet()1761 when(mSubDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_subDeviceNameIsSet()1767 verify(mSubDevice).setAlias(DEVICE_ALIAS); in setName_subDeviceNameIsSet()1808 assertThat(mCachedDevice.mDevice).isEqualTo(mSubDevice); in switchSubDeviceContent()1909 assertThat(mCachedDevice.mDevice).isEqualTo(mSubDevice); in switchMemberDeviceContent_switchMainDevice_switchesSuccessful()2071 doReturn(status).when(profile).getConnectionStatus(mSubDevice); in updateSubDeviceProfileStatus()