Home
last modified time | relevance | path

Searched refs:assertPermissionFlags (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPhotoPickerPermissionTest.kt154 assertPermissionFlags(READ_MEDIA_IMAGES, FLAG_PERMISSION_USER_SET to false) in testNoPhotoSelectionTreatedAsCancel()
155 assertPermissionFlags(READ_MEDIA_VISUAL_USER_SELECTED, FLAG_PERMISSION_USER_SET to false) in testNoPhotoSelectionTreatedAsCancel()
174 assertPermissionFlags( in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
179 assertPermissionFlags( in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
184 assertPermissionFlags( in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
219 assertPermissionFlags(READ_MEDIA_IMAGES, FLAG_PERMISSION_USER_SET to true) in testNonImplicitDoesntGrantOtherPermsWhenUserSelected()
220 assertPermissionFlags(READ_MEDIA_VISUAL_USER_SELECTED, FLAG_PERMISSION_USER_SET to true) in testNonImplicitDoesntGrantOtherPermsWhenUserSelected()
238 assertPermissionFlags(READ_MEDIA_VISUAL_USER_SELECTED, FLAG_PERMISSION_USER_FIXED to true) in testNonImplicitAutomaticallyShowsPickerWhenUserFixed()
DBaseUsePermissionTest.kt1445 protected fun assertPermissionFlags(permName: String, vararg flags: Pair<Int, Boolean>) { in <lambda>() method