Searched refs:acquireNextImage (Results 1 – 9 of 9) sorted by relevance
85 when(mReader.acquireNextImage()).thenReturn(null); in testGetLatestImageEmpty()95 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImage1()106 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImage2()118 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImage3()133 when(mReader.acquireNextImage()).thenThrow(new IllegalStateException()); in testGetLatestImageTooManyBuffersAcquiredEmpty()146 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImageExceptionalError()167 when(mReader.acquireNextImage()).thenReturn(mImage1); in testGetLatestImageExceptionalRuntime()
277 Image image = acquireNextImage(); in acquireLatestImage()371 public Image acquireNextImage() { in acquireNextImage() method in ImageReader
390 mBackgroundHandler.post(new CapturedImageSaver(reader.acquireNextImage()));
84 Image image = reader.acquireNextImage(); in onImageAvailable()
187 …mBackgroundHandler.post(new ImageSaver(reader.acquireNextImage(), mSaveFileName, mContentResolver)…
1153 try (Image image = reader.acquireNextImage()) { in takePicture()
299 …edia.ImageReader#acquireLatestImage()} or {@link android.media.ImageReader#acquireNextImage()}.</p>
15276 method public android.media.Image acquireNextImage();
16541 method public android.media.Image acquireNextImage();