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/ |
D | DeviceAdminAddHeaderPreferenceControllerTest.java | 130 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/ |
D | AppOpsManagerCompat.java | 94 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/ |
D | SystemAlertWindow.java | 50 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/ |
D | DeviceAdminAddHeaderPreferenceController.java | 74 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/ |
D | DisplayOverOtherApps.kt | 39 override val appOps = AppOps(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in createModel()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateOverlayBridge.java | 37 private static final int APP_OPS_OP_CODE = AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateAppOpsBridgeTest.java | 120 super(mContext, null, null, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in TestAppStateAppOpsBridge()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | DrawOverlayDetails.java | 116 mAppOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in setCanDrawOverlay()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/ |
D | DeviceAdminAdd.java | 332 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/ |
D | DeviceAdminAdd.java | 592 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/ |
D | AppOpsState.java | 191 AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
|