Searched refs:sub2Clip (Results 1 – 1 of 1) sorted by relevance
632 … final ClipData sub2Clip = useClip ? makeMultiClipData(sub2Uri) : makeSingleClipData(sub2Uri); in doTestGrantActivityUriReadPermission() local636 assertReadingClipNotAllowed(sub2Clip, "shouldn't read when starting test"); in doTestGrantActivityUriReadPermission()659 grantClipUriPermission(sub2Clip, Intent.FLAG_GRANT_READ_URI_PERMISSION, false); in doTestGrantActivityUriReadPermission()673 assertReadingClipAllowed(sub2Clip); in doTestGrantActivityUriReadPermission()679 assertWritingClipNotAllowed(sub2Clip, "shouldn't write from granted read"); in doTestGrantActivityUriReadPermission()710 assertReadingClipNotAllowed(sub2Clip, "shouldn't read after losing granted URI"); in doTestGrantActivityUriReadPermission()740 … final ClipData sub2Clip = useClip ? makeMultiClipData(sub2Uri) : makeSingleClipData(sub2Uri); in doTestGrantActivityUriWritePermission() local744 assertWritingClipNotAllowed(sub2Clip, "shouldn't write when starting test"); in doTestGrantActivityUriWritePermission()767 grantClipUriPermission(sub2Clip, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false); in doTestGrantActivityUriWritePermission()781 assertWritingClipAllowed(sub2Clip); in doTestGrantActivityUriWritePermission()[all …]