Home
last modified time | relevance | path

Searched refs:mHearingAidDeviceManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java67 private HearingAidDeviceManager mHearingAidDeviceManager; field in HearingAidDeviceManagerTest
87 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in setUp()
101 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1); in initHearingAidDeviceIfNeeded_validHiSyncId_verifyHiSyncId()
113 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1); in initHearingAidDeviceIfNeeded_invalidHiSyncId_notToSetHiSyncId()
126 mHearingAidDeviceManager.setSubDeviceIfNeeded(mCachedDevice2); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice()
139 mHearingAidDeviceManager.setSubDeviceIfNeeded(mCachedDevice2); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice()
161 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices_firstPairedDevicesConnected_verifySubDevice()
184 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices_secondPairedDeviceConnected_verifySubDevice()
206 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices_BothConnected_verifySubDevice()
221 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices_dispatchDeviceRemovedCallback()
[all …]
DCachedBluetoothDeviceManagerTest.java82 private HearingAidDeviceManager mHearingAidDeviceManager; field in CachedBluetoothDeviceManagerTest
379 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager()
381 mCachedDeviceManager.mHearingAidDeviceManager = mHearingAidDeviceManager; in updateHearingAidDevices_directToHearingAidDeviceManager()
384 verify(mHearingAidDeviceManager).updateHearingAidsDevices(); in updateHearingAidDevices_directToHearingAidDeviceManager()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java43 HearingAidDeviceManager mHearingAidDeviceManager; field in CachedBluetoothDeviceManager
48 mHearingAidDeviceManager = new HearingAidDeviceManager(localBtManager, mCachedDevices); in CachedBluetoothDeviceManager()
105 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(newDevice); in addDevice()
106 if (!mHearingAidDeviceManager.setSubDeviceIfNeeded(newDevice)) { in addDevice()
156 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices()
233 return mHearingAidDeviceManager.onProfileConnectionStateChangedIfProcessed(cachedDevice, in onProfileConnectionStateChangedIfProcessed()
238 CachedBluetoothDevice mainDevice = mHearingAidDeviceManager.findMainDevice(device); in onDeviceUnpaired()