Searched refs:getGlobalRestriction (Results 1 – 4 of 4) sorted by relevance
46 boolean getGlobalRestriction(Object clientToken, int code); in getGlobalRestriction() method
92 public boolean getGlobalRestriction(Object clientToken, int code) { in getGlobalRestriction() method in AppOpsRestrictionsImpl
7081 return mAppOpsRestrictions.getGlobalRestriction(mToken, code);
91 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()