Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java59 private final LocalBluetoothManager mLocalBluetoothManager; field in BluetoothControllerImpl
78 mLocalBluetoothManager = localBluetoothManager; in BluetoothControllerImpl()
80 if (mLocalBluetoothManager != null) { in BluetoothControllerImpl()
81 mLocalBluetoothManager.getEventManager().registerCallback(this); in BluetoothControllerImpl()
82 mLocalBluetoothManager.getProfileManager().addServiceListener(this); in BluetoothControllerImpl()
84 mLocalBluetoothManager.getBluetoothAdapter().getBluetoothState()); in BluetoothControllerImpl()
100 pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager); in dump()
101 if (mLocalBluetoothManager == null) { in dump()
180 if (mLocalBluetoothManager != null) { in setBluetoothEnabled()
181 mLocalBluetoothManager.getBluetoothAdapter().setBluetoothEnabled(enabled); in setBluetoothEnabled()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java61 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManager
90 mLocalBluetoothManager = in LocalMediaManager()
92 if (mLocalBluetoothManager == null) { in LocalMediaManager()
98 new BluetoothMediaManager(context, mLocalBluetoothManager, notification); in LocalMediaManager()
105 mLocalBluetoothManager = localBluetoothManager; in LocalMediaManager()
166 mPhoneDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in addPhoneDeviceIfNecessary()
DPhoneMediaDevice.java39 private LocalBluetoothManager mLocalBluetoothManager; field in PhoneMediaDevice
45 mLocalBluetoothManager = localBluetoothManager; in PhoneMediaDevice()
46 mProfileManager = mLocalBluetoothManager.getProfileManager(); in PhoneMediaDevice()
DBluetoothMediaManager.java47 private LocalBluetoothManager mLocalBluetoothManager; field in BluetoothMediaManager
61 mLocalBluetoothManager = localBluetoothManager; in BluetoothMediaManager()
62 mProfileManager = mLocalBluetoothManager.getProfileManager(); in BluetoothMediaManager()
63 mCachedBluetoothDeviceManager = mLocalBluetoothManager.getCachedDeviceManager(); in BluetoothMediaManager()
68 mLocalBluetoothManager.getEventManager().registerCallback(this); in startScan()
171 mLocalBluetoothManager.getEventManager().unregisterCallback(this); in stopScan()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DPhoneMediaDeviceTest.java46 private LocalBluetoothManager mLocalBluetoothManager; field in PhoneMediaDeviceTest
62 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
67 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in setUp()
DBluetoothMediaManagerTest.java58 private LocalBluetoothManager mLocalBluetoothManager; field in BluetoothMediaManagerTest
80 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
81 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
84 when(mLocalBluetoothManager.getEventManager()).thenReturn(mEventManager); in setUp()
86 mMediaManager = new BluetoothMediaManager(mContext, mLocalBluetoothManager, null); in setUp()
DMediaDeviceTest.java77 private LocalBluetoothManager mLocalBluetoothManager; field in MediaDeviceTest
129 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
140 mPhoneMediaDevice = new PhoneMediaDevice(mContext, mLocalBluetoothManager); in setUp()
DLocalMediaManagerTest.java60 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManagerTest
78 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
82 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
/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.java64 private LocalBluetoothManager mLocalBluetoothManager; field in CachedBluetoothDeviceManagerTest
105 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
106 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
113 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
363 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java239 @Inject Lazy<LocalBluetoothManager> mLocalBluetoothManager; field in Dependency
394 mProviders.put(LocalBluetoothManager.class, mLocalBluetoothManager::get); in start()