Home
last modified time | relevance | path

Searched refs:permissionNames (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextWrapper.java89 public void grantPermissions(String... permissionNames) { in grantPermissions() argument
90 getShadowInstrumentation().grantPermissions(permissionNames); in grantPermissions()
103 public void denyPermissions(String... permissionNames) { in denyPermissions() argument
104 getShadowInstrumentation().denyPermissions(permissionNames); in denyPermissions()
DShadowInstrumentation.java696 void grantPermissions(String... permissionNames) {
697 grantPermissions(Process.myPid(), Process.myUid(), permissionNames);
709 void denyPermissions(String... permissionNames) {
710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);