Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java632 … final ClipData sub2Clip = useClip ? makeMultiClipData(sub2Uri) : makeSingleClipData(sub2Uri); in doTestGrantActivityUriReadPermission() local
636 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() local
744 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 …]