/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/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | PerfData.java | 93 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/ |
D | SkiaCanvasTests.cpp | 74 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()
|
D | RenderNodeDrawableTests.cpp | 148 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/ |
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 | 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 | 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 | 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/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 136 void attachRecorder(RecordingCanvas* recorder, const SkIRect& bounds) { in attachRecorder() argument 137 recorder->reset(&mDisplayList, bounds); in attachRecorder()
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1837 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/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 392 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/ |
D | IAudioManager.cpp | 102 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) { in trackRecorder() argument 105 data.writeStrongBinder(recorder); in trackRecorder()
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerService.cpp | 137 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact() local 138 reply->writeStrongBinder(IInterface::asBinder(recorder)); in onTransact()
|
/frameworks/native/include/audiomanager/ |
D | IAudioManager.h | 54 virtual audio_unique_id_t trackRecorder(const sp<IBinder>& recorder) = 0;
|