Searched refs:mockHwBuffer (Results 1 – 1 of 1) sorted by relevance
2357 ScreenCapture.ScreenshotHardwareBuffer mockHwBuffer = mock( in testAttachAndShowImeScreenshotOnTarget() local2359 doReturn(mock(HardwareBuffer.class)).when(mockHwBuffer).getHardwareBuffer(); in testAttachAndShowImeScreenshotOnTarget()2360 doReturn(mockHwBuffer).when(mWm.mTaskSnapshotController).snapshotImeFromAttachedTask(any()); in testAttachAndShowImeScreenshotOnTarget()