Searched refs:canAccess (Results 1 – 3 of 3) sorted by relevance
516 boolean canAccess = (behaviour != Behaviour.Denied); in checkNullaryConstructor()518 if (Reflection.canUseNewInstance(klass) != canAccess) { in checkNullaryConstructor()519 throw new RuntimeException("Expected to " + (canAccess ? "" : "not ") + in checkNullaryConstructor()526 boolean canAccess = (behaviour != Behaviour.Denied); in checkLinking()528 if (Linking.canAccess(className, takesParameter) != canAccess) { in checkLinking()529 throw new RuntimeException("Expected to " + (canAccess ? "" : "not ") + in checkLinking()535 String fn, boolean canAccess) { in throwDiscoveryException() argument537 "." + name + " to " + (canAccess ? "" : "not ") + "be discoverable with " + fn + ". " + in throwDiscoveryException()
20 public static boolean canAccess(String className, boolean takesParameter) throws Exception { in canAccess() method in Linking
1943 bool canAccess = false; in canAccessSensor() local1950 canAccess = true; in canAccessSensor()1956 canAccess = (appOpMode == AppOpsManager::MODE_ALLOWED); in canAccessSensor()1958 canAccess = true; in canAccessSensor()1962 if (!canAccess) { in canAccessSensor()1967 return canAccess; in canAccessSensor()