Searched refs:denyPermissions (Results 1 – 5 of 5) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextWrapper.java | 103 public void denyPermissions(String... permissionNames) { in denyPermissions() method in ShadowContextWrapper 104 getShadowInstrumentation().denyPermissions(permissionNames); in denyPermissions() 108 public void denyPermissions(int pid, int uid, String... permissions) { in denyPermissions() method in ShadowContextWrapper 109 getShadowInstrumentation().denyPermissions(pid, uid, permissions); in denyPermissions()
|
D | ShadowInstrumentation.java | 709 void denyPermissions(String... permissionNames) { 710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames); 713 void denyPermissions(int pid, int uid, String... permissions) {
|
D | ShadowDevicePolicyManager.java | 621 ShadowApplication.getInstance().denyPermissions(permission); in setPermissionGrantState()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextWrapperTest.java | 430 shadowContextWrapper.denyPermissions("MY_PERMISSON"); in revokeSelfPermission() 442 shadowContextWrapper.denyPermissions(1, 1, "MY_PERMISSON"); in revokePermissionUidPid() 525 shadowOf(contextWrapper).denyPermissions("foo", "qux"); 535 shadowOf(contextWrapper).denyPermissions("foo", "qux");
|
D | ShadowBackupManagerTest.java | 79 .denyPermissions(android.Manifest.permission.BACKUP); in isBackupEnabled_noPermission_shouldThrowSecurityException()
|