Searched refs:getTestablePermissions (Results 1 – 4 of 4) sorted by relevance
44 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testCheck()46 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS_FULL, in testCheck()56 mContext.getTestablePermissions().setPermission(URI_1, PERMISSION_GRANTED); in testCheckUri()57 mContext.getTestablePermissions().setPermission(URI_2, PERMISSION_DENIED); in testCheckUri()65 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceNoException()72 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceWithException()79 mContext.getTestablePermissions().setPermission(URI_1, PERMISSION_GRANTED); in testEnforceUriNoException()85 mContext.getTestablePermissions().setPermission(URI_1, PERMISSION_DENIED); in testEnforceUriWithException()
78 mContext.getTestablePermissions().setPermission(TEST_URI, PERMISSION_GRANTED); in setUp()
308 public TestablePermissions getTestablePermissions() { in getTestablePermissions() method in TestableContext
4257 TestablePermissions perms = mContext.getTestablePermissions(); in testCanNotifyAsUser_crossUser()4276 TestablePermissions perms = mContext.getTestablePermissions(); in testgetNotificationChannels_crossUser()5013 TestablePermissions perms = mContext.getTestablePermissions(); in testAreNotificationsEnabledForPackage_crossUser()5030 TestablePermissions perms = mContext.getTestablePermissions(); in testAreBubblesAllowedForPackage_crossUser()