Home
last modified time | relevance | path

Searched refs:OP_SYSTEM_ALERT_WINDOW (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddHeaderPreferenceControllerTest.java130 verifyAppOpsMgrSetUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in testOnResumeInternal_inactiveAdmin()
143 verifyAppOpsMgrSetUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in testOnResumeInternal_activeAdmin()
156 verifyAppOpsMgrSetUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in testOnResumeInternal_deviceOwner()
166 verifyAppOpsMgrSetUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in testOnPauseInternal()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DAppOpsManagerCompat.java94 public static final int OP_SYSTEM_ALERT_WINDOW = AppOpsManager.OP_SYSTEM_ALERT_WINDOW; field in AppOpsManagerCompat
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DSystemAlertWindow.java50 return AppOpsManager.OP_SYSTEM_ALERT_WINDOW; in getAppOpsOpCode()
102 mAppOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in setSystemAlertWindowAccess()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddHeaderPreferenceController.java74 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResumeInternal()
91 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPauseInternal()
/packages/apps/Settings/src/com/android/settings/spa/app/specialaccess/
DDisplayOverOtherApps.kt39 override val appOps = AppOps(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in createModel()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateOverlayBridge.java37 private static final int APP_OPS_OP_CODE = AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateAppOpsBridgeTest.java120 super(mContext, null, null, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in TestAppStateAppOpsBridge()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDrawOverlayDetails.java116 mAppOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in setCanDrawOverlay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java332 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResume()
341 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPause()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java592 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, true, mToken); in onResume()
602 mAppOps.setUserRestriction(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, false, mToken); in onPause()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java191 AppOpsManager.OP_SYSTEM_ALERT_WINDOW,