Home
last modified time | relevance | path

Searched refs:recorder (Results 1 – 25 of 34) 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/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfData.java93 for (PerfDataRecorder recorder : mRecorders) { in startRecording()
94 recorder.startRecording(context); in startRecording()
100 for (PerfDataRecorder recorder : mRecorders) { in onAlarm()
101 recorder.onAlarm(context); in onAlarm()
112 for (PerfDataRecorder recorder : mRecorders) { in stopRecording()
113 recorder.stopRecording(context); in stopRecording()
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp74 SkPictureRecorder recorder; in TEST() local
75 SkCanvas* skPicCanvas = recorder.beginRecording(1, 1, NULL, 0); in TEST()
78 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); in TEST()
105 SkPictureRecorder recorder; in TEST() local
106 SkCanvas* skPicCanvas = recorder.beginRecording(1, 1, NULL, 0); in TEST()
DRenderNodeDrawableTests.cpp148 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
149 recorder.drawColor(SK_ColorRED, SkBlendMode::kSrcOver); in TEST()
174 static SkRect getRecorderClipBounds(const SkiaRecordingCanvas& recorder) { in getRecorderClipBounds() argument
176 recorder.getClipBounds(&clipBounds); in getRecorderClipBounds()
180 static SkMatrix getRecorderMatrix(const SkiaRecordingCanvas& recorder) { in getRecorderMatrix() argument
182 recorder.getMatrix(&matrix); in getRecorderMatrix()
194 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
196 ASSERT_EQ(SkRect::MakeLTRB(0, 0, 400, 800), getRecorderClipBounds(recorder)); in TEST()
197 EXPECT_TRUE(getRecorderMatrix(recorder).isIdentity()); in TEST()
200 recorder.saveLayer(0, 0, 400, 400, &layerPaint, SaveFlags::ClipToLayer); in TEST()
[all …]
/frameworks/base/core/jni/android/graphics/
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/
DMediaRecorderSetOutputFileStateUnitTest.java50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); in invokeMethodUnderTest()
DMediaRecorderSetAudioEncoderStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
DMediaRecorderStartStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.start(); in invokeMethodUnderTest()
DMediaRecorderSetOutputFormatStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setOutputFormat(MediaRecorderStateUnitTestTemplate.OUTPUT_FORMAT); in invokeMethodUnderTest()
DMediaRecorderSetAudioSourceStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioSource(MediaRecorderStateUnitTestTemplate.AUDIO_SOURCE); in invokeMethodUnderTest()
DMediaRecorderResetStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.reset(); 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/media/java/android/media/
DAudioRecord.java1837 void onMarkerReached(AudioRecord recorder); in onMarkerReached() argument
1843 void onPeriodicNotification(AudioRecord recorder); in onPeriodicNotification() argument
1859 NativeEventHandler(AudioRecord recorder, Looper looper) { in NativeEventHandler() argument
1861 mAudioRecord = recorder; in NativeEventHandler()
1897 AudioRecord recorder = (AudioRecord)((WeakReference)audiorecord_ref).get(); in postEventFromNative() local
1898 if (recorder == null) { in postEventFromNative()
1903 recorder.broadcastRoutingChange(); in postEventFromNative()
1907 if (recorder.mEventHandler != null) { in postEventFromNative()
1909 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1910 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h136 void attachRecorder(RecordingCanvas* recorder, const SkIRect& bounds) { in attachRecorder() argument
137 recorder->reset(&mDisplayList, bounds); in attachRecorder()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp392 AAudioSimpleRecorder recorder; in main() local
549 result = recorder.open(argParser); in main()
554 inputStream = loopbackData.inputStream = recorder.getStream(); in main()
584 loopbackData.actualInputChannelCount = recorder.getChannelCount(); in main()
607 result = recorder.start(); in main()
663 result = recorder.stop(); in main()
742 recorder.close(); in main()
/frameworks/native/services/audiomanager/
DIAudioManager.cpp102 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) { in trackRecorder() argument
105 data.writeStrongBinder(recorder); in trackRecorder()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp137 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact() local
138 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
/frameworks/native/include/audiomanager/
DIAudioManager.h54 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) = 0;

12