Home
last modified time | relevance | path

Searched refs:mLocalBluetoothManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java59 private final LocalBluetoothManager mLocalBluetoothManager; field in BluetoothControllerImpl
80 mLocalBluetoothManager = localBluetoothManager; in BluetoothControllerImpl()
83 if (mLocalBluetoothManager != null) { in BluetoothControllerImpl()
84 mLocalBluetoothManager.getEventManager().registerCallback(this); in BluetoothControllerImpl()
85 mLocalBluetoothManager.getProfileManager().addServiceListener(this); in BluetoothControllerImpl()
87 mLocalBluetoothManager.getBluetoothAdapter().getBluetoothState()); in BluetoothControllerImpl()
103 pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager); in dump()
104 if (mLocalBluetoothManager == null) { in dump()
195 if (mLocalBluetoothManager != null) { in setBluetoothEnabled()
196 mLocalBluetoothManager.getBluetoothAdapter().setBluetoothEnabled(enabled); in setBluetoothEnabled()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java75 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManager
120 mLocalBluetoothManager = in LocalMediaManager()
123 if (mLocalBluetoothManager == null) { in LocalMediaManager()
129 new InfoMediaManager(context, packageName, notification, mLocalBluetoothManager); in LocalMediaManager()
140 mLocalBluetoothManager = localBluetoothManager; in LocalMediaManager()
427 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice()
432 final HearingAidProfile hearingAidProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
493 mLocalBluetoothManager.getCachedDeviceManager(); in buildDisconnectedBluetoothDevice()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java55 private LocalBluetoothManager mLocalBluetoothManager; field in HearingAidDeviceManagerTest
82 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
83 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
86 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
87 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in setUp()
DCachedBluetoothDeviceManagerTest.java61 private LocalBluetoothManager mLocalBluetoothManager; field in CachedBluetoothDeviceManagerTest
102 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
103 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
110 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
379 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java68 private LocalBluetoothManager mLocalBluetoothManager; field in InfoMediaManagerTest
82 new InfoMediaManager(mContext, TEST_PACKAGE_NAME, null, mLocalBluetoothManager); in setUp()
685 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
707 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
DLocalMediaManagerTest.java78 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManagerTest
111 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
119 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
576 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(cachedManager); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice()
669 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(cachedManager); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
DMediaDeviceTest.java85 private LocalBluetoothManager mLocalBluetoothManager; field in MediaDeviceTest
154 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelTest.java96 private LocalBluetoothManager mLocalBluetoothManager; field in QSPanelTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java252 @Inject Lazy<LocalBluetoothManager> mLocalBluetoothManager; field in Dependency
421 mProviders.put(LocalBluetoothManager.class, mLocalBluetoothManager::get); in start()