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.java652 … final ClipData sub2Clip = useClip ? makeMultiClipData(sub2Uri) : makeSingleClipData(sub2Uri); in doTestGrantActivityUriReadPermission() local
656 assertReadingClipNotAllowed(sub2Clip, "shouldn't read when starting test"); in doTestGrantActivityUriReadPermission()
679 grantClipUriPermission(sub2Clip, Intent.FLAG_GRANT_READ_URI_PERMISSION, false); in doTestGrantActivityUriReadPermission()
693 assertReadingClipAllowed(sub2Clip); in doTestGrantActivityUriReadPermission()
699 assertWritingClipNotAllowed(sub2Clip, "shouldn't write from granted read"); in doTestGrantActivityUriReadPermission()
730 assertReadingClipNotAllowed(sub2Clip, "shouldn't read after losing granted URI"); in doTestGrantActivityUriReadPermission()
760 … final ClipData sub2Clip = useClip ? makeMultiClipData(sub2Uri) : makeSingleClipData(sub2Uri); in doTestGrantActivityUriWritePermission() local
764 assertWritingClipNotAllowed(sub2Clip, "shouldn't write when starting test"); in doTestGrantActivityUriWritePermission()
787 grantClipUriPermission(sub2Clip, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false); in doTestGrantActivityUriWritePermission()
801 assertWritingClipAllowed(sub2Clip); in doTestGrantActivityUriWritePermission()
[all …]