Home
last modified time | relevance | path

Searched refs:setRestriction (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DUpdateParameterTest.java54 updateParam.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createUpdateParameter()
168 updateParam.setRestriction("adsfasd"); in validateUpdateParameterWithUnknowRestriction()
331 updateParam.setRestriction(null); in validateUpdateParameterWithNoServerCheck()
DPolicyTest.java81 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointTestUtils.java102 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createPolicy()
119 subUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_ROAMING_PARTNER); in createSubscriptionUpdate()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java81 subscriptionUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_ROAMING_PARTNER); in createFullPasspointConfiguration()
167 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java117 subscriptionUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_ROAMING_PARTNER); in createFullPasspointConfiguration()
203 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in createFullPasspointConfiguration()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java106 subscriptionUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_ROAMING_PARTNER); in generateConfigurationFromPPSMOTree()
194 policyUpdate.setRestriction(UpdateParameter.UPDATE_RESTRICTION_HOMESP); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java119 public void setRestriction(String restriction) { in setRestriction() method in UpdateParameter
388 updateParam.setRestriction(in.readString());
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java458 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_priorityOnlyMode()
460 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_priorityOnlyMode()
473 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_alarmsOnlyMode()
475 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_alarmsOnlyMode()
488 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_totalSilenceMode()
490 verify(mAppOps).setRestriction( in testApplyRestrictions_whitelist_totalSilenceMode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java853 param.setRestriction((String) value); in deserializeUpdateParameter()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java1324 updateParam.setRestriction(getPpsNodeValue(child)); in parseUpdateParameter()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1081 mAppOps.setRestriction(code, usage, in applyRestrictions()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java5700 if (restrictionState.setRestriction(code, restricted, exceptionPackages, userHandle)) { in setUserRestrictionNoCheck()
6145 public boolean setRestriction(int code, boolean restricted, in setRestriction() method in ClientRestrictionState
/frameworks/base/core/java/android/app/
DAppOpsManager.java6747 public void setRestriction(int code, @AttributeUsage int usage, @Mode int mode, in setRestriction() method in AppOpsManager
/frameworks/base/config/
Dboot-image-profile.txt1400 HSPLandroid/app/AppOpsManager;->setRestriction(III[Ljava/lang/String;)V
/frameworks/base/services/
Dart-profile8112 HSPLcom/android/server/appop/AppOpsService$ClientRestrictionState;->setRestriction(IZ[Ljava/lang/St…