Home
last modified time | relevance | path

Searched refs:mReader (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java38 private ImageReader mReader; field in ImageReaderTest
57 mReader = spy(ImageReader.newInstance(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_FORMAT, in setUp()
75 mReader.close(); in tearDown()
85 when(mReader.acquireNextImage()).thenReturn(null); in testGetLatestImageEmpty()
86 when(mReader.acquireNextImageNoThrowISE()).thenReturn(null); in testGetLatestImageEmpty()
87 assertEquals(null, mReader.acquireLatestImage()); in testGetLatestImageEmpty()
95 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImage1()
96 when(mReader.acquireNextImageNoThrowISE()).thenReturn(null); in testGetLatestImage1()
97 assertEquals(mImage1, mReader.acquireLatestImage()); in testGetLatestImage1()
106 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImage2()
[all …]
/frameworks/base/services/input/
DInputManager.cpp32 mReader = new InputReader(eventHub, readerPolicy, mDispatcher); in InputManager()
39 mReader(reader), in InputManager()
49 mReaderThread = new InputReaderThread(mReader); in initialize()
86 return mReader; in getReader()
DInputManager.h98 sp<InputReaderInterface> mReader;
DInputReader.cpp777 mReader(reader) { in ContextImpl()
782 mReader->updateGlobalMetaStateLocked(); in updateGlobalMetaState()
787 return mReader->getGlobalMetaStateLocked(); in getGlobalMetaState()
792 mReader->disableVirtualKeysUntilLocked(time); in disableVirtualKeysUntil()
798 return mReader->shouldDropVirtualKeyLocked(now, device, keyCode, scanCode); in shouldDropVirtualKey()
803 mReader->fadePointerLocked(); in fadePointer()
808 mReader->requestTimeoutAtTimeLocked(when); in requestTimeoutAtTime()
813 return mReader->bumpGenerationLocked(); in bumpGeneration()
817 return mReader->mPolicy.get(); in getPolicy()
821 return mReader->mQueuedListener.get(); in getListener()
[all …]
DInputReader.h416 InputReader* mReader; variable
501 sp<InputReaderInterface> mReader;
/frameworks/av/services/medialog/
DMediaLogService.h49 NamedReader() : mReader(0) { mName[0] = '\0'; } // for Vector in NamedReader()
50 NamedReader(const sp<NBLog::Reader>& reader, const char *name) : mReader(reader) in NamedReader()
53 const sp<NBLog::Reader>& reader() const { return mReader; } in reader()
56 sp<NBLog::Reader> mReader;
/frameworks/wilhelm/src/itf/
DIOutputMixExt.c78 track->mReader = NULL; in track_check()
111 track->mReader = oldFront->mBuffer; in track_check()
138 track->mReader = oldFront->mBuffer; in track_check()
235 assert(NULL != track->mReader); in IOutputMixExt_FillBuffer()
237 const stereo *source = (const stereo *) track->mReader; in IOutputMixExt_FillBuffer()
263 memcpy(dstWriter, track->mReader, actual); in IOutputMixExt_FillBuffer()
270 track->mReader = (char *) track->mReader + actual; in IOutputMixExt_FillBuffer()
291 track->mReader = newFront->mBuffer; in IOutputMixExt_FillBuffer()
417 track->mReader = NULL; in IOutputMixExt_checkAudioPlayerSourceSink()
/frameworks/wilhelm/src/desktop/
DOutputMixExt.h40 const void *mReader; ///< Pointer to next frame in BufferHeader.mBuffer member
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp474 long n = frame.Read(mExtractor->mReader, (unsigned char *)mbuf->data()); in readBlock()
628 mReader(new DataSourceReader(mDataSource)), in MatroskaExtractor()
641 if (ebmlHeader.Parse(mReader, pos) < 0) { in MatroskaExtractor()
650 mkvparser::Segment::CreateInstance(mReader, pos, mSegment); in MatroskaExtractor()
684 delete mReader; in ~MatroskaExtractor()
685 mReader = NULL; in ~MatroskaExtractor()
DMatroskaExtractor.h67 DataSourceReader *mReader; member
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java69 return mReader.readLine(); in getLine()
82 line = mReader.readLine(); in getNonEmptyLine()
DVCardParserImpl_V21.java131 protected CustomBufferedReader mReader; field in VCardParserImpl_V21
182 return mReader.readLine(); in getLine()
186 return mReader.peekLine(); in peekLine()
1002 mReader = new CustomBufferedReader(tmpReader);
1033 mReader = new CustomBufferedReader(tmpReader);
/frameworks/base/core/java/android/text/
DHtml.java426 private XMLReader mReader; field in HtmlToSpannedConverter
438 mReader = parser; in HtmlToSpannedConverter()
443 mReader.setContentHandler(this); in convert()
445 mReader.parse(new InputSource(new StringReader(mSource))); in convert()
525 mTagHandler.handleTag(true, tag, mSpannableStringBuilder, mReader); in handleStartTag()
574 mTagHandler.handleTag(false, tag, mSpannableStringBuilder, mReader); in handleEndTag()
/frameworks/base/services/input/tests/
DInputReader_test.cpp966 sp<InstrumentedInputReader> mReader; member in android::InputReaderTest
973 mReader = new InstrumentedInputReader(mFakeEventHub, mFakePolicy, mFakeListener); in SetUp()
977 mReader.clear(); in TearDown()
992 mReader->loopOnce(); in addDevice()
993 mReader->loopOnce(); in addDevice()
1000 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes); in addDeviceWithFakeInputMapper()
1003 mReader->setNextDevice(device); in addDeviceWithFakeInputMapper()
1016 mReader->getInputDevices(inputDevices); in TEST_F()
1041 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(0, in TEST_F()
1045 ASSERT_EQ(AKEY_STATE_UNKNOWN, mReader->getKeyCodeState(1, in TEST_F()
[all …]