Home
last modified time | relevance | path

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

/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DOverlayControl.java51 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, !allowed, in setOverlayAllowed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java21 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
410 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_overlay()
423 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_camera_mic_overlay()
435 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_camera_overlay()
447 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_mic_overlay()
DNotificationGutsManagerWithScenesTest.kt417 ops.add(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in <lambda>()
434 ops.add(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in <lambda>()
450 ops.add(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in <lambda>()
466 ops.add(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in <lambda>()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h67 OP_SYSTEM_ALERT_WINDOW = 24, enumerator
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java1110 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, packageName); in start()
1112 mAppOps.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, in start()
1152 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, packageName); in stop()
1154 mAppOps.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, uid, packageName, in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java20 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
258 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) { in startAppOpsSettingsActivity()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java858 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()
868 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java124 AppOpsManager.OP_SYSTEM_ALERT_WINDOW
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java19 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
312 OP_SYSTEM_ALERT_WINDOW, uid, name, null, in restorePackage()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java20 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
4076 when(mAppOpsManager.noteOpNoThrow(eq(OP_SYSTEM_ALERT_WINDOW), anyInt(), in testBubblePreference_upgradeWithSAWPermission()
4097 when(mAppOpsManager.noteOpNoThrow(eq(OP_SYSTEM_ALERT_WINDOW), anyInt(), in testBubblePreference_upgradeWithSAWThenUserOverride()
4144 verify(mAppOpsManager, never()).noteOpNoThrow(eq(OP_SYSTEM_ALERT_WINDOW), anyInt(), in testBubblePrefence_noSAWCheckForUnknownUid()
/frameworks/base/core/java/android/app/
DAppOpsManager.java986 public static final int OP_SYSTEM_ALERT_WINDOW = AppProtoEnums.APP_OP_SYSTEM_ALERT_WINDOW; field in AppOpsManager
2584 OP_SYSTEM_ALERT_WINDOW,
2703 new AppOpInfo.Builder(OP_SYSTEM_ALERT_WINDOW, OPSTR_SYSTEM_ALERT_WINDOW,
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java24 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
3116 outAppOp[0] = OP_SYSTEM_ALERT_WINDOW;
/frameworks/base/core/java/android/provider/
DSettings.java21239 throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, PM_SYSTEM_ALERT_WINDOW, in isCallingPackageAllowedToDrawOverlays()
21257 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, PM_SYSTEM_ALERT_WINDOW, true); in checkAndNoteDrawOverlaysOperation()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java32 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
1371 mAppOps.startWatchingMode(OP_SYSTEM_ALERT_WINDOW, null, opListener); in WindowManagerService()
DActivityTaskManagerService.java1103 final int mode = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in hasSystemAlertWindowPermission()
/frameworks/base/core/api/
Dtest-current.txt292 field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18