Home
last modified time | relevance | path

Searched refs:mLocalBluetoothProfileManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBroadcastDialogTest.java87 private final LocalBluetoothProfileManager mLocalBluetoothProfileManager = mock( field in MediaOutputBroadcastDialogTest
120 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
121 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn(null); in setUp()
122 when(mLocalBluetoothProfileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(null); in setUp()
160 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in startBroadcastWithConnectedDevices_noBroadcastMetadata_failToAddSource()
163 when(mLocalBluetoothProfileManager.getLeAudioBroadcastAssistantProfile()).thenReturn( in startBroadcastWithConnectedDevices_noBroadcastMetadata_failToAddSource()
173 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in startBroadcastWithConnectedDevices_noConnectedMediaDevice_failToAddSource()
177 when(mLocalBluetoothProfileManager.getLeAudioBroadcastAssistantProfile()).thenReturn( in startBroadcastWithConnectedDevices_noConnectedMediaDevice_failToAddSource()
188 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()
192 when(mLocalBluetoothProfileManager.getLeAudioBroadcastAssistantProfile()).thenReturn( in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()
[all …]
DMediaOutputDialogTest.java92 private final LocalBluetoothProfileManager mLocalBluetoothProfileManager = mock( field in MediaOutputDialogTest
126 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
127 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn(null); in setUp()
195 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in getStopButtonVisibility_remoteBLEDevice_returnVisible()
207 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in getStopButtonVisibility_remoteNonBLEDevice_returnGone()
228 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in isBroadcastSupported_flagOnAndConnectBleDevice_returnsTrue()
241 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in isBroadcastSupported_flagOnAndNoBleDevice_returnsFalse()
263 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in isBroadcastSupported_flagOffAndConnectToBleDevice_returnsTrue()
276 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in isBroadcastSupported_flagOffAndNoBleDevice_returnsTrue()
289 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in isBroadcastSupported_noBleDeviceAndEnabledBroadcast_returnsTrue()
[all …]
DMediaOutputBaseDialogTest.java82 private final LocalBluetoothProfileManager mLocalBluetoothProfileManager = mock( field in MediaOutputBaseDialogTest
113 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
119 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn(null); in setUp()
277 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in whenBroadcasting_verifyLeBroadcastServiceCallBackIsRegisteredAndUnregistered()
291 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsNotRegisteredOrUnregistered()
305 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsUnregisteredIfProfileEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/
DBroadcastDialogDelegateTest.java69 private final LocalBluetoothProfileManager mLocalBluetoothProfileManager = mock( field in BroadcastDialogDelegateTest
92 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mLocalBluetoothProfileManager); in setUp()
93 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn(null); in setUp()
162 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in onClick_withSwitchBroadcast_stopCurrentBroadcast()
181 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn(null); in handleLeBroadcastStopped_withBroadcastProfileNull_doRefreshButton()
192 when(mLocalBluetoothProfileManager.getLeAudioBroadcastProfile()).thenReturn( in handleLeBroadcastStopped_withBroadcastProfile_doStartBroadcast()