Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java84 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in findDevice()
122 CachedBluetoothDevice subDevice = device.getSubDevice(); in getSubDeviceSummary()
139 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in isSubDevice()
186 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in clearNonBondedSubDevices()
202 final CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in onScanningStateChanged()
215 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in onBluetoothStateChanged()
245 CachedBluetoothDevice subDevice = device.getSubDevice(); in onDeviceUnpaired()
DHearingAidDeviceManager.java189 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in onProfileConnectionStateChangedIfProcessed()
209 CachedBluetoothDevice subDevice = cachedDevice.getSubDevice(); in findMainDevice()
DCachedBluetoothDevice.java1073 public CachedBluetoothDevice getSubDevice() { in getSubDevice() method in CachedBluetoothDevice
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java128 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice()
141 assertThat(mCachedDevice1.getSubDevice()).isNull(); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice()
160 assertThat(mCachedDevice1.getSubDevice()).isNull(); in updateHearingAidsDevices_firstPairedDevicesConnected_verifySubDevice()
164 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in updateHearingAidsDevices_firstPairedDevicesConnected_verifySubDevice()
183 assertThat(mCachedDevice2.getSubDevice()).isNull(); in updateHearingAidsDevices_secondPairedDeviceConnected_verifySubDevice()
187 assertThat(mCachedDevice2.getSubDevice()).isEqualTo(mCachedDevice1); in updateHearingAidsDevices_secondPairedDeviceConnected_verifySubDevice()
205 assertThat(mCachedDevice1.getSubDevice()).isNull(); in updateHearingAidsDevices_BothConnected_verifySubDevice()
209 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in updateHearingAidsDevices_BothConnected_verifySubDevice()
270 assertThat(mCachedDevice1.getSubDevice()).isNull(); in onProfileConnectionStateChanged_connected_newDevice_verifySubDevice()
275 assertThat(mCachedDevice1.getSubDevice()).isEqualTo(mCachedDevice2); in onProfileConnectionStateChanged_connected_newDevice_verifySubDevice()
DCachedBluetoothDeviceManagerTest.java147 assertThat(cachedDevice1.getSubDevice()).isEqualTo(cachedDevice2); in addDevice_sameHiSyncId_validSubDevice()
160 assertThat(cachedDevice1.getSubDevice()).isNull(); in addDevice_differentHiSyncId_validSubDevice()
275 assertThat(cachedDevice1.getSubDevice()).isEqualTo(cachedDevice2); in clearNonBondedDevices_nonBondedSubDevice()
278 assertThat(cachedDevice1.getSubDevice()).isNull(); in clearNonBondedDevices_nonBondedSubDevice()
DCachedBluetoothDeviceTest.java897 assertThat(mCachedDevice.getSubDevice()).isEqualTo(subCachedDevice); in getSubDevice_setSubDevice()