Searched refs:granted (Results 1 – 3 of 3) sorted by relevance
224 boolean granted = false; in assertGranted()226 granted = (KeyChain.getPrivateKey(getActivity(), alias) != null); in assertGranted()229 assertEquals("Grant for alias: \"" + alias + "\"", expected, granted); in assertGranted()
137 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult() argument141 assertEquals(granted[i] ? PackageManager.PERMISSION_GRANTED in assertPermissionRequestResult()243 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState() argument285 if (granted != wasGranted) { in setPermissionGrantState()
18 Permission is hereby granted, free of charge, to any person obtaining a copy of