/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/core/java/android/content/pm/parsing/component/ |
D | ParsedService.java | 44 public ParsedMainComponent setPermission(String permission) { in setPermission() method in ParsedService
|
D | ParsedServiceUtils.java | 87 service.setPermission(permission != null ? permission : pkg.getPermission()); in parseService()
|
D | ParsedActivityUtils.java | 309 activity.setPermission(permission); in parseActivityOrAlias() 311 activity.setPermission(permission != null ? permission : pkg.getPermission()); in parseActivityOrAlias()
|
D | ParsedActivity.java | 249 public ParsedActivity setPermission(String permission) { in setPermission() method in ParsedActivity
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ServiceListingTest.java | 50 .setPermission("testPermission") in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImpl.kt | 39 setPermission("android.permission.BIND_CONTROLS") in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperManagerServiceTests.java | 133 sContext.getTestablePermissions().setPermission( in setUpClass() 136 sContext.getTestablePermissions().setPermission( in setUpClass()
|
/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 | 217 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() 6845 mServiceContext.setPermission(perm, PERMISSION_GRANTED); in setupLocationPermissions() [all …]
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ParsingPackage.java | 124 ParsingPackage setPermission(String permission); in setPermission() method
|
D | ParsingPackageImpl.java | 2616 public ParsingPackageImpl setPermission(@Nullable String permission) {
|
D | ParsingPackageUtils.java | 1987 … .setPermission(nonConfigString(0, R.styleable.AndroidManifestApplication_permission, sa)); in parseBaseAppBasicFlags()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 139 public void setPermission(@Nullable ParsedPermission perm) { in setPermission() method in BasePermission
|
D | PermissionManagerService.java | 2440 bp.setPermission(null); in removeAllPermissions()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 5648 perms.setPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, PERMISSION_GRANTED); in enableInteractAcrossUsers()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 32581 HSPLjava/io/UnixFileSystem;->setPermission(Ljava/io/File;IZZ)Z
|
/frameworks/base/services/ |
D | art-profile | 27278 PLcom/android/server/pm/permission/BasePermission;->setPermission(Landroid/content/pm/parsing/compo…
|