Home
last modified time | relevance | path

Searched refs:screenshotData (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotExecutor.kt132 val screenshotData = in handleScreenshot() constant
141 logScreenshotRequested(screenshotData) in handleScreenshot()
142 Log.d(TAG, "Screenshot request: $screenshotData") in handleScreenshot()
144 screenshotHandler.handleScreenshot(screenshotData, onSaved, callback) in handleScreenshot()
147 onFailedScreenshotRequest(screenshotData, callback) in handleScreenshot()
156 private fun logScreenshotRequested(screenshotData: ScreenshotData) { in handleScreenshot()
158 ScreenshotEvent.getScreenshotSource(screenshotData.source), in handleScreenshot()
160 screenshotData.packageNameString in handleScreenshot()
165 screenshotData: ScreenshotData, in handleScreenshot()
168 uiEventLogger.log(SCREENSHOT_CAPTURE_FAILED, 0, screenshotData.packageNameString) in handleScreenshot()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotActionsControllerTest.kt36 private val screenshotData = mock<ScreenshotData>() constant
73 actionsController.setCurrentScreenshot(screenshotData) in setPreview_onCurrentScreenshot_updatesViewModel()
81 actionsController.setCurrentScreenshot(screenshotData) in setPreview_onNonCurrentScreenshot_doesNotUpdateViewModel()
82 actionsController.setCurrentScreenshot(screenshotData) in setPreview_onNonCurrentScreenshot_doesNotUpdateViewModel()
DRequestProcessorTest.kt136 val screenshotData = ScreenshotData.fromRequest(request) in <lambda>() constant
137 val processedData = processor.process(screenshotData) in <lambda>()
139 assertThat(processedData).isEqualTo(screenshotData) in <lambda>()
162 val screenshotData = ScreenshotData.fromRequest(request) in <lambda>() constant
163 val processedData = processor.process(screenshotData) in <lambda>()
166 assertThat(processedData).isEqualTo(screenshotData) in <lambda>()
DMessageContainerControllerTest.kt52 val screenshotData = ScreenshotData.forTesting() constant in com.android.systemui.screenshot.MessageContainerControllerTest
89 screenshotData.userHandle = userHandle in setup()
97 messageContainer.onScreenshotTaken(screenshotData) in testOnScreenshotTakenUserHandle_withWorkProfileFirstRun()
114 messageContainer.onScreenshotTaken(screenshotData) in <lambda>()
124 messageContainer.onScreenshotTaken(screenshotData) in testOnScreenshotTakenScreenshotData_nothingToShow()