/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()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 32 AAudioSimpleRecorder recorder; in main() local 50 result = recorder.open(argParser, in main() 59 aaudioStream = recorder.getStream(); in main() 62 printf("recorder.getFramesPerSecond() = %d\n", recorder.getFramesPerSecond()); in main() 63 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main() 65 result = recorder.start(); in main() 79 printf("%08d: ", (int)recorder.getFramesRead()); in main() 97 result = recorder.stop(); in main() 102 result = recorder.start(); in main() 115 printf("%08d: ", (int)recorder.getFramesRead()); in main() [all …]
|
D | input_monitor.cpp | 36 AAudioSimpleRecorder recorder; in main() local 68 result = recorder.open(argParser); in main() 74 aaudioStream = recorder.getStream(); in main() 114 result = recorder.start(); in main() 199 result = recorder.stop(); in main() 207 recorder.close(); in main()
|
/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 | 197 SLObjectItf recorder; in TestRecToBuffQueue() local 316 result = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, &recSource, &recDest, in TestRecToBuffQueue() 322 result = (*recorder)->GetInterface(recorder, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf); in TestRecToBuffQueue() 358 result = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE); in TestRecToBuffQueue() 371 result = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void*)&recordItf); in TestRecToBuffQueue() 389 result = (*recorder)->GetInterface( in TestRecToBuffQueue() 390 recorder, SL_IID_ANDROIDACOUSTICECHOCANCELLATION, (void*)&aecItf); in TestRecToBuffQueue() 405 result = (*recorder)->GetInterface( in TestRecToBuffQueue() 406 recorder, SL_IID_ANDROIDAUTOMATICGAINCONTROL, (void*)&agcItf); in TestRecToBuffQueue() 421 result = (*recorder)->GetInterface( in TestRecToBuffQueue() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 74 SkPictureRecorder recorder; in TEST() local 75 SkCanvas* skPicCanvas = recorder.beginRecording(1, 1); in TEST() 78 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); in TEST() 105 SkPictureRecorder recorder; in TEST() local 106 SkCanvas* skPicCanvas = recorder.beginRecording(1, 1); in TEST()
|
D | RenderNodeDrawableTests.cpp | 149 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument 150 recorder.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in TEST() 175 static SkRect getRecorderClipBounds(const SkiaRecordingCanvas& recorder) { in getRecorderClipBounds() argument 177 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds() 181 static SkMatrix getRecorderMatrix(const SkiaRecordingCanvas& recorder) { in getRecorderMatrix() argument 183 recorder.getMatrix(&matrix); in getRecorderMatrix() 195 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument 197 ASSERT_EQ(SkRect::MakeLTRB(0, 0, 400, 800), getRecorderClipBounds(recorder)); in TEST() 198 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST() 201 recorder.saveLayer(0, 0, 400, 400, &layerPaint); in TEST() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | Picture.cpp | 92 SkPictureRecorder recorder; in serialize() local 93 recorder.beginRecording(0, 0); in serialize() 94 recorder.finishRecordingAsPicture()->serialize(stream); in serialize()
|
D | AnimatedImageDrawable.cpp | 85 SkPictureRecorder recorder; in AnimatedImageDrawable_nCreate() local 86 SkCanvas* skcanvas = recorder.beginRecording(bounds); in AnimatedImageDrawable_nCreate() 92 picture = recorder.finishRecordingAsPicture(); in AnimatedImageDrawable_nCreate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
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 | MediaRecorderSetOutputFileStateUnitTest.java | 50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); in invokeMethodUnderTest()
|
D | MediaRecorderSetOutputFormatStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
|
D | MediaRecorderSetAudioEncoderStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
|
D | MediaRecorderSetAudioSourceStateUnitTest.java | 53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument 54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); 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/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 419 AAudioSimpleRecorder recorder; in main() local 576 result = recorder.open(argParser); in main() 581 inputStream = loopbackData.inputStream = recorder.getStream(); in main() 611 loopbackData.actualInputChannelCount = recorder.getChannelCount(); in main() 634 result = recorder.start(); in main() 690 result = recorder.stop(); in main() 771 recorder.close(); in main()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 152 void attachRecorder(RecordingCanvas* recorder, const SkIRect& bounds) { in attachRecorder() argument 153 recorder->reset(&mDisplayList, bounds); in attachRecorder()
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 2142 void onMarkerReached(AudioRecord recorder); in onMarkerReached() argument 2148 void onPeriodicNotification(AudioRecord recorder); in onPeriodicNotification() argument 2164 NativeEventHandler(AudioRecord recorder, Looper looper) { in NativeEventHandler() argument 2166 mAudioRecord = recorder; in NativeEventHandler() 2202 AudioRecord recorder = (AudioRecord)((WeakReference)audiorecord_ref).get(); in postEventFromNative() local 2203 if (recorder == null) { in postEventFromNative() 2208 recorder.broadcastRoutingChange(); in postEventFromNative() 2212 if (recorder.mEventHandler != null) { in postEventFromNative() 2214 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 2215 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
|
/frameworks/native/services/audiomanager/ |
D | IAudioManager.cpp | 106 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) { in trackRecorder() argument 109 data.writeStrongBinder(recorder); in trackRecorder()
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerService.cpp | 150 sp<IMediaRecorder> recorder = createMediaRecorder(attributionSource); in onTransact() local 151 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
|
/frameworks/native/include/audiomanager/ |
D | IAudioManager.h | 57 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) = 0;
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 190 CAudioRecorder* recorder = (CAudioRecorder*)configObj; // get the native recorder in ValidateRecorderConfig() local 191 switch (recorder->mAndroidObjType) { in ValidateRecorderConfig()
|