Home
last modified time | relevance | path

Searched refs:setPermission (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/testables/tests/src/android/testing/
DTestablePermissionsTest.java44 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/
DTestablePermissions.java38 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/
DServiceListingTest.java50 .setPermission("testPermission") in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java78 mContext.getTestablePermissions().setPermission(TEST_URI, PERMISSION_GRANTED); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java209 public Builder setPermission(String permission) { in setPermission() method in ServiceListing.Builder
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java147 public void setPermission(@Nullable Permission perm) { in setPermission() method in BasePermission
DPermissionManagerService.java760 bp.setPermission(null); in removeAllPermissions()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4189 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/
Dart-profile1479 HSPLcom/android/server/NetworkManagementService;->setPermission(Ljava/lang/String;[I)V
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54164 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…
Dboot-image-profile.txt43323 HSPLjava/io/UnixFileSystem;->setPermission(Ljava/io/File;IZZ)Z