Home
last modified time | relevance | path

Searched refs:mMethodUnderTest (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java47 private MediaRecorderMethodUnderTest mMethodUnderTest = null; field in MediaRecorderStateUnitTestTemplate
56 mMethodUnderTest = testMethod; in runTestOnMethod()
57 if (mMethodUnderTest != null) { // Method under test has been set? in runTestOnMethod()
59 mMethodUnderTest.checkStateErrors(mStateErrors); in runTestOnMethod()
70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); in callMediaRecorderMethodUnderTestInState()
73 mMethodUnderTest.invokeMethodUnderTest(mMediaRecorder); in callMediaRecorderMethodUnderTestInState()
77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); in callMediaRecorderMethodUnderTestInState()
118 if (mMethodUnderTest.toString() != "setAudioSource()") { in setMediaRecorderToInitializedState()
163 if (mMethodUnderTest.toString() != "setAudioEncoder()") { in setMediaRecorderToDataSourceConfiguredState()
167 if (mMethodUnderTest.toString() != "setOutputFile()") { in setMediaRecorderToDataSourceConfiguredState()
[all …]
DMediaPlayerStateUnitTestTemplate.java53 private MediaPlayerMethodUnderTest mMethodUnderTest = null; field in MediaPlayerStateUnitTestTemplate
80 mMethodUnderTest = testMethod; in runTestOnMethod()
81 if (mMethodUnderTest != null) { // Method under test has been set? in runTestOnMethod()
94 mMethodUnderTest.checkStateErrors(mStateErrors); in runTestOnMethod()
156 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); in callMediaPlayerMethodUnderTestInState()
158 mMethodUnderTest.invokeMethodUnderTest(mMediaPlayer); in callMediaPlayerMethodUnderTestInState()
166 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); in callMediaPlayerMethodUnderTestInState()
504 mMethodUnderTest = null; in cleanUp()