Searched refs:setPermission (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestablePermissionsTest.java | 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()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestablePermissions.java | 38 public void setPermission(String permission, int value) { in setPermission() method in TestablePermissions 47 public void setPermission(Uri uri, int value) { in setPermission() method in TestablePermissions
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ServiceListingTest.java | 50 .setPermission("testPermission") in setUp()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceManagerServiceTest.java | 78 mContext.getTestablePermissions().setPermission(TEST_URI, PERMISSION_GRANTED); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ServiceListing.java | 209 public Builder setPermission(String permission) { in setPermission() method in ServiceListing.Builder
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 147 public void setPermission(@Nullable Permission perm) { in setPermission() method in BasePermission
|
D | PermissionManagerService.java | 760 bp.setPermission(null); in removeAllPermissions()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 4189 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testCanNotifyAsUser_crossUser() 4208 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testgetNotificationChannels_crossUser() 4945 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreNotificationsEnabledForPackage_crossUser() 4962 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreBubblesAllowedForPackage_crossUser()
|
/frameworks/base/services/ |
D | art-profile | 1479 HSPLcom/android/server/NetworkManagementService;->setPermission(Ljava/lang/String;[I)V
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 54164 Landroid/os/INetworkManagementService$Stub$Proxy;->setPermission(Ljava/lang/String;[I)V 54327 Landroid/os/INetworkManagementService;->setPermission(Ljava/lang/String;[I)V 86549 Landroid/widget/AppSecurityPermissions$PermissionItemView;->setPermission(Landroid/widget/AppSecuri…
|
D | boot-image-profile.txt | 43323 HSPLjava/io/UnixFileSystem;->setPermission(Ljava/io/File;IZZ)Z
|