Searched refs:mLocalBluetoothLeBroadcast (Results 1 – 4 of 4) sorted by relevance
94 private final LocalBluetoothLeBroadcast mLocalBluetoothLeBroadcast = mock( field in MediaOutputDialogTest196 mLocalBluetoothLeBroadcast); in getStopButtonVisibility_remoteBLEDevice_returnVisible()197 when(mLocalBluetoothLeBroadcast.isEnabled(any())).thenReturn(false); in getStopButtonVisibility_remoteBLEDevice_returnVisible()208 mLocalBluetoothLeBroadcast); in getStopButtonVisibility_remoteNonBLEDevice_returnGone()209 when(mLocalBluetoothLeBroadcast.isEnabled(any())).thenReturn(false); in getStopButtonVisibility_remoteNonBLEDevice_returnGone()229 mLocalBluetoothLeBroadcast); in isBroadcastSupported_flagOnAndConnectBleDevice_returnsTrue()230 when(mLocalBluetoothLeBroadcast.isEnabled(any())).thenReturn(false); in isBroadcastSupported_flagOnAndConnectBleDevice_returnsTrue()242 mLocalBluetoothLeBroadcast); in isBroadcastSupported_flagOnAndNoBleDevice_returnsFalse()243 when(mLocalBluetoothLeBroadcast.isEnabled(any())).thenReturn(false); in isBroadcastSupported_flagOnAndNoBleDevice_returnsFalse()264 mLocalBluetoothLeBroadcast); in isBroadcastSupported_flagOffAndConnectToBleDevice_returnsTrue()[all …]
89 private final LocalBluetoothLeBroadcast mLocalBluetoothLeBroadcast = mock( field in MediaOutputBroadcastDialogTest123 when(mLocalBluetoothLeBroadcast.getProgramInfo()).thenReturn(BROADCAST_NAME_TEST); in setUp()124 when(mLocalBluetoothLeBroadcast.getBroadcastCode()).thenReturn( in setUp()161 mLocalBluetoothLeBroadcast); in startBroadcastWithConnectedDevices_noBroadcastMetadata_failToAddSource()162 when(mLocalBluetoothLeBroadcast.getLatestBluetoothLeBroadcastMetadata()).thenReturn(null); in startBroadcastWithConnectedDevices_noBroadcastMetadata_failToAddSource()174 mLocalBluetoothLeBroadcast); in startBroadcastWithConnectedDevices_noConnectedMediaDevice_failToAddSource()175 when(mLocalBluetoothLeBroadcast.getLatestBluetoothLeBroadcastMetadata()).thenReturn( in startBroadcastWithConnectedDevices_noConnectedMediaDevice_failToAddSource()189 mLocalBluetoothLeBroadcast); in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()190 when(mLocalBluetoothLeBroadcast.getLatestBluetoothLeBroadcastMetadata()).thenReturn( in startBroadcastWithConnectedDevices_hasBroadcastSource_failToAddSource()211 mLocalBluetoothLeBroadcast); in startBroadcastWithConnectedDevices_noBroadcastSource_failToAddSource()[all …]
84 private final LocalBluetoothLeBroadcast mLocalBluetoothLeBroadcast = mock( field in MediaOutputBaseDialogTest278 mLocalBluetoothLeBroadcast); in whenBroadcasting_verifyLeBroadcastServiceCallBackIsRegisteredAndUnregistered()282 verify(mLocalBluetoothLeBroadcast).registerServiceCallBack(any(), any()); in whenBroadcasting_verifyLeBroadcastServiceCallBackIsRegisteredAndUnregistered()285 verify(mLocalBluetoothLeBroadcast).unregisterServiceCallBack(any()); in whenBroadcasting_verifyLeBroadcastServiceCallBackIsRegisteredAndUnregistered()292 mLocalBluetoothLeBroadcast); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsNotRegisteredOrUnregistered()298 verify(mLocalBluetoothLeBroadcast, never()).registerServiceCallBack(any(), any()); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsNotRegisteredOrUnregistered()299 verify(mLocalBluetoothLeBroadcast, never()).unregisterServiceCallBack(any()); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsNotRegisteredOrUnregistered()306 mLocalBluetoothLeBroadcast); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsUnregisteredIfProfileEnabled()310 verify(mLocalBluetoothLeBroadcast).registerServiceCallBack(any(), any()); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsUnregisteredIfProfileEnabled()314 verify(mLocalBluetoothLeBroadcast).unregisterServiceCallBack(any()); in whenNotBroadcasting_verifyLeBroadcastServiceCallBackIsUnregisteredIfProfileEnabled()
71 private final LocalBluetoothLeBroadcast mLocalBluetoothLeBroadcast = mock( field in BroadcastDialogDelegateTest163 mLocalBluetoothLeBroadcast); in onClick_withSwitchBroadcast_stopCurrentBroadcast()167 verify(mLocalBluetoothLeBroadcast).stopLatestBroadcast(); in onClick_withSwitchBroadcast_stopCurrentBroadcast()193 mLocalBluetoothLeBroadcast); in handleLeBroadcastStopped_withBroadcastProfile_doStartBroadcast()197 verify(mLocalBluetoothLeBroadcast).startBroadcast(eq(SWITCH_APP), any()); in handleLeBroadcastStopped_withBroadcastProfile_doStartBroadcast()