Home
last modified time | relevance | path

Searched refs:recorder (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DTestSuiteBuilderTest.java53 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldRunSimpleTests() local
55 assertTrue(recorder.passed("SimpleTest.testSimpleOne")); in testShouldRunSimpleTests()
56 assertTrue(recorder.passed("SimpleTest.testSimpleTwo")); in testShouldRunSimpleTests()
57 assertTrue(recorder.passed("AnotherSimpleTest.testAnotherOne")); in testShouldRunSimpleTests()
66 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldOnlyIncludeTestsThatSatisfyAllPredicates() local
68 assertTrue(recorder.passed("SimpleTest.testSimpleTwo")); in testShouldOnlyIncludeTestsThatSatisfyAllPredicates()
74 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldAddFailingTestsToSuite() local
76 assertTrue(recorder.failed("FailingTest.testFailOne")); in testShouldAddFailingTestsToSuite()
77 assertTrue(recorder.failed("FailingTest.testFailTwo")); in testShouldAddFailingTestsToSuite()
83 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldAddTestsWithErrorsToSuite() local
[all …]
DUnitTestSuiteBuilderTest.java47 SuiteExecutionRecorder recorder = runSuite(unitTestSuiteBuilder); in testShouldExcludeIntrumentationTests() local
49 assertFalse(recorder.saw("InstrumentationTest.testInstrumentation")); in testShouldExcludeIntrumentationTests()
50 assertTrue(recorder.testsSeen.isEmpty()); in testShouldExcludeIntrumentationTests()
60 SuiteExecutionRecorder recorder = new SuiteExecutionRecorder(); in runSuite() local
62 result.addListener(recorder); in runSuite()
64 return recorder; in runSuite()
DInstrumentationTestSuiteBuilderTest.java46 SuiteExecutionRecorder recorder = runSuite(instrumentationTestSuiteBuilder); in testShouldIncludeIntrumentationTests() local
48 assertEquals(1, recorder.testsSeen.size()); in testShouldIncludeIntrumentationTests()
49 assertTrue(recorder.saw("InstrumentationTest.testInstrumentation")); in testShouldIncludeIntrumentationTests()
67 SuiteExecutionRecorder recorder = new SuiteExecutionRecorder(); in runSuite() local
69 result.addListener(recorder); in runSuite()
71 return recorder; in runSuite()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java117 MediaRecorder recorder = new MediaRecorder(); in validateGetSurface() local
129 recorder.setCamera(mCamera); in validateGetSurface()
131 recorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in validateGetSurface()
134 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in validateGetSurface()
138 recorder.setVideoSource(videoSource); in validateGetSurface()
139 recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in validateGetSurface()
140 recorder.setOutputFile(MediaNames.RECORDED_SURFACE_3GP); in validateGetSurface()
141 recorder.setVideoFrameRate(30); in validateGetSurface()
142 recorder.setVideoSize(352, 288); in validateGetSurface()
143 recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264); in validateGetSurface()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp156 SLObjectItf recorder; in TestRecToBuffQueue() local
219 result = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, &recSource, &recDest, in TestRecToBuffQueue()
225 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf); in TestRecToBuffQueue()
252 result = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE); in TestRecToBuffQueue()
257 result = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void*)&recordItf); in TestRecToBuffQueue()
273 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDSIMPLEBUFFERQUEUE, in TestRecToBuffQueue()
318 (*recorder)->Destroy(recorder); in TestRecToBuffQueue()
/frameworks/base/media/java/android/media/
DAudioRecord.java842 void onMarkerReached(AudioRecord recorder); in onMarkerReached() argument
848 void onPeriodicNotification(AudioRecord recorder); in onPeriodicNotification() argument
865 NativeEventHandler(AudioRecord recorder, Looper looper) { in NativeEventHandler() argument
867 mAudioRecord = recorder; in NativeEventHandler()
903 AudioRecord recorder = (AudioRecord)((WeakReference)audiorecord_ref).get(); in postEventFromNative() local
904 if (recorder == null) { in postEventFromNative()
908 if (recorder.mEventHandler != null) { in postEventFromNative()
910 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
911 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderSetAudioSourceStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); in invokeMethodUnderTest()
DMediaRecorderSetAudioEncoderStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
DMediaRecorderSetOutputFormatStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
DMediaRecorderSetOutputFileStateUnitTest.java50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); in invokeMethodUnderTest()
DMediaRecorderResetStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.reset(); in invokeMethodUnderTest()
DMediaRecorderStartStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.start(); in invokeMethodUnderTest()
DMediaRecorderPrepareStateUnitTest.java54 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
56 recorder.prepare(); in invokeMethodUnderTest()
DMediaRecorderStopStateUnitTest.java56 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
66 recorder.stop(); in invokeMethodUnderTest()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp137 …ic sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) in setMediaRecorder() argument
141 if (recorder.get()) { in setMediaRecorder()
142 recorder->incStrong(thiz); in setMediaRecorder()
147 env->SetLongField(thiz, fields.context, (jlong)recorder.get()); in setMediaRecorder()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp275 sp<IMediaRecorder> recorder = createMediaRecorder(); in onTransact() local
276 reply->writeStrongBinder(recorder->asBinder()); in onTransact()
/frameworks/native/opengl/specs/
DEGL_ANDROID_recordable.txt81 recorder as indicated by the NATIVE_WINDOW_IS_VIDEO_RECORDER query on
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp309 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid); in createMediaRecorder() local
310 wp<MediaRecorderClient> w = recorder; in createMediaRecorder()
314 return recorder; in createMediaRecorder()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd792 the recorder by calling {@link android.media.MediaRecorder#reset() MediaRecorder.reset()}.</li>
899 <li>Release the media recorder with {@link android.media.MediaRecorder#release()
984 mMediaRecorder.reset(); // clear recorder configuration
985 mMediaRecorder.release(); // release the recorder object
1493 recorder object as if you are recording a normal video, setting the captured frames per second to a
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd359 the audio recorder to begin recording. For example, you can use this functionality to
Dkitkat.jd634 captured by the screen recorder, you can use <span style=