/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModel.kt | 116 private var playbackState: PlaybackState? = null variable in com.android.systemui.media.controls.ui.viewmodel.SeekBarViewModel 120 playbackState = state in onPlaybackStateChanged() 121 if (playbackState == null || PlaybackState.STATE_NONE.equals(playbackState)) { in onPlaybackStateChanged() 220 playbackState = null in onSeek() 235 playbackState = controller?.playbackState in updateController() 237 val seekAvailable = ((playbackState?.actions ?: 0L) and PlaybackState.ACTION_SEEK_TO) != 0L in updateController() 238 val position = playbackState?.position?.toInt() in updateController() 242 playbackState?.state ?: PlaybackState.STATE_NONE in updateController() 246 playbackState == null || in updateController() 247 playbackState?.getState() == PlaybackState.STATE_NONE || in updateController() [all …]
|
D | MediaControlViewModel.kt | 110 mediaController?.playbackState?.let { it.state == PlaybackState.STATE_PLAYING } ?: false in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | MediaControllerRepositoryImplTest.kt | 70 `when`(stoppedMediaController.playbackState).thenReturn(stateStopped) in setup() 72 `when`(statelessMediaController.playbackState).thenReturn(stateNone) in setup() 74 `when`(errorMediaController.playbackState).thenReturn(stateError) in setup() 76 `when`(remoteMediaController.playbackState).thenReturn(statePlaying) in setup() 79 `when`(localMediaController.playbackState).thenReturn(statePlaying) in setup()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | Util.java | 137 public static String playbackStateToString(PlaybackState playbackState) { in playbackStateToString() argument 138 if (playbackState == null) return null; in playbackStateToString() 139 return playbackStateStateToString(playbackState.getState()) + " " + playbackState; in playbackStateToString()
|
D | MediaSessions.java | 233 final PlaybackState playbackState = c.getPlaybackState(); in dump() local 239 writer.println(" PlaybackState: " + Util.playbackStateToString(playbackState)); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaOutputInteractor.kt | 95 it.local?.playbackState?.isActive == true -> it.local.mediaDeviceSession() in <lambda>() 96 it.remote?.playbackState?.isActive == true -> it.remote.mediaDeviceSession() in <lambda>() 170 val isNewControllerActive = newController.playbackState?.isActive == true in <lambda>() 171 val isCurrentControllerActive = currentController.playbackState?.isActive == true in <lambda>()
|
D | MediaDeviceSessionInteractor.kt | 51 fun playbackState(session: MediaDeviceSession): Flow<PlaybackState?> { in <lambda>() method 53 emit(MediaControllerChangeModel.PlaybackStateChanged(it.playbackState)) in <lambda>()
|
D | MediaOutputComponentInteractor.kt | 62 mediaDeviceSessionInteractor.playbackState(session).mapNotNull { playback -> in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipMediaController.kt | 230 val playbackState: PlaybackState = mMediaController!!.playbackState in <lambda>() constant in com.android.wm.shell.common.pip.PipMediaController 233 val isPlaying = playbackState.isActive in <lambda>() 234 val actions = playbackState.actions in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaDeviceSessionInteractorTest.kt | 83 val state by collectLastValue(underTest.playbackState(session!!)) in playbackState_returnsPlaybackState() 86 assertThat(state).isEqualTo(localMediaController.playbackState) in playbackState_returnsPlaybackState()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/ |
D | MediaControllerKosmos.kt | 57 whenever(playbackState).thenReturn(localPlaybackStateBuilder.build()) in <lambda>() 87 whenever(playbackState).thenReturn(remotePlaybackStateBuilder.build()) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerTest.kt | 145 whenever(mediaController.playbackState).thenReturn(playingState) in testOnMediaDataLoaded_registersPlaybackListener() 199 whenever(mediaController.playbackState).thenReturn(playingState) in testOnMediaDataLoaded_migratesKeys() 219 whenever(mediaController.playbackState).thenReturn(playingState) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension() 307 whenever(mediaController.playbackState).thenReturn(playingState) in testSessionDestroyed_thenRestarts_resetsTimeout() 357 whenever(mediaController.playbackState).thenReturn(pausedState) in testOnMediaDataLoaded_pausedToResume_updatesTimeout() 389 whenever(mediaController.playbackState).thenReturn(playingState) in testOnMediaDataLoaded_resumeToActive_updatesTimeout() 687 whenever(mediaController.playbackState).thenReturn(state) in loadMediaDataWithPlaybackState()
|
D | MediaDataProcessorTest.kt | 1672 whenever(controller.playbackState).thenReturn(null) in testPlaybackActions_noState_usesNotification() 1715 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_hasPrevNext() 1756 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_noPrevNext_usesCustom() 1788 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_connecting() 1814 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_reservedSpace() 1844 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_playPause_hasButton() 1943 whenever(controller.playbackState).thenReturn(state) in testPlaybackState_PauseWhenFlagTrue_keyExists_callsListener() 2005 whenever(controller.playbackState).thenReturn(null) in testPlaybackStateNull_Pause_keyExists_callsListener() 2445 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in addPlaybackStateAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 480 final PlaybackState playbackState = controller.getPlaybackState(); in getMediaControllerPlaybackState() local 481 if (playbackState != null) { in getMediaControllerPlaybackState() 482 return playbackState.getState(); in getMediaControllerPlaybackState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/ui/viewmodel/ |
D | MediaOutputViewModelTest.kt | 81 whenever(localMediaController.playbackState).then { playbackStateBuilder.build() } in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/ui/viewmodel/ |
D | AudioVolumeComponentViewModel.kt | 72 mediaDeviceSessionInteractor.playbackState(session).map { it?.isActive == true } in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/ |
D | SpatialAudioAvailabilityCriteriaTest.kt | 82 whenever(localMediaController.playbackState).thenReturn(PlaybackState.Builder().build()) in setup()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 346 MediaSessionRecordImpl record, @Nullable PlaybackState playbackState) { in onSessionActiveStateChanged() argument 372 boolean isUserEngaged = isUserEngaged(record, playbackState); in onSessionActiveStateChanged() 380 + playbackState); in onSessionActiveStateChanged() 387 @Nullable PlaybackState playbackState) { in isUserEngaged() argument 388 if (playbackState == null) { in isUserEngaged() 392 return playbackState.isActive() && record.isActive(); in isUserEngaged() 479 @Nullable PlaybackState playbackState) { in onSessionPlaybackStateChanged() argument 487 boolean isUserEngaged = isUserEngaged(record, playbackState); in onSessionPlaybackStateChanged() 494 + playbackState); in onSessionPlaybackStateChanged()
|
D | MediaSessionRecord.java | 891 PlaybackState playbackState; 896 playbackState = mPlaybackState; 900 holder -> holder.mCallback.onPlaybackStateChanged(playbackState));
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractorTest.kt | 101 whenever(localMediaController.playbackState).thenReturn(PlaybackState.Builder().build()) in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListener.kt | 246 mediaController?.playbackState, in <lambda>()
|
D | MediaDataProcessor.kt | 855 val isPlaying = mediaController.playbackState?.let { isPlayingState(it.state) } in <lambda>() 1034 val state = controller.playbackState in <lambda>()
|
D | LegacyMediaDataManagerImpl.kt | 910 val isPlaying = mediaController.playbackState?.let { isPlayingState(it.state) } ?: null in loadMediaDataInBg() 1088 val state = controller.playbackState in createActionsFromState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputController.java | 1250 public void onPlaybackStateChanged(PlaybackState playbackState) { 1252 playbackState == null ? PlaybackState.STATE_STOPPED : playbackState.getState();
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |