Home
last modified time | relevance | path

Searched refs:getSubDevice (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java107 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in findDevice()
171 CachedBluetoothDevice subDevice = device.getSubDevice(); in getSubDeviceSummary()
214 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in isSubDevice()
293 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in clearNonBondedSubDevices()
317 final CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in onScanningStateChanged()
338 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in onBluetoothStateChanged()
413 CachedBluetoothDevice subDevice = device.getSubDevice(); in onDeviceUnpaired()
DHearingAidDeviceManager.java250 if (mainDevice.getSubDevice() != null in switchDeviceContent()
251 && mainDevice.getSubDevice().equals(secondaryDevice)) { in switchDeviceContent()
263 if (cachedDevice.getSubDevice() != null && cachedDevice.getSubDevice().isConnected()) { in getConnectedSecondaryDevice()
264 return cachedDevice.getSubDevice(); in getConnectedSecondaryDevice()
384 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in findMainDevice()
DHearingAidAudioRoutingHelper.java131 final CachedBluetoothDevice subDevice = device.getSubDevice(); in matchAddress()
DBluetoothEventManager.java263 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in dispatchActiveDeviceChanged()
DCachedBluetoothDevice.java1889 public CachedBluetoothDevice getSubDevice() { in getSubDevice() method in CachedBluetoothDevice
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java301 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice()
316 assertThat(mCachedDevice1.getSubDevice()).isNull(); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice()
342 assertThat(mCachedDevice1.getSubDevice()).isNull(); in updateHearingAidsDevices_asha_firstPairedDevicesConnected_verifySubDevice()
346 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in updateHearingAidsDevices_asha_firstPairedDevicesConnected_verifySubDevice()
372 assertThat(mCachedDevice2.getSubDevice()).isNull(); in updateHearingAidsDevices_asha_secondPairedDeviceConnected_verifySubDevice()
376 assertThat(mCachedDevice2.getSubDevice()).isEqualTo(mCachedDevice1); in updateHearingAidsDevices_asha_secondPairedDeviceConnected_verifySubDevice()
402 assertThat(mCachedDevice1.getSubDevice()).isNull(); in updateHearingAidsDevices_asha_bothConnected_verifySubDevice()
406 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in updateHearingAidsDevices_asha_bothConnected_verifySubDevice()
553 assertThat(mCachedDevice1.getSubDevice()).isNull(); in onProfileConnectionStateChanged_connected_newDevice_verifySubDevice()
558 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in onProfileConnectionStateChanged_connected_newDevice_verifySubDevice()
DCachedBluetoothDeviceManagerTest.java171 assertThat(cachedDevice1.getSubDevice()).isEqualTo(cachedDevice2); in addDevice_sameHiSyncId_validSubDevice()
184 assertThat(cachedDevice1.getSubDevice()).isNull(); in addDevice_differentHiSyncId_validSubDevice()
318 assertThat(cachedDevice1.getSubDevice()).isEqualTo(cachedDevice2); in clearNonBondedDevices_nonBondedSubDevice()
321 assertThat(cachedDevice1.getSubDevice()).isNull(); in clearNonBondedDevices_nonBondedSubDevice()
DHearingAidAudioRoutingHelperTest.java159 when(mCachedBluetoothDevice.getSubDevice()).thenReturn(mSubCachedBluetoothDevice); in getMatchedHearingDeviceAttributes_subHearingDevice_equalAddress()
DCachedBluetoothDeviceTest.java1789 assertThat(mCachedDevice.getSubDevice()).isEqualTo(mSubCachedDevice); in getSubDevice_setSubDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesPresetsController.java261 final CachedBluetoothDevice subDevice = mActiveHearingDevice.getSubDevice(); in selectPresetIndependently()