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.java63 private final LocalBluetoothManager mLocalBluetoothManager; field in BluetoothControllerImpl
94 mLocalBluetoothManager = localBluetoothManager; in BluetoothControllerImpl()
97 if (mLocalBluetoothManager != null) { in BluetoothControllerImpl()
98 mLocalBluetoothManager.getEventManager().registerCallback(this); in BluetoothControllerImpl()
99 mLocalBluetoothManager.getProfileManager().addServiceListener(this); in BluetoothControllerImpl()
101 mLocalBluetoothManager.getBluetoothAdapter().getBluetoothState()); in BluetoothControllerImpl()
118 pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager); in dump()
119 if (mLocalBluetoothManager == null) { in dump()
220 if (mLocalBluetoothManager != null) { in setBluetoothEnabled()
221 mLocalBluetoothManager.getBluetoothAdapter().setBluetoothEnabled(enabled); in setBluetoothEnabled()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java84 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManager
131 mLocalBluetoothManager = in LocalMediaManager()
135 if (mLocalBluetoothManager == null) { in LocalMediaManager()
141 new InfoMediaManager(context, packageName, notification, mLocalBluetoothManager); in LocalMediaManager()
152 mLocalBluetoothManager = localBluetoothManager; in LocalMediaManager()
496 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice()
501 final HearingAidProfile hearingAidProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
510 final LeAudioProfile leAudioProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
582 mLocalBluetoothManager.getCachedDeviceManager(); in getMutingExpectedDevice()
612 mLocalBluetoothManager.getCachedDeviceManager(); in buildDisconnectedBluetoothDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java118 private final LocalBluetoothManager mLocalBluetoothManager; field in MediaOutputController
179 mLocalBluetoothManager = lbm; in MediaOutputController()
972 mMediaSessionManager, mLocalBluetoothManager, mActivityStarter, in launchMediaOutputBroadcastDialog()
982 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastName()
992 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in setBroadcastName()
1002 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastCode()
1012 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in setBroadcastCode()
1033 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastMetadata()
1057 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in isBroadcastSupported()
1063 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in isBluetoothLeBroadcastEnabled()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java79 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputBaseDialogTest
109 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
112 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn( in setUp()
123 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
DMediaOutputControllerTest.java106 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputControllerTest
140 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn( in setUp()
144 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
201 mMediaSessionManager, mLocalBluetoothManager, mStarter, in start_withoutPackageName_verifyMediaControllerInit()
231 mMediaSessionManager, mLocalBluetoothManager, mStarter, in stop_withoutPackageName_verifyMediaControllerDeinit()
420 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getAppSourceName_packageNameIsNull_returnsNull()
443 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getNotificationSmallIcon_packageNameIsNull_returnsNull()
479 mMediaSessionManager, mLocalBluetoothManager, mStarter, in addDeviceToPlayMedia_triggersFromLocalMediaManager()
496 mMediaSessionManager, mLocalBluetoothManager, mStarter, in removeDeviceFromPlayMedia_triggersFromLocalMediaManager()
784 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getNotificationLargeIcon_withoutPackageName_returnsNull()
DMediaOutputDialogTest.java78 private final LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputDialogTest
106 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
117 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java56 private LocalBluetoothManager mLocalBluetoothManager; field in HearingAidDeviceManagerTest
93 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
94 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
97 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
98 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in setUp()
DCachedBluetoothDeviceManagerTest.java70 private LocalBluetoothManager mLocalBluetoothManager; field in CachedBluetoothDeviceManagerTest
123 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
124 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
135 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
404 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java71 private LocalBluetoothManager mLocalBluetoothManager; field in InfoMediaManagerTest
89 new InfoMediaManager(mContext, TEST_PACKAGE_NAME, null, mLocalBluetoothManager); in setUp()
710 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
732 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
DLocalMediaManagerTest.java80 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManagerTest
115 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
123 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
581 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(cachedManager); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()
DMediaDeviceTest.java87 private LocalBluetoothManager mLocalBluetoothManager; field in MediaDeviceTest
166 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java281 @Inject Lazy<LocalBluetoothManager> mLocalBluetoothManager; field in Dependency
458 mProviders.put(LocalBluetoothManager.class, mLocalBluetoothManager::get); in start()