Home
last modified time | relevance | path

Searched refs:SCREENSHOT_WORK_PROFILE_POLICY (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DRequestProcessorTest.kt56 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in <lambda>()
80 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in <lambda>()
105 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in <lambda>()
124 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in <lambda>()
154 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in <lambda>()
198 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in <lambda>()
224 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in <lambda>()
254 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in <lambda>()
286 flags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in <lambda>()
DMessageContainerControllerTest.kt86 featureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in testOnScreenshotTakenUserHandle_noWorkProfileFirstRun()
97 featureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in testOnScreenshotTakenUserHandle_noWorkProfileFlag()
107 featureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in testOnScreenshotTakenUserHandle_withWorkProfileFirstRun()
120 featureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false) in testOnScreenshotTakenScreenshotData_flagsOff()
133 featureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true) in testOnScreenshotTakenScreenshotData_nothingToShow()
DImageExporterTest.java113 mFeatureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true); in testImageExport()
192 mFeatureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, true); in testSetUser()
212 mFeatureFlags.set(Flags.SCREENSHOT_WORK_PROFILE_POLICY, false); in testSetUser_noWorkProfile()
DTakeScreenshotServiceTest.kt42 import com.android.systemui.flags.Flags.SCREENSHOT_WORK_PROFILE_POLICY in <lambda>()
128 flags.set(SCREENSHOT_WORK_PROFILE_POLICY, false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DRequestProcessor.kt26 import com.android.systemui.flags.Flags.SCREENSHOT_WORK_PROFILE_POLICY
61 flags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY) in process()
122 flags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY) in process()
DMessageContainerController.kt50 if (featureFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in <lambda>()
67 if (featureFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in <lambda>()
DScreenshotController.java22 import static com.android.systemui.flags.Flags.SCREENSHOT_WORK_PROFILE_POLICY;
472 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) { in handleScreenshot()
477 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) { in handleScreenshot()
502 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY) in prepareViewForNewScreenshot()
635 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) { in reloadAssets()
735 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY) in saveScreenshot()
788 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) { in saveScreenshot()
793 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) { in saveScreenshot()
1265 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)
1274 if (mFlags.isEnabled(SCREENSHOT_WORK_PROFILE_POLICY)) {
DLongScreenshotActivity.java338 if (mFeatureFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY) && mScreenshotUserHandle in doEdit()
368 if (mFeatureFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in doShare()
424 mFeatureFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY) in startExport()
DTakeScreenshotService.java24 import static com.android.systemui.flags.Flags.SCREENSHOT_WORK_PROFILE_POLICY;
126 mFeatureFlags.addListener(SCREENSHOT_WORK_PROFILE_POLICY, FlagEvent::requestNoRestart); in TakeScreenshotService()
DSaveImageInBackgroundTask.java124 final UserHandle user = mFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY) in doInBackground()
132 boolean savingToOtherUser = mFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY) in doInBackground()
DScreenshotView.java794 if (mFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in setChipIntents()
815 if (mFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in setChipIntents()
827 if (mFlags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)) { in setChipIntents()
DImageExporter.java297 if (flags.isEnabled(Flags.SCREENSHOT_WORK_PROFILE_POLICY)
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFlags.kt580 val SCREENSHOT_WORK_PROFILE_POLICY = releasedFlag(1301, "screenshot_work_profile_policy") constant