/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/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 502 public void setPermission(String permission, Integer granted) { in setPermission() method in ConnectivityServiceTest.MockContext 1899 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_Sanitize() 1901 mServiceContext.setPermission(Manifest.permission.NETWORK_SETTINGS, in networkCallbacksSanitizationTest_Sanitize() 1908 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_NoSanitize_NetworkStack() 1910 mServiceContext.setPermission(Manifest.permission.NETWORK_SETTINGS, PERMISSION_DENIED); in networkCallbacksSanitizationTest_NoSanitize_NetworkStack() 1916 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in networkCallbacksSanitizationTest_NoSanitize_Settings() 1918 mServiceContext.setPermission(Manifest.permission.NETWORK_SETTINGS, PERMISSION_GRANTED); in networkCallbacksSanitizationTest_NoSanitize_Settings() 2829 mServiceContext.setPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK, in testCaptivePortalApp() 2873 mServiceContext.setPermission( in testCaptivePortalApi() 6853 mServiceContext.setPermission(perm, PERMISSION_GRANTED); in setupLocationPermissions() [all …]
|
/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 | 4258 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testCanNotifyAsUser_crossUser() 4277 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testgetNotificationChannels_crossUser() 5014 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in testAreNotificationsEnabledForPackage_crossUser() 5031 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 | 50521 Landroid/os/INetworkManagementService$Stub$Proxy;->setPermission(Ljava/lang/String;[I)V 50682 Landroid/os/INetworkManagementService;->setPermission(Ljava/lang/String;[I)V 80778 Landroid/widget/AppSecurityPermissions$PermissionItemView;->setPermission(Landroid/widget/AppSecuri…
|
D | boot-image-profile.txt | 43322 HSPLjava/io/UnixFileSystem;->setPermission(Ljava/io/File;IZZ)Z
|