Searched refs:assertPermissionFlags (Results 1 – 2 of 2) sorted by relevance
154 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()
1445 protected fun assertPermissionFlags(permName: String, vararg flags: Pair<Int, Boolean>) { in <lambda>() method