Home
last modified time | relevance | path

Searched refs:mAppClipsCrossProcessHelper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModel.java54 private final AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModel
68 mAppClipsCrossProcessHelper = appClipsCrossProcessHelper; in AppClipsViewModel()
81 Bitmap screenshot = mAppClipsCrossProcessHelper.takeScreenshot(); in performScreenshot()
154 private final AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModel.Factory
164 mAppClipsCrossProcessHelper = appClipsCrossProcessHelper; in Factory()
178 return (T) new AppClipsViewModel(mAppClipsCrossProcessHelper, mImageExporter, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModelTest.java64 @Mock private AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsViewModelTest
72 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()
DAppClipsActivityTest.java82 private AppClipsCrossProcessHelper mAppClipsCrossProcessHelper; field in AppClipsActivityTest
100 new AppClipsViewModel.Factory(mAppClipsCrossProcessHelper,
121 when(mAppClipsCrossProcessHelper.takeScreenshot()).thenReturn(TEST_BITMAP); in setUp()