Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java651 final ClipData subClip = useClip ? makeMultiClipData(subUri) : makeSingleClipData(subUri); in doTestGrantActivityUriReadPermission() local
655 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() local
763 assertWritingClipNotAllowed(subClip, "shouldn't write when starting test"); in doTestGrantActivityUriWritePermission()
769 grantClipUriPermission(subClip, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false); in doTestGrantActivityUriWritePermission()
[all …]