Searched refs:subClip (Results 1 – 1 of 1) sorted by relevance
651 final ClipData subClip = useClip ? makeMultiClipData(subUri) : makeSingleClipData(subUri); in doTestGrantActivityUriReadPermission() local655 assertReadingClipNotAllowed(subClip, "shouldn't read when starting test"); in doTestGrantActivityUriReadPermission()661 grantClipUriPermission(subClip, Intent.FLAG_GRANT_READ_URI_PERMISSION, false); in doTestGrantActivityUriReadPermission()665 assertReadingClipAllowed(subClip); in doTestGrantActivityUriReadPermission()668 assertWritingClipNotAllowed(subClip, "shouldn't write from granted read"); in doTestGrantActivityUriReadPermission()696 assertReadingClipAllowed(subClip); in doTestGrantActivityUriReadPermission()729 assertReadingClipNotAllowed(subClip, "shouldn't read after losing granted URI"); in doTestGrantActivityUriReadPermission()759 final ClipData subClip = useClip ? makeMultiClipData(subUri) : makeSingleClipData(subUri); in doTestGrantActivityUriWritePermission() local763 assertWritingClipNotAllowed(subClip, "shouldn't write when starting test"); in doTestGrantActivityUriWritePermission()769 grantClipUriPermission(subClip, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false); in doTestGrantActivityUriWritePermission()[all …]