Home
last modified time | relevance | path

Searched refs:getGlobalRestriction (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictions.java46 boolean getGlobalRestriction(Object clientToken, int code); in getGlobalRestriction() method
DAppOpsRestrictionsImpl.java92 public boolean getGlobalRestriction(Object clientToken, int code) { in getGlobalRestriction() method in AppOpsRestrictionsImpl
DAppOpsService.java7081 return mAppOpsRestrictions.getGlobalRestriction(mToken, code);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java91 assertEquals(false, mAppOpsRestrictions.getGlobalRestriction(mClientToken, mOpCode1)); in testSetAndGetSingleGlobalRestriction()
98 assertEquals(true, mAppOpsRestrictions.getGlobalRestriction(mClientToken, mOpCode1)); in testSetAndGetSingleGlobalRestriction()
106 assertEquals(false, mAppOpsRestrictions.getGlobalRestriction(mClientToken, mOpCode1)); in testSetAndGetSingleGlobalRestriction()