Searched refs:setRestriction (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | AppOpInfo.java | 176 public Builder setRestriction(String value) { in setRestriction() method in AppOpInfo.Builder
|
D | AppOpsManager.java | 2619 .setRestriction(UserManager.DISALLOW_SHARE_LOCATION) 2624 .setRestriction(UserManager.DISALLOW_SHARE_LOCATION) 2629 .setRestriction(UserManager.DISALLOW_SHARE_LOCATION) 2642 .setRestriction(UserManager.DISALLOW_OUTGOING_CALLS) 2646 .setRestriction(UserManager.DISALLOW_OUTGOING_CALLS) 2657 .setRestriction(UserManager.DISALLOW_SHARE_LOCATION) 2670 .setRestriction(UserManager.DISALLOW_SMS).setDefaultMode(AppOpsManager.MODE_ALLOWED) 2673 .setRestriction(UserManager.DISALLOW_SMS) 2677 .setRestriction(UserManager.DISALLOW_SMS) 2685 .setRestriction(UserManager.DISALLOW_SMS).setDefaultMode(AppOpsManager.MODE_ALLOWED) [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 460 verify(mAppOps, atLeastOnce()).setRestriction(eq(AppOpsManager.OP_VIBRATE), eq(usage), in verifyApplyRestrictions() 462 verify(mAppOps, atLeastOnce()).setRestriction(eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), in verifyApplyRestrictions() 576 verify(mAppOps, atLeastOnce()).setRestriction(AppOpsManager.OP_PLAY_AUDIO, in testTotalSilence() 578 verify(mAppOps, atLeastOnce()).setRestriction(AppOpsManager.OP_VIBRATE, in testTotalSilence() 599 verify(mAppOps, atLeastOnce()).setRestriction(AppOpsManager.OP_PLAY_AUDIO, in testAlarmsOnly_alarmMediaMuteNotApplied() 639 verify(mAppOps, atLeastOnce()).setRestriction(eq(AppOpsManager.OP_PLAY_AUDIO), in testZenAllCannotBypass() 641 verify(mAppOps, atLeastOnce()).setRestriction(eq(AppOpsManager.OP_VIBRATE), in testZenAllCannotBypass() 659 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_priorityOnlyMode() 661 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_priorityOnlyMode() 674 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_alarmsOnlyMode() [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 6458 if (restrictionState.setRestriction(code, restricted, excludedPackageTags, 7033 public boolean setRestriction(int code, boolean restricted, 7076 boolean setRestriction(int code, boolean restricted) { 7154 if (restrictionState.setRestriction(code, restricted)) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 2245 mAppOps.setRestriction(code, usage, in applyRestrictions()
|
/frameworks/base/services/ |
D | art-wear-profile | 7624 PLcom/android/server/appop/AppOpsService$ClientGlobalRestrictionState;->setRestriction(IZ)Z 7629 PLcom/android/server/appop/AppOpsService$ClientUserRestrictionState;->setRestriction(IZLandroid/os/…
|