Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java350 Uri grantDataUri = Uri.withAppendedPath(uri, "data"); in doTryGrantUriActivityPermissionToSelf() local
352 grantIntent.setData(grantDataUri); in doTryGrantUriActivityPermissionToSelf()
359 fail("expected SecurityException granting " + grantDataUri + " to activity"); in doTryGrantUriActivityPermissionToSelf()
413 Uri grantDataUri = Uri.withAppendedPath(uri, "data"); in doTryGrantUriServicePermissionToSelf() local
415 grantIntent.setData(grantDataUri); in doTryGrantUriServicePermissionToSelf()
420 fail("expected SecurityException granting " + grantDataUri + " to service"); in doTryGrantUriServicePermissionToSelf()
472 Uri grantDataUri = Uri.withAppendedPath(uri, "data"); in grantUriPermissionFail() local
474 grantIntent.setData(grantDataUri); in grantUriPermissionFail()
483 fail("Able to grant URI permission to " + grantDataUri + " when should not"); in grantUriPermissionFail()