Home
last modified time | relevance | path

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

/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()
DInstrumentationTestSuiteBuilderTest.java46 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/java/android/media/
DAudioRecord.java702 void onMarkerReached(AudioRecord recorder); in onMarkerReached() argument
708 void onPeriodicNotification(AudioRecord recorder); in onPeriodicNotification() argument
725 NativeEventHandler(AudioRecord recorder, Looper looper) { in NativeEventHandler() argument
727 mAudioRecord = recorder; in NativeEventHandler()
764 AudioRecord recorder = (AudioRecord)((WeakReference)audiorecord_ref).get(); in postEventFromNative() local
765 if (recorder == null) { in postEventFromNative()
769 if (recorder.mEventHandler != null) { in postEventFromNative()
771 recorder.mEventHandler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
772 recorder.mEventHandler.sendMessage(m); in postEventFromNative()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
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()
DMediaRecorderStartStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.start(); in invokeMethodUnderTest()
DMediaRecorderSetAudioEncoderStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.setAudioEncoder(MediaRecorderStateUnitTestTemplate.AUDIO_ENCODER); in invokeMethodUnderTest()
DMediaRecorderResetStateUnitTest.java53 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
54 recorder.reset(); in invokeMethodUnderTest()
DMediaRecorderSetOutputFileStateUnitTest.java50 public void invokeMethodUnderTest(MediaRecorder recorder) { in invokeMethodUnderTest() argument
51 recorder.setOutputFile(MediaRecorderStateUnitTestTemplate.RECORD_OUTPUT_PATH); 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/jni/
Dandroid_media_MediaRecorder.cpp137 …ic sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) in setMediaRecorder() argument
141 if (recorder.get()) { in setMediaRecorder()
142 recorder->incStrong(thiz); in setMediaRecorder()
147 env->SetIntField(thiz, fields.context, (int)recorder.get()); in setMediaRecorder()
/frameworks/base/libs/hwui/
DDisplayListRenderer.cpp91 DisplayList::DisplayList(const DisplayListRenderer& recorder) { in DisplayList() argument
92 initFromDisplayListRenderer(recorder); in DisplayList()
138 void DisplayList::initFromDisplayListRenderer(const DisplayListRenderer& recorder, bool reusing) { in initFromDisplayListRenderer() argument
139 const SkWriter32& writer = recorder.writeStream(); in initFromDisplayListRenderer()
158 const Vector<SkBitmap*> &bitmapResources = recorder.getBitmapResources(); in initFromDisplayListRenderer()
165 const Vector<SkiaColorFilter*> &filterResources = recorder.getFilterResources(); in initFromDisplayListRenderer()
172 const Vector<SkiaShader*> &shaders = recorder.getShaders(); in initFromDisplayListRenderer()
179 const Vector<SkPaint*> &paints = recorder.getPaints(); in initFromDisplayListRenderer()
184 const Vector<SkPath*> &paths = recorder.getPaths(); in initFromDisplayListRenderer()
189 const Vector<SkMatrix*> &matrices = recorder.getMatrices(); in initFromDisplayListRenderer()
DDisplayListRenderer.h60 DisplayList(const DisplayListRenderer& recorder);
108 void initFromDisplayListRenderer(const DisplayListRenderer& recorder, bool reusing = false);
/frameworks/base/media/libmedia/
DIMediaPlayerService.cpp177 sp<IMediaRecorder> recorder = createMediaRecorder(pid); in onTransact() local
178 reply->writeStrongBinder(recorder->asBinder()); in onTransact()
/frameworks/base/opengl/specs/
DEGL_ANDROID_recordable.txt81 recorder as indicated by the NATIVE_WINDOW_IS_VIDEO_RECORDER query on
/frameworks/base/media/libmediaplayerservice/
DMediaPlayerService.cpp238 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid); in createMediaRecorder() local
239 wp<MediaRecorderClient> w = recorder; in createMediaRecorder()
243 return recorder; in createMediaRecorder()
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd763 the recorder by calling {@link android.media.MediaRecorder#reset() MediaRecorder.reset()}.</li>
866 <li>Release the media recorder with {@link android.media.MediaRecorder#release()
951 mMediaRecorder.reset(); // clear recorder configuration
952 mMediaRecorder.release(); // release the recorder object