Home
last modified time | relevance | path

Searched refs:stateErrors (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerSeekToStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
47 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
48 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerGetVideoHeightStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaPlayerResetStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaPlayerStartStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
49 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
50 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
[all …]
DMediaPlayerPauseStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
42 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
47 assertTrue(stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
48 assertTrue(stateErrors.errorInIdleState); in checkStateErrors()
49 assertTrue(stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaPlayerGetCurrentPositionStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
[all …]
DMediaPlayerGetDurationStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
[all …]
DMediaPlayerSetVolumeStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
42 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
48 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerSetLoopingStateUnitTest.java39 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
46 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
49 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerGetVideoWidthStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
48 assertTrue(!stateErrors.errorInStoppedState); in checkStateErrors()
[all …]
DMediaPlayerIsPlayingStateUnitTest.java38 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
42 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
44 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
46 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
48 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaPlayerSetAudioStreamTypeStateUnitTest.java39 public void checkStateErrors(MediaPlayerStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInIdleState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInIdleStateAfterReset); in checkStateErrors()
43 assertTrue(!stateErrors.errorInPreparedStateAfterStop); in checkStateErrors()
44 assertTrue(!stateErrors.errorInStartedState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInStartedStateAfterPause); in checkStateErrors()
46 assertTrue(!stateErrors.errorInPausedState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
48 assertTrue(!stateErrors.errorInPlaybackCompletedState); in checkStateErrors()
49 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
[all …]
DMediaRecorderSetOutputFormatStateUnitTest.java39 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
44 assertTrue(stateErrors.errorInInitialState); in checkStateErrors()
45 assertTrue(stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
46 assertTrue(stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
47 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
48 assertTrue(stateErrors.errorInRecordingState); in checkStateErrors()
49 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
50 assertTrue(stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
DMediaRecorderSetOutputFileStateUnitTest.java38 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
40 assertTrue(!stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInRecordingState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInErrorState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInInitialState); in checkStateErrors()
45 assertTrue(!stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
46 assertTrue(!stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
47 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
DMediaRecorderSetAudioEncoderStateUnitTest.java39 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
44 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
45 assertTrue(stateErrors.errorInRecordingState); in checkStateErrors()
46 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
47 assertTrue(stateErrors.errorInInitialState); in checkStateErrors()
48 assertTrue(stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
DMediaRecorderResetStateUnitTest.java39 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInRecordingState); in checkStateErrors()
43 assertTrue(!stateErrors.errorInInitialState); in checkStateErrors()
44 assertTrue(!stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
45 assertTrue(!stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
46 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
47 assertTrue(!stateErrors.errorInErrorState); in checkStateErrors()
48 assertTrue(!stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
DMediaRecorderSetAudioSourceStateUnitTest.java39 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInInitialState); in checkStateErrors()
42 assertTrue(!stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
43 assertTrue(!stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
44 assertTrue(!stateErrors.errorInInitializedState); in checkStateErrors()
47 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
48 assertTrue(stateErrors.errorInRecordingState); in checkStateErrors()
49 assertTrue(stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
50 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
DMediaRecorderStartStateUnitTest.java39 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
41 assertTrue(!stateErrors.errorInPreparedState); in checkStateErrors()
44 assertTrue(stateErrors.errorInRecordingState); in checkStateErrors()
45 assertTrue(stateErrors.errorInInitialState); in checkStateErrors()
46 assertTrue(stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
47 assertTrue(stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
48 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
49 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
50 assertTrue(stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
DMediaRecorderPrepareStateUnitTest.java40 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
42 assertTrue(!stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
45 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
46 assertTrue(stateErrors.errorInRecordingState); in checkStateErrors()
47 assertTrue(stateErrors.errorInInitialState); in checkStateErrors()
48 assertTrue(stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
51 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
DMediaRecorderStopStateUnitTest.java42 public void checkStateErrors(MediaRecorderStateErrors stateErrors) { in checkStateErrors() argument
44 assertTrue(!stateErrors.errorInRecordingState); in checkStateErrors()
47 assertTrue(stateErrors.errorInInitialState); in checkStateErrors()
48 assertTrue(stateErrors.errorInInitialStateAfterReset); in checkStateErrors()
49 assertTrue(stateErrors.errorInInitialStateAfterStop); in checkStateErrors()
50 assertTrue(stateErrors.errorInInitializedState); in checkStateErrors()
51 assertTrue(stateErrors.errorInErrorState); in checkStateErrors()
52 assertTrue(stateErrors.errorInDataSourceConfiguredState); in checkStateErrors()
53 assertTrue(stateErrors.errorInPreparedState); in checkStateErrors()
DMediaRecorderMethodUnderTest.java25 public void checkStateErrors(MediaRecorderStateErrors stateErrors); in checkStateErrors() argument
DMediaPlayerMethodUnderTest.java25 public void checkStateErrors(MediaPlayerStateErrors stateErrors); in checkStateErrors() argument