Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/tests/src/android/testing/
DTestablePermissionsTest.java45 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testCheck()
47 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS_FULL, in testCheck()
57 mContext.getTestablePermissions().setPermission(URI_1, PERMISSION_GRANTED); in testCheckUri()
58 mContext.getTestablePermissions().setPermission(URI_2, PERMISSION_DENIED); in testCheckUri()
66 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceNoException()
73 mContext.getTestablePermissions().setPermission(permission.INTERACT_ACROSS_USERS, in testEnforceWithException()
80 mContext.getTestablePermissions().setPermission(URI_1, PERMISSION_GRANTED); in testEnforceUriNoException()
86 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/core/java/com/android/server/connectivity/
DPermissionMonitor.java235 mNetd.setPermission("NETWORK", toIntArray(network)); in update()
236 mNetd.setPermission("SYSTEM", toIntArray(system)); in update()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl433 void setPermission(String permission, in int[] uids); in setPermission() method
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java77 mContext.getTestablePermissions().setPermission(TEST_URI, PERMISSION_GRANTED); in setup()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java212 public Builder setPermission(String permission) { in setPermission() method in ServiceListing.Builder
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java147 public void setPermission(MyPermissionGroupInfo grp, MyPermissionInfo perm, in setPermission() method in AppSecurityPermissions.PermissionItemView
513 permView.setPermission(grp, perm, first, newPermPrefix, packageName, showRevokeUI); in getPermissionItemView()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java146 public void setPermission(@Nullable Permission perm) { in setPermission() method in BasePermission
DPermissionManagerService.java563 bp.setPermission(null); in removeAllPermissions()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java2593 public void setPermission(String permission, int[] uids) { in setPermission() method in NetworkManagementService
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8777 Ljava/io/FileSystem;->setPermission(Ljava/io/File;IZZ)Z
Dboot-image-profile.txt27749 HSPLandroid/os/INetworkManagementService;->setPermission(Ljava/lang/String;[I)V
44721 HSPLjava/io/FileSystem;->setPermission(Ljava/io/File;IZZ)Z
45149 HSPLjava/io/UnixFileSystem;->setPermission(Ljava/io/File;IZZ)Z