Searched refs:mHearingAidDeviceManager (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | HearingAidDeviceManagerTest.java | 94 private HearingAidDeviceManager mHearingAidDeviceManager; field in HearingAidDeviceManagerTest 154 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in setUp() 177 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, null); in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo() 199 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, null); in initHearingAidDeviceIfNeeded_asha_invalidHiSyncId_notToSetHearingAidInfo() 221 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, List.of(scanFilter)); in initHearingAidDeviceIfNeeded_asha_scanFilterNotNull_setEmptyHearingAidInfo() 242 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, List.of(scanFilter)); in initHearingAidDeviceIfNeeded_asha_randomScanFilter_notToSetHearingAidInfo() 262 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, null); in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo() 285 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(mCachedDevice1, null); in initHearingAidDeviceIfNeeded_leAudio_invalidInfo_notToSetHearingAidInfo() 299 mHearingAidDeviceManager.setSubDeviceIfNeeded(mCachedDevice2); in setSubDeviceIfNeeded_sameHiSyncId_setSubDevice() 314 mHearingAidDeviceManager.setSubDeviceIfNeeded(mCachedDevice2); in setSubDeviceIfNeeded_differentHiSyncId_notSetSubDevice() [all …]
|
D | CachedBluetoothDeviceManagerTest.java | 95 private HearingAidDeviceManager mHearingAidDeviceManager; field in CachedBluetoothDeviceManagerTest 408 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager() 410 mCachedDeviceManager.mHearingAidDeviceManager = mHearingAidDeviceManager; in updateHearingAidDevices_directToHearingAidDeviceManager() 413 verify(mHearingAidDeviceManager).updateHearingAidsDevices(); in updateHearingAidDevices_directToHearingAidDeviceManager() 612 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in onActiveDeviceChanged_validHiSyncId_callExpectedFunction() 614 doNothing().when(mHearingAidDeviceManager).onActiveDeviceChanged(any()); in onActiveDeviceChanged_validHiSyncId_callExpectedFunction() 615 mCachedDeviceManager.mHearingAidDeviceManager = mHearingAidDeviceManager; in onActiveDeviceChanged_validHiSyncId_callExpectedFunction() 623 verify(mHearingAidDeviceManager).onActiveDeviceChanged(cachedDevice1); in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 51 HearingAidDeviceManager mHearingAidDeviceManager; field in CachedBluetoothDeviceManager 61 mHearingAidDeviceManager = new HearingAidDeviceManager(context, localBtManager, in CachedBluetoothDeviceManager() 141 mHearingAidDeviceManager.initHearingAidDeviceIfNeeded(newDevice, leScanFilters); in addDevice() 143 && !mHearingAidDeviceManager.setSubDeviceIfNeeded(newDevice)) { in addDevice() 189 mHearingAidDeviceManager.syncDeviceIfNeeded(device); in syncDeviceWithinHearingAidSetIfNeeded() 228 mHearingAidDeviceManager.updateHearingAidsDevices(); in updateHearingAidsDevices() 376 return mHearingAidDeviceManager.onProfileConnectionStateChangedIfProcessed(cachedDevice, in onProfileConnectionStateChangedIfProcessed() 392 mHearingAidDeviceManager.onActiveDeviceChanged(cachedBluetoothDevice); in onActiveDeviceChanged() 412 mainDevice = mHearingAidDeviceManager.findMainDevice(device); in onDeviceUnpaired()
|