Searched refs:mAppClipsCrossProcessHelper (Results 1 – 3 of 3) sorted by relevance
54 private final AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModel68 mAppClipsCrossProcessHelper = appClipsCrossProcessHelper; in AppClipsViewModel()81 Bitmap screenshot = mAppClipsCrossProcessHelper.takeScreenshot(); in performScreenshot()154 private final AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModel.Factory164 mAppClipsCrossProcessHelper = appClipsCrossProcessHelper; in Factory()178 return (T) new AppClipsViewModel(mAppClipsCrossProcessHelper, mImageExporter, in create()
64 @Mock private AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModelTest72 mViewModel = new AppClipsViewModel.Factory(mAppClipsCrossProcessHelper, mImageExporter, in setUp()78 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(null); in performScreenshot_fails_shouldUpdateErrorWithFailed()83 verify(mAppClipsCrossProcessHelper).takeScreenshot(); in performScreenshot_fails_shouldUpdateErrorWithFailed()91 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(FAKE_BITMAP); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap()96 verify(mAppClipsCrossProcessHelper).takeScreenshot(); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap()
82 private AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsActivityTest100 new AppClipsViewModel.Factory(mAppClipsCrossProcessHelper,121 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(TEST_BITMAP); in setUp()