Home
last modified time | relevance | path

Searched refs:isActiveRemoteDevice (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialog.java101 boolean isActiveRemoteDevice = false; in getStopButtonVisibility()
103 isActiveRemoteDevice = mMediaOutputController.isActiveRemoteDevice( in getStopButtonVisibility()
108 return (isActiveRemoteDevice || showBroadcastButton) ? View.VISIBLE : View.GONE; in getStopButtonVisibility()
DMediaOutputController.java763 return currentConnectedMediaDevice != null && isActiveRemoteDevice( in isCurrentConnectedDeviceRemote()
1062 boolean isActiveRemoteDevice(@NonNull MediaDevice device) { in isActiveRemoteDevice() method in MediaOutputController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java104 when(mMediaOutputController.isActiveRemoteDevice(mMediaDevice1)).thenReturn(true); in setUp()
217 when(mMediaOutputController.isActiveRemoteDevice(mMediaDevice1)).thenReturn(false); in onBindViewHolder_bindNonRemoteConnectedDevice_verifyView()
344 when(mMediaOutputController.isActiveRemoteDevice(mMediaDevice1)).thenReturn(false); in onBindViewHolder_isMutingExpectedDevice_verifyView()