/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | TestSuiteBuilderTest.java | 53 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 …]
|
D | UnitTestSuiteBuilderTest.java | 47 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()
|
D | InstrumentationTestSuiteBuilderTest.java | 46 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/ |
D | MediaRecorderTest.java | 117 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/ |
D | slesTestRecBuffQueue.cpp | 156 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/ |
D | AudioRecord.java | 842 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/ |
D | MediaRecorderSetAudioSourceStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); in invokeMethodUnderTest()
|
D | MediaRecorderSetAudioEncoderStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
|
D | MediaRecorderSetOutputFormatStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
|
D | MediaRecorderSetOutputFileStateUnitTest.java | 50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); in invokeMethodUnderTest()
|
D | MediaRecorderResetStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.reset(); in invokeMethodUnderTest()
|
D | MediaRecorderStartStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.start(); in invokeMethodUnderTest()
|
D | MediaRecorderPrepareStateUnitTest.java | 54 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 56 recorder.prepare(); in invokeMethodUnderTest()
|
D | MediaRecorderStopStateUnitTest.java | 56 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 66 recorder.stop(); in invokeMethodUnderTest()
|
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 137 …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/ |
D | IMediaPlayerService.cpp | 275 sp<IMediaRecorder> recorder = createMediaRecorder(); in onTransact() local 276 reply->writeStrongBinder(recorder->asBinder()); in onTransact()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_recordable.txt | 81 recorder as indicated by the NATIVE_WINDOW_IS_VIDEO_RECORDER query on
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 309 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/ |
D | camera.jd | 792 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/ |
D | android-4.1.jd | 359 the audio recorder to begin recording. For example, you can use this functionality to
|
D | kitkat.jd | 634 captured by the screen recorder, you can use <span style=
|