Home
last modified time | relevance | path

Searched refs:requestAppPermissionsAndAssertResult (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionTest29.kt52 requestAppPermissionsAndAssertResult( in testRequestOnlyBackgroundNotPossible()
62 requestAppPermissionsAndAssertResult( in testRequestBoth()
74 requestAppPermissionsAndAssertResult( in testRequestBothInSequence()
83 requestAppPermissionsAndAssertResult( in testRequestBothInSequence()
96 requestAppPermissionsAndAssertResult( in testRequestBothButGrantInSequence()
104 requestAppPermissionsAndAssertResult( in testRequestBothButGrantInSequence()
118 requestAppPermissionsAndAssertResult( in testDenyBackgroundWithPrejudice()
126 requestAppPermissionsAndAssertResult( in testDenyBackgroundWithPrejudice()
134 requestAppPermissionsAndAssertResult( in testDenyBackgroundWithPrejudice()
146 requestAppPermissionsAndAssertResult( in testGrantDialogToSettingsNoOp()
[all …]
DPermissionTest23.kt67 requestAppPermissionsAndAssertResult( in testInteractiveGrant()
87 requestAppPermissionsAndAssertResult(android.Manifest.permission.WRITE_CONTACTS to true) { in testRuntimeGroupGrantSpecificity()
103 requestAppPermissionsAndAssertResult(android.Manifest.permission.WRITE_CONTACTS to false) { in testCancelledPermissionRequest()
116 requestAppPermissionsAndAssertResult(android.Manifest.permission.WRITE_CONTACTS to true) { in testRequestGrantedPermission()
122 requestAppPermissionsAndAssertResult( in testRequestGrantedPermission()
136 requestAppPermissionsAndAssertResult( in testDenialWithPrejudice()
146 requestAppPermissionsAndAssertResult( in testDenialWithPrejudice()
179 requestAppPermissionsAndAssertResult( in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt()
199 requestAppPermissionsAndAssertResult(android.Manifest.permission.READ_CALENDAR to true) { in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt()
212 requestAppPermissionsAndAssertResult( in testRequestNonRuntimePermission()
[all …]
DLocationAccuracyTest.kt60 requestAppPermissionsAndAssertResult( in testCoarsePermissionIsGranted()
79 requestAppPermissionsAndAssertResult( in testPrecisePermissionIsGranted()
98 requestAppPermissionsAndAssertResult( in testPermissionUpgradeFlow()
109 requestAppPermissionsAndAssertResult( in testPermissionUpgradeFlow()
126 requestAppPermissionsAndAssertResult(ACCESS_COARSE_LOCATION to true) { in testCoarseRequestAndGrant()
139 requestAppPermissionsAndAssertResult(ACCESS_COARSE_LOCATION to true) { in testPreSAppsAutograntFineIfCoarseGranted()
143 requestAppPermissionsAndAssertResult( in testPreSAppsAutograntFineIfCoarseGranted()
DPhotoPickerPermissionTest.kt145 requestAppPermissionsAndAssertResult( in testNoPhotoSelectionTreatedAsCancel()
161 requestAppPermissionsAndAssertResult( in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
209 requestAppPermissionsAndAssertResult( in testNonImplicitDoesntGrantOtherPermsWhenUserSelected()
266 requestAppPermissionsAndAssertResult( in testGrantAllPhotosStateSameForImplicitAndNot()
279 requestAppPermissionsAndAssertResult( in testGrantAllPhotosStateSameForImplicitAndNot()
382 requestAppPermissionsAndAssertResult( in testAppCantRequestOnlyPartialStoragePerms()
388 requestAppPermissionsAndAssertResult( in testAppCantRequestOnlyPartialStoragePerms()
399 requestAppPermissionsAndAssertResult( in testImplicitAppCanExpandAccessMediaLocation()
409 requestAppPermissionsAndAssertResult( in testExplicitAppCannotExpandAccessMediaLocation()
427 requestAppPermissionsAndAssertResult( in testExplicitAppCannotRequestOnlyPartialAccess()
[all …]
DPermissionTest30.kt39 requestAppPermissionsAndAssertResult( in testCantRequestFgAndBgAtOnce()
54 requestAppPermissionsAndAssertResult(ACCESS_FINE_LOCATION to true) { in testRequestBothInSequence()
58 requestAppPermissionsAndAssertResult( in testRequestBothInSequence()
73 requestAppPermissionsAndAssertResult( in testRequestFgLocationAndNoAccuracyOptions()
DPermissionDecisionsTest.kt49 requestAppPermissionsAndAssertResult(Manifest.permission.ACCESS_FINE_LOCATION to true) { in testAcceptPermissionDialogShowsDecisionWithGrantedAccess()
63 requestAppPermissionsAndAssertResult(Manifest.permission.ACCESS_FINE_LOCATION to false) { in testDenyPermissionDialogShowsDecisionWithDeniedAccess()
77 requestAppPermissionsAndAssertResult(Manifest.permission.ACCESS_FINE_LOCATION to false) { in testAppUninstallRemovesDecision()
95 requestAppPermissionsAndAssertResult(Manifest.permission.ACCESS_FINE_LOCATION to true) { in testClickOnDecisionAndChangeAccessUpdatesDecision()
DMediaPermissionTest.kt46 requestAppPermissionsAndAssertResult(Manifest.permission.READ_EXTERNAL_STORAGE to true) { in testWhenRESIsGrantedFromGrantDialogThenShouldGrantAllPermissions()
76 requestAppPermissionsAndAssertResult(Manifest.permission.READ_EXTERNAL_STORAGE to false) { in testWhenRESIsDeniedFromGrantDialogThenShouldDenyAllPermissions()
157 requestAppPermissionsAndAssertResult(Manifest.permission.READ_EXTERNAL_STORAGE to true) { in testWhenA30AppRequestsStorageWhenMediaPermsHaveRWRFlag()
171 requestAppPermissionsAndAssertResult( in testWhenA30AppRequestsStorageWhenMediaPermsHaveRWRFlag()
DEnhancedConfirmationManagerTest.kt186 requestAppPermissionsAndAssertResult(*permissionAndExpectedGrantResults) { in grantDialogBlocksRestrictedPermissionsOfSameGroupTogether()
191 requestAppPermissionsAndAssertResult( in grantDialogBlocksRestrictedPermissionsOfSameGroupTogether()
207 requestAppPermissionsAndAssertResult( in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedGroupsDespiteOutOfOrderRequest()
219 requestAppPermissionsAndAssertResult( in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedGroupsDespiteOutOfOrderRequest()
236 requestAppPermissionsAndAssertResult( in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedHighPriorityGroups()
254 requestAppPermissionsAndAssertResult( in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedLowPriorityGroups()
DMediaPermissionUpgradeTest.kt40 requestAppPermissionsAndAssertResult( in testAfterUpgradeToTiramisuThenNoGrantDialogShownForMediaPerms()
51 requestAppPermissionsAndAssertResult( in testAfterUpgradeToTiramisuThenNoGrantDialogShownForMediaPerms()
DPermissionGroupTest.kt65 requestAppPermissionsAndAssertResult( in testPartiallyGrantedGroupExpansion()
81 requestAppPermissionsAndAssertResult( in testRuntimeGroupGrantExpansion()
DPermissionSplitTest.kt83 requestAppPermissionsAndAssertResult( in testLocationPermissionSplit()
105 requestAppPermissionsAndAssertResult( in testBodySensorPermissionSplit()
DPermissionTest22.kt60 requestAppPermissionsAndAssertResult( in testNoRuntimePrompt()
DPermissionUpgradeTest.kt109 requestAppPermissionsAndAssertResult( in testRevokePropagatedOnUpgradeNewToNewModel()
DBaseUsePermissionTest.kt707 protected inline fun requestAppPermissionsAndAssertResult( in <lambda>() method in android.permissionui.cts.BaseUsePermissionTest
774 protected inline fun requestAppPermissionsAndAssertResult( in <lambda>() method in android.permissionui.cts.BaseUsePermissionTest
780 requestAppPermissionsAndAssertResult( in <lambda>()