Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java64 private final LocalBluetoothManager mLocalBluetoothManager; field in BluetoothControllerImpl
91 mLocalBluetoothManager = localBluetoothManager; in BluetoothControllerImpl()
94 if (mLocalBluetoothManager != null) { in BluetoothControllerImpl()
95 mLocalBluetoothManager.getEventManager().registerCallback(this); in BluetoothControllerImpl()
96 mLocalBluetoothManager.getProfileManager().addServiceListener(this); in BluetoothControllerImpl()
98 mLocalBluetoothManager.getBluetoothAdapter().getBluetoothState()); in BluetoothControllerImpl()
115 pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager); in dump()
116 if (mLocalBluetoothManager == null) { in dump()
211 if (mLocalBluetoothManager != null) { in setBluetoothEnabled()
212 mLocalBluetoothManager.getBluetoothAdapter().setBluetoothEnabled(enabled); in setBluetoothEnabled()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java78 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManager
123 mLocalBluetoothManager = in LocalMediaManager()
126 if (mLocalBluetoothManager == null) { in LocalMediaManager()
132 new InfoMediaManager(context, packageName, notification, mLocalBluetoothManager); in LocalMediaManager()
143 mLocalBluetoothManager = localBluetoothManager; in LocalMediaManager()
443 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice()
448 final HearingAidProfile hearingAidProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
519 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/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputGroupDialogTest.java58 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputGroupDialogTest
75 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in setUp()
DMediaOutputDialogTest.java60 private final LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputDialogTest
76 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in setUp()
DMediaOutputControllerTest.java83 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputControllerTest
111 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn( in setUp()
115 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in setUp()
159 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in start_withoutPackageName_verifyMediaControllerInit()
180 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in stop_withoutPackageName_verifyMediaControllerDeinit()
451 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in getNotificationLargeIcon_withoutPackageName_returnsNull()
DMediaOutputBaseDialogTest.java60 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputBaseDialogTest
77 mMediaSessionManager, mLocalBluetoothManager, mShadeController, mStarter, in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
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()
670 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(cachedManager); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
DInfoMediaManagerTest.java72 private LocalBluetoothManager mLocalBluetoothManager; field in InfoMediaManagerTest
90 new InfoMediaManager(mContext, TEST_PACKAGE_NAME, null, mLocalBluetoothManager); in setUp()
693 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
715 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
DMediaDeviceTest.java85 private LocalBluetoothManager mLocalBluetoothManager; field in MediaDeviceTest
154 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java284 @Inject Lazy<LocalBluetoothManager> mLocalBluetoothManager; field in Dependency
467 mProviders.put(LocalBluetoothManager.class, mLocalBluetoothManager::get); in start()