/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 | 119 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/ |
D | slesTestRecBuffQueue.cpp | 192 SLObjectItf recorder; in TestRecToBuffQueue() local 296 result = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, &recSource, &recDest, in TestRecToBuffQueue() 302 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf); in TestRecToBuffQueue() 329 result = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE); in TestRecToBuffQueue() 334 result = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void*)&recordItf); in TestRecToBuffQueue() 350 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDSIMPLEBUFFERQUEUE, in TestRecToBuffQueue() 395 (*recorder)->Destroy(recorder); in TestRecToBuffQueue()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 44 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/core/jni/android/graphics/ |
D | Picture.cpp | 91 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/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaRecorderSetOutputFormatStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
|
D | MediaRecorderStartStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.start(); in invokeMethodUnderTest()
|
D | MediaRecorderSetAudioEncoderStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
|
D | MediaRecorderResetStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.reset(); in invokeMethodUnderTest()
|
D | MediaRecorderSetAudioSourceStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); in invokeMethodUnderTest()
|
D | MediaRecorderSetOutputFileStateUnitTest.java | 50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); 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/java/android/media/ |
D | AudioRecord.java | 1652 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/ |
D | android_media_MediaRecorder.cpp | 147 …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/ |
D | IMediaPlayerService.cpp | 154 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact() local 155 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.c | 187 CAudioRecorder* recorder = (CAudioRecorder*)configObj; // get the native recorder in ValidateRecorderConfig() local 188 switch (recorder->mAndroidObjType) { in ValidateRecorderConfig()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_recordable.txt | 81 recorder as indicated by the NATIVE_WINDOW_IS_VIDEO_RECORDER query on
|
/frameworks/base/docs/html/ndk/guides/audio/ |
D | opensl-for-android.jd | 193 <th scope="col">Audio recorder</th> 399 player. You cannot use this data format for an audio recorder. 543 An audio player or recorder with a data locator for a buffer queue supports PCM data format only. 564 and only for an audio player. You cannot use this data format for an audio recorder. It supports 751 <th scope="col">Audio recorder</th> 860 You can use similar code to configure the preset for an audio recorder:
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 301 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid, opPackageName); in createMediaRecorder() local 302 wp<MediaRecorderClient> w = recorder; in createMediaRecorder() 306 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 | 633 captured by the screen recorder, you can use <span style=
|