Home
last modified time | relevance | path

Searched refs:recorder (Results 1 – 24 of 24) 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.java119 MediaRecorder recorder = new MediaRecorder(); in validateGetSurface() local
131 recorder.setCamera(mCamera); in validateGetSurface()
133 recorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in validateGetSurface()
136 recorder.setAudioSource(MediaRecorder.AudioSource.MIC); in validateGetSurface()
140 recorder.setVideoSource(videoSource); in validateGetSurface()
141 recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in validateGetSurface()
142 recorder.setOutputFile(MediaNames.RECORDED_SURFACE_3GP); in validateGetSurface()
143 recorder.setVideoFrameRate(30); in validateGetSurface()
144 recorder.setVideoSize(352, 288); in validateGetSurface()
145 recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264); in validateGetSurface()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp196 SLObjectItf recorder; in TestRecToBuffQueue() local
315 result = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, &recSource, &recDest, in TestRecToBuffQueue()
321 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf); in TestRecToBuffQueue()
357 result = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE); in TestRecToBuffQueue()
370 result = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void*)&recordItf); in TestRecToBuffQueue()
388 result = (*recorder)->GetInterface( in TestRecToBuffQueue()
389 recorder, SL_IID_ANDROIDACOUSTICECHOCANCELLATION, (void*)&aecItf); in TestRecToBuffQueue()
404 result = (*recorder)->GetInterface( in TestRecToBuffQueue()
405 recorder, SL_IID_ANDROIDAUTOMATICGAINCONTROL, (void*)&agcItf); in TestRecToBuffQueue()
420 result = (*recorder)->GetInterface( in TestRecToBuffQueue()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp44 SkPictureRecorder recorder; in TEST() local
45 SkCanvas* skCanvas = recorder.beginRecording(200, 200, NULL, 0); in TEST()
48 SkAutoTUnref<const SkPicture> picture(recorder.endRecording()); in TEST()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
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()
DMediaRecorderSetOutputFormatStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
DMediaRecorderSetAudioEncoderStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
DMediaRecorderSetAudioSourceStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); 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/core/jni/android/graphics/
DPicture.cpp91 SkPictureRecorder recorder; in serialize() local
92 recorder.beginRecording(0, 0); in serialize()
93 std::unique_ptr<SkPicture> empty(recorder.endRecording()); in serialize()
/frameworks/base/media/java/android/media/
DAudioRecord.java1652 void onMarkerReached(AudioRecord recorder); in onMarkerReached() argument
1658 void onPeriodicNotification(AudioRecord recorder); in onPeriodicNotification() argument
1674 NativeEventHandler(AudioRecord recorder, Looper looper) { in NativeEventHandler() argument
1676 mAudioRecord = recorder; in NativeEventHandler()
1711 AudioRecord recorder = (AudioRecord)((WeakReference)audiorecord_ref).get(); in postEventFromNative() local
1712 if (recorder == null) { in postEventFromNative()
1717 recorder.broadcastRoutingChange(); in postEventFromNative()
1721 if (recorder.mEventHandler != null) { in postEventFromNative()
1723 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1724 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp147 …ic sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) in setMediaRecorder() argument
151 if (recorder.get()) { in setMediaRecorder()
152 recorder->incStrong(thiz); in setMediaRecorder()
157 env->SetLongField(thiz, fields.context, (jlong)recorder.get()); in setMediaRecorder()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp154 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact() local
155 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.c187 CAudioRecorder* recorder = (CAudioRecorder*)configObj; // get the native recorder in ValidateRecorderConfig() local
188 switch (recorder->mAndroidObjType) { in ValidateRecorderConfig()
/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.cpp302 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid, opPackageName); in createMediaRecorder() local
303 wp<MediaRecorderClient> w = recorder; in createMediaRecorder()
307 return recorder; in createMediaRecorder()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd612 the recorder by calling {@link android.media.MediaRecorder#reset() MediaRecorder.reset()}.</li>
719 <li>Release the media recorder with {@link android.media.MediaRecorder#release()
804 mMediaRecorder.reset(); // clear recorder configuration
805 mMediaRecorder.release(); // release the recorder object
1313 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.jd633 captured by the screen recorder, you can use <span style=