Home
last modified time | relevance | path

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

12

/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()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp32 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 …]
Dinput_monitor.cpp36 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/
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.cpp197 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/
DSkiaCanvasTests.cpp74 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()
DRenderNodeDrawableTests.cpp149 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/
DPicture.cpp92 SkPictureRecorder recorder; in serialize() local
93 recorder.beginRecording(0, 0); in serialize()
94 recorder.finishRecordingAsPicture()->serialize(stream); in serialize()
DAnimatedImageDrawable.cpp85 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/
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()
DMediaRecorderSetOutputFileStateUnitTest.java50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); 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()
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/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp419 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/
DSkiaDisplayList.h152 void attachRecorder(RecordingCanvas* recorder, const SkIRect& bounds) { in attachRecorder() argument
153 recorder->reset(&mDisplayList, bounds); in attachRecorder()
/frameworks/base/media/java/android/media/
DAudioRecord.java2142 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/
DIAudioManager.cpp106 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) { in trackRecorder() argument
109 data.writeStrongBinder(recorder); in trackRecorder()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp150 sp<IMediaRecorder> recorder = createMediaRecorder(attributionSource); in onTransact() local
151 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
/frameworks/native/include/audiomanager/
DIAudioManager.h57 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) = 0;
/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.cpp190 CAudioRecorder* recorder = (CAudioRecorder*)configObj; // get the native recorder in ValidateRecorderConfig() local
191 switch (recorder->mAndroidObjType) { in ValidateRecorderConfig()

12