Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfoTest.java21 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
171 expectedOps.add(OP_SYSTEM_ALERT_WINDOW); in testPrompt_overlay()
192 expectedOps.add(OP_SYSTEM_ALERT_WINDOW); in testPrompt_camera_mic_overlay()
203 expectedOps.add(OP_SYSTEM_ALERT_WINDOW); in testPrompt_camera_overlay()
214 expectedOps.add(OP_SYSTEM_ALERT_WINDOW); in testPrompt_mic_overlay()
DNotificationGutsManagerTest.java21 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
265 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_overlay()
278 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_camera_mic_overlay()
290 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_camera_overlay()
302 ops.add(OP_SYSTEM_ALERT_WINDOW); in testAppOpsSettingsIntent_mic_overlay()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DOverlayControl.java51 mAppOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, !allowed, in setOverlayAllowed()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h64 OP_SYSTEM_ALERT_WINDOW = 24, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java20 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
169 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) { in startAppOpsSettingsActivity()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java833 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, MANAGED_PROFILE_UID, TEST_PACKAGE_NAME)) in testCheckSystemAlertWindowPermissionWithModeDefaultAppOps()
842 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, MANAGED_PROFILE_UID, TEST_PACKAGE_NAME)) in testCheckSystemAlertWindowPermissionWithModeDefaultAppOps()
861 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, MANAGED_PROFILE_UID, TEST_PACKAGE_NAME)) in testCheckSystemAlertWindowPermissionWithModeAllowedAppOps()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java512 AppOpsManager.OP_SYSTEM_ALERT_WINDOW, callingUid, callingPackage); in checkSystemAlertWindowPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java73 AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java856 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()
864 appOpsManager.setUserRestrictionForUser(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in updateOverlayStateLocked()
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java343 mOverlayIcon.setVisibility(appOps.contains(AppOpsManager.OP_SYSTEM_ALERT_WINDOW) in showAppOpsIcons()
/frameworks/base/core/java/android/app/
DAppOpsManager.java655 public static final int OP_SYSTEM_ALERT_WINDOW = 24; field in AppOpsManager
1205 OP_SYSTEM_ALERT_WINDOW,
1245 OP_SYSTEM_ALERT_WINDOW, // SYSTEM_ALERT_WINDOW
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java21 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
2130 outAppOp[0] = OP_SYSTEM_ALERT_WINDOW; in checkAddPermission()
/frameworks/base/core/java/android/provider/
DSettings.java15405 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in isCallingPackageAllowedToDrawOverlays()
15422 callingPackage, throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in checkAndNoteDrawOverlaysOperation()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java28 import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
1099 mAppOps.startWatchingMode(OP_SYSTEM_ALERT_WINDOW, null, opListener); in WindowManagerService()
DActivityTaskManagerService.java891 final int mode = getAppOpsService().noteOperation(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in hasSystemAlertWindowPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java627 AppOpsManager.OP_SYSTEM_ALERT_WINDOW,
/frameworks/base/api/
Dtest-current.txt218 field public static final int OP_SYSTEM_ALERT_WINDOW = 24; // 0x18