/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | PermissionTest23.kt | 50 grantAppPermissionsByUi(android.Manifest.permission.READ_CALENDAR) in testGranted() 53 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, true) in testGranted() 62 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, false) in testInteractiveGrant() 68 android.Manifest.permission.READ_CALENDAR to true, in testInteractiveGrant() 157 grantAppPermissionsByUi(android.Manifest.permission.READ_CALENDAR) in testRevokeAffectsWholeGroup() 160 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, true) in testRevokeAffectsWholeGroup() 164 revokeAppPermissionsByUi(android.Manifest.permission.READ_CALENDAR) in testRevokeAffectsWholeGroup() 167 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, false) in testRevokeAffectsWholeGroup() 175 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, false) in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt() 180 android.Manifest.permission.READ_CALENDAR to false, in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt() [all …]
|
D | PermissionUpgradeTest.kt | 48 android.Manifest.permission.READ_CALENDAR, in assertAllPermissionsGrantedByDefault() 104 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, false) in testRevokePropagatedOnUpgradeNewToNewModel() 110 android.Manifest.permission.READ_CALENDAR to true, in testRevokePropagatedOnUpgradeNewToNewModel() 118 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, true) in testRevokePropagatedOnUpgradeNewToNewModel() 129 android.Manifest.permission.READ_CALENDAR, in assertAppHasAllOrNoPermissions()
|
D | PermissionTest22.kt | 39 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, true) in testCompatDefault() 50 assertAppHasPermission(android.Manifest.permission.READ_CALENDAR, true) in testCompatRevoked()
|
D | PermissionReviewTest.kt | 160 android.Manifest.permission.READ_CALENDAR in testReviewPermissionWhenServiceIsBound()
|
D | BaseUsePermissionTest.kt | 252 android.Manifest.permission.READ_CALENDAR to "@android:string/permgrouplab_calendar", in <lambda>()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | RevokePermissionTest.kt | 20 import android.Manifest.permission.READ_CALENDAR 48 testRevoke(packageName = APP_PKG_NAME, permission = READ_CALENDAR, isGranted = true) in testRevokePermission() 72 testRevoke(packageName = fakePackageName, permission = READ_CALENDAR) in testRevokeFakePackage() 80 permission = READ_CALENDAR, in testRevokePermissionWithReason() 110 permission = READ_CALENDAR, in testRevokeFakePackageWithReason() 132 assertEquals(PERMISSION_GRANTED, pm.checkPermission(READ_CALENDAR, APP_PKG_NAME)) in testRevoke()
|
D | PlatformPermissionGroupMappingTest.kt | 37 android.Manifest.permission.READ_CALENDAR, in platformPermissionHasPermissionGroup() 56 assertThat(permissionNames).contains(android.Manifest.permission.READ_CALENDAR) in platformPermissionGroupHasPermission()
|
D | PermissionControllerTest.java | 23 import static android.Manifest.permission.READ_CALENDAR; 432 grantPermission(APP2, READ_CALENDAR); in revokePermissionAutomaticallyExtendsToWholeGroup() 437 sController.revokeRuntimePermission(APP2, READ_CALENDAR); in revokePermissionAutomaticallyExtendsToWholeGroup() 440 assertThat(isGranted(APP2, READ_CALENDAR)).isEqualTo(false); in revokePermissionAutomaticallyExtendsToWholeGroup() 465 () -> sController.revokeRuntimePermission("invalid.package", READ_CALENDAR)); in revokePermissionWithInvalidPkg() 477 sController.revokeRuntimePermission(null, READ_CALENDAR); in revokePermissionWithNullPkg()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImpl.java | 19 import static android.Manifest.permission.READ_CALENDAR; 316 case SetSchemaRequest.READ_CALENDAR: in doesCallerHoldsAllRequiredPermissions() 365 case SetSchemaRequest.READ_CALENDAR: in doesCallerHavePermissionForDataDelivery() 366 permission = READ_CALENDAR; in doesCallerHavePermissionForDataDelivery()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImplTest.java | 20 import static android.Manifest.permission.READ_CALENDAR; 712 ImmutableSet.of(SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testSetSchema_visibleToPermissions_anyCombinations() 719 mUiAutomation.adoptShellPermissionIdentity(READ_SMS, READ_CALENDAR); in testSetSchema_visibleToPermissions_anyCombinations() 747 mUiAutomation.adoptShellPermissionIdentity(READ_SMS, READ_CALENDAR); in testSetSchema_visibleToPermissions_anyCombinations() 808 mUiAutomation.adoptShellPermissionIdentity(READ_SMS, READ_CALENDAR, READ_CONTACTS, in testSetSchema_defaultNotVisibleToPermissions() 831 ImmutableSet.of(SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testSetSchema_visibleToPermissions_needAllPermissions() 849 mUiAutomation.adoptShellPermissionIdentity(READ_SMS, READ_CALENDAR); in testSetSchema_visibleToPermissions_needAllPermissions()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreMigrationHelperFromV1Test.java | 108 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from1() 160 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from1()
|
D | VisibilityStoreMigrationFromV2Test.java | 136 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testVisibilityMigration_from2() 194 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR), in testVisibilityMigration_from2()
|
D | VisibilityToDocumentConverterTest.java | 247 SetSchemaRequest.READ_SMS, SetSchemaRequest.READ_CALENDAR)) in testToVisibilityConfig()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | RuntimePermissionProperties.kt | 36 import android.Manifest.permission.READ_CALENDAR 130 READ_CALENDAR, in runtimePermissionsShouldHaveBeenSplitFromPreviousPermission()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | SetSchemaRequest.java | 102 READ_CALENDAR, 123 public static final int READ_CALENDAR = 2; field in SetSchemaRequest
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | PermissionMapping.kt | 78 PLATFORM_PERMISSIONS[Manifest.permission.READ_CALENDAR] = Manifest.permission_group.CALENDAR
|
/packages/modules/AppSearch/framework/api/ |
D | current.txt | 658 field public static final int READ_CALENDAR = 2; // 0x2
|