/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | MediaControllerRepositoryImplTest.kt | 20 import android.media.session.MediaController.PlaybackInfo 56 @Mock private lateinit var remotePlaybackInfo: PlaybackInfo 57 @Mock private lateinit var localPlaybackInfo: PlaybackInfo 83 `when`(remotePlaybackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in setup() 84 `when`(localPlaybackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_LOCAL) in setup()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/ |
D | MediaControllerKosmos.kt | 35 MediaController.PlaybackInfo( in <lambda>() 36 MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL, in <lambda>() 65 MediaController.PlaybackInfo( in <lambda>() 66 MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE, in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | Util.java | 23 import android.media.session.MediaController.PlaybackInfo; 78 public static String playbackInfoToString(PlaybackInfo info) { in playbackInfoToString() 91 case PlaybackInfo.PLAYBACK_TYPE_LOCAL: in playbackInfoTypeToString() 93 case PlaybackInfo.PLAYBACK_TYPE_REMOTE: in playbackInfoTypeToString()
|
D | MediaSessions.java | 28 import android.media.session.MediaController.PlaybackInfo; 160 final PlaybackInfo pi = controller.getPlaybackInfo(); in onActiveSessionsUpdatedH() 187 private static boolean isRemote(PlaybackInfo pi) { in isRemote() 188 return pi != null && pi.getPlaybackType() == PlaybackInfo.PLAYBACK_TYPE_REMOTE; in isRemote() 221 private void updateRemoteH(Token token, String name, PlaybackInfo pi) { in updateRemoteH() 232 final PlaybackInfo pi = c.getPlaybackInfo(); in dump() 281 public void onAudioInfoChanged(@NonNull PlaybackInfo info) { in onAudioInfoChanged() 389 void onRemoteUpdate(Token token, String name, PlaybackInfo pi); in onRemoteUpdate()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaController.java | 249 public PlaybackInfo getPlaybackInfo() { in getPlaybackInfo() 612 public void onAudioInfoChanged(@NonNull PlaybackInfo playbackInfo) {} in onAudioInfoChanged() 953 public static final class PlaybackInfo implements Parcelable { class in MediaController 991 public PlaybackInfo( in PlaybackInfo() method in MediaController.PlaybackInfo 1006 PlaybackInfo(Parcel in) { in PlaybackInfo() method in MediaController.PlaybackInfo 1097 public static final @android.annotation.NonNull Parcelable.Creator<PlaybackInfo> CREATOR = 1098 new Parcelable.Creator<PlaybackInfo>() { 1100 public PlaybackInfo createFromParcel(Parcel in) { 1101 return new PlaybackInfo(in); 1105 public PlaybackInfo[] newArray(int size) { [all …]
|
D | MediaController.aidl | 18 parcelable MediaController.PlaybackInfo;
|
D | ISessionControllerCallback.aidl | 37 void onVolumeInfoChanged(in MediaController.PlaybackInfo info); in onVolumeInfoChanged()
|
D | ISessionController.aidl | 48 MediaController.PlaybackInfo getVolumeAttributes(); in getVolumeAttributes()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 29 import android.media.session.MediaController.PlaybackInfo 116 @Mock private lateinit var playbackInfo: PlaybackInfo 155 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_LOCAL) in setUp() 255 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in updateToSessionTokenWithNullRoute() 418 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onMediaDataLoaded_withRemotePlaybackType_usesNonNullRoutingSessionName() 433 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onMediaDataLoaded_withRemotePlaybackInfo_noMatchingRoutingSession_setsDisabledDevice() 449 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onMediaDataLoaded_withRemotePlaybackInfo_noMatchingRoutingSession_returnsOtherDevice() 471 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onSelectedDeviceStateChanged_withRemotePlaybackInfo_noMatchingRoutingSession_setsDisabledDevice() 492 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onSelectedDeviceStateChanged_withRemotePlaybackInfo_noMatchingRoutingSession_returnOtherDevice() 515 whenever(playbackInfo.playbackType).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in onDeviceListUpdate_withRemotePlaybackInfo_noMatchingRoutingSession_setsDisabledDevice() [all …]
|
D | MediaSessionBasedFilterTest.kt | 20 import android.media.session.MediaController.PlaybackInfo 83 @Mock private lateinit var remotePlaybackInfo: PlaybackInfo 84 @Mock private lateinit var localPlaybackInfo: PlaybackInfo 130 whenever(remotePlaybackInfo.getPlaybackType()).thenReturn(PlaybackInfo.PLAYBACK_TYPE_REMOTE) in setUp() 131 whenever(localPlaybackInfo.getPlaybackType()).thenReturn(PlaybackInfo.PLAYBACK_TYPE_LOCAL) in setUp()
|
D | MediaDataProcessorTest.kt | 136 @Mock lateinit var playbackInfo: MediaController.PlaybackInfo 293 .thenReturn(MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL) in setup() 835 .thenReturn(MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE) in testOnNotificationRemoved_withResumption_butNotLocal() 864 .thenReturn(MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE) in testOnNotificationRemoved_withResumption_isRemoteAndRemoteAllowed() 1866 .thenReturn(MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE) in testPlaybackLocationChange_isLogged()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaOutputInteractorTest.kt | 130 MediaController.PlaybackInfo( in activeMediaDeviceSessions_volumeControlFixed_cantAdjustVolume() 131 MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL, in activeMediaDeviceSessions_volumeControlFixed_cantAdjustVolume() 139 MediaController.PlaybackInfo( in activeMediaDeviceSessions_volumeControlFixed_cantAdjustVolume() 140 MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE, in activeMediaDeviceSessions_volumeControlFixed_cantAdjustVolume()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/ |
D | CastVolumeSliderViewModel.kt | 20 import android.media.session.MediaController.PlaybackInfo 63 private fun PlaybackInfo.getCurrentState(): State { in PlaybackInfo() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaOutputInteractor.kt | 142 val playbackInfo: MediaController.PlaybackInfo = controller.playbackInfo ?: continue in <lambda>() 144 MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE -> { in <lambda>() 154 MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL -> { in <lambda>()
|
D | MediaControllerInteractor.kt | 89 override fun onAudioInfoChanged(info: MediaController.PlaybackInfo) { in onAudioInfoChanged()
|
D | MediaDeviceSessionInteractor.kt | 60 fun playbackInfo(session: MediaDeviceSession): Flow<MediaController.PlaybackInfo> { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/model/ |
D | MediaControllerChangeModel.kt | 43 data class AudioInfoChanged(val info: MediaController.PlaybackInfo) :
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilter.kt | 22 import android.media.session.MediaController.PlaybackInfo in <lambda>() 120 it.playbackInfo?.playbackType == PlaybackInfo.PLAYBACK_TYPE_REMOTE in <lambda>()
|
D | MediaDeviceManager.kt | 26 import android.media.session.MediaController.PlaybackInfo in <lambda>() 234 override fun onAudioInfoChanged(info: MediaController.PlaybackInfo) { in <lambda>() 351 if (controller?.playbackInfo?.playbackType == PlaybackInfo.PLAYBACK_TYPE_REMOTE) { in <lambda>()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 77 private PlaybackInfo mLastPlaybackInfo; 663 private static class PlaybackInfo { class in RemoteController 669 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) { in PlaybackInfo() method in RemoteController.PlaybackInfo
|
D | MediaRouter2Manager.java | 404 MediaController.PlaybackInfo playbackInfo = mediaController.getPlaybackInfo(); in getRoutingSessionForMediaController() 405 if (playbackInfo.getPlaybackType() == MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in getRoutingSessionForMediaController() 958 MediaController.PlaybackInfo playbackInfo = mediaController.getPlaybackInfo(); in areSessionsMatched()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 23 import static android.media.session.MediaController.PlaybackInfo.PLAYBACK_TYPE_LOCAL; 24 import static android.media.session.MediaController.PlaybackInfo.PLAYBACK_TYPE_REMOTE; 60 import android.media.session.MediaController.PlaybackInfo; 773 private static String toVolumeTypeString(@PlaybackInfo.PlaybackType int volumeType) { in toVolumeTypeString() 962 PlaybackInfo info; 1069 private PlaybackInfo getVolumeAttributes() { 1073 if (mVolumeType == PlaybackInfo.PLAYBACK_TYPE_REMOTE) { 1075 return new PlaybackInfo(mVolumeType, mVolumeControlType, mMaxVolume, current, 1084 return new PlaybackInfo( 1414 typeChanged = mVolumeType == PlaybackInfo.PLAYBACK_TYPE_REMOTE; [all …]
|
D | MediaShellCommand.java | 255 public void onAudioInfoChanged(@NonNull MediaController.PlaybackInfo info) { in onAudioInfoChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | InfoMediaManager.java | 43 import static android.media.session.MediaController.PlaybackInfo; 142 private PlaybackInfo mLastKnownPlaybackInfo; 424 PlaybackInfo playbackInfo = mMediaController.getPlaybackInfo(); in getActiveRoutingSession() 425 if (playbackInfo.getPlaybackType() == PlaybackInfo.PLAYBACK_TYPE_LOCAL) { in getActiveRoutingSession() 877 public void onAudioInfoChanged(@NonNull PlaybackInfo info) { in onAudioInfoChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 43 import android.media.session.MediaController.PlaybackInfo; 1268 public void onRemoteUpdate(Token token, String name, PlaybackInfo pi) { in onRemoteUpdate()
|