Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java71 private final LocalBluetoothManager mLocalBluetoothManager; field in BluetoothControllerImpl
104 mLocalBluetoothManager = localBluetoothManager; in BluetoothControllerImpl()
106 if (mLocalBluetoothManager != null) { in BluetoothControllerImpl()
107 mLocalBluetoothManager.getEventManager().registerCallback(this); in BluetoothControllerImpl()
108 mLocalBluetoothManager.getProfileManager().addServiceListener(this); in BluetoothControllerImpl()
110 mLocalBluetoothManager.getBluetoothAdapter().getBluetoothState()); in BluetoothControllerImpl()
128 pw.print(" mLocalBluetoothManager="); pw.println(mLocalBluetoothManager); in dump()
129 if (mLocalBluetoothManager == null) { in dump()
228 if (mLocalBluetoothManager != null) { in setBluetoothEnabled()
235 return mLocalBluetoothManager != null; in isBluetoothSupported()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/
H A DBroadcastDialogController.java42 private final LocalBluetoothManager mLocalBluetoothManager; field in BroadcastDialogController
55 mLocalBluetoothManager = localBluetoothManager; in BroadcastDialogController()
67 mLocalBluetoothManager, currentBroadcastAppName, outputPkgName, mUiEventLogger, in createBroadcastDialog()
H A DBroadcastDialog.java66 private LocalBluetoothManager mLocalBluetoothManager; field in BroadcastDialog
149 mLocalBluetoothManager = localBluetoothManager; in BroadcastDialog()
231 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in registerBroadcastCallBack()
241 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in unregisterBroadcastCallBack()
251 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in startBluetoothLeBroadcast()
264 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in stopBluetoothLeBroadcast()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputController.java126 private final LocalBluetoothManager mLocalBluetoothManager; field in MediaOutputController
188 mLocalBluetoothManager = lbm; in MediaOutputController()
936 mMediaSessionManager, mLocalBluetoothManager, mActivityStarter, in launchMediaOutputBroadcastDialog()
947 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastName()
957 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in setBroadcastName()
967 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastCode()
977 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in setBroadcastCode()
998 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getLocalBroadcastMetadataQrCodeString()
1010 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in getBroadcastMetadata()
1033 mLocalBluetoothManager.getProfileManager().getLeAudioBroadcastProfile(); in isBroadcastSupported()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DLocalMediaManager.java85 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManager
130 mLocalBluetoothManager = in LocalMediaManager()
134 if (mLocalBluetoothManager == null) { in LocalMediaManager()
140 new InfoMediaManager(context, packageName, notification, mLocalBluetoothManager); in LocalMediaManager()
151 mLocalBluetoothManager = localBluetoothManager; in LocalMediaManager()
485 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice()
490 final HearingAidProfile hearingAidProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
499 final LeAudioProfile leAudioProfile = mLocalBluetoothManager.getProfileManager() in isActiveDevice()
556 mLocalBluetoothManager.getCachedDeviceManager(); in getMutingExpectedDevice()
586 mLocalBluetoothManager.getCachedDeviceManager(); in buildDisconnectedBluetoothDevice()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/
H A DBroadcastDialogTest.java58 private final LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in BroadcastDialogTest
74 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
77 mLocalBluetoothManager, CURRENT_BROADCAST_APP, TEST_PACKAGE, in setUp()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCsipDeviceManagerTest.java61 private LocalBluetoothManager mLocalBluetoothManager; field in CsipDeviceManagerTest
115 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
116 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
122 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
123 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
H A DCachedBluetoothDeviceManagerTest.java72 private LocalBluetoothManager mLocalBluetoothManager; field in CachedBluetoothDeviceManagerTest
125 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
126 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
137 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
408 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in updateHearingAidDevices_directToHearingAidDeviceManager()
612 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in onActiveDeviceChanged_validHiSyncId_callExpectedFunction()
H A DHearingAidDeviceManagerTest.java87 private LocalBluetoothManager mLocalBluetoothManager; field in HearingAidDeviceManagerTest
120 when(mLocalBluetoothManager.getEventManager()).thenReturn(mBluetoothEventManager); in setUp()
121 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
132 mCachedDeviceManager = new CachedBluetoothDeviceManager(mContext, mLocalBluetoothManager); in setUp()
133 mHearingAidDeviceManager = spy(new HearingAidDeviceManager(mContext, mLocalBluetoothManager, in setUp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseDialogTest.java79 private LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputBaseDialogTest
110 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
113 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn( in setUp()
124 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
H A DMediaOutputControllerTest.java126 private LocalBluetoothManager mLocalBluetoothManager; field in MediaOutputControllerTest
193 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn( in setUp()
197 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
279 mMediaSessionManager, mLocalBluetoothManager, mStarter, in start_withoutPackageName_verifyMediaControllerInit()
309 mMediaSessionManager, mLocalBluetoothManager, mStarter, in stop_withoutPackageName_verifyMediaControllerDeinit()
530 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getAppSourceName_packageNameIsNull_returnsNull()
553 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getNotificationSmallIcon_packageNameIsNull_returnsNull()
589 mMediaSessionManager, mLocalBluetoothManager, mStarter, in addDeviceToPlayMedia_triggersFromLocalMediaManager()
606 mMediaSessionManager, mLocalBluetoothManager, mStarter, in removeDeviceFromPlayMedia_triggersFromLocalMediaManager()
888 mMediaSessionManager, mLocalBluetoothManager, mStarter, in getNotificationLargeIcon_withoutPackageName_returnsNull()
[all …]
H A DMediaOutputDialogTest.java83 private final LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputDialogTest
117 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
132 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
H A DMediaOutputBroadcastDialogTest.java86 private final LocalBluetoothManager mLocalBluetoothManager = mock(LocalBluetoothManager.class); field in MediaOutputBroadcastDialogTest
119 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
127 mMediaSessionManager, mLocalBluetoothManager, mStarter, in setUp()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java80 private LocalBluetoothManager mLocalBluetoothManager; field in LocalMediaManagerTest
115 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalProfileManager); in setUp()
123 mLocalMediaManager = new LocalMediaManager(mContext, mLocalBluetoothManager, in setUp()
465 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(cachedManager); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice()
H A DInfoMediaManagerTest.java91 private LocalBluetoothManager mLocalBluetoothManager; field in InfoMediaManagerTest
111 new InfoMediaManager(mContext, TEST_PACKAGE_NAME, null, mLocalBluetoothManager); in setUp()
1031 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice()
1053 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
1079 when(mLocalBluetoothManager.getCachedDeviceManager()) in addMediaDevice_deviceIncludedInSelectedDevices_shouldSetAsCurrentConnected()
H A DMediaDeviceTest.java91 private LocalBluetoothManager mLocalBluetoothManager; field in MediaDeviceTest
172 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java277 @Inject Lazy<LocalBluetoothManager> mLocalBluetoothManager; field in Dependency
448 mProviders.put(LocalBluetoothManager.class, mLocalBluetoothManager::get); in start()