Searched refs:badUri (Results 1 – 2 of 2) sorted by relevance
225 final Uri badUri = Uri.fromFile(new File("/sdcard/meow.jpg")); in testFileUriExposure() local230 intent.setDataAndType(badUri, "image/jpeg"); in testFileUriExposure()234 assertThat(info.getStackTrace()).contains(badUri + " exposed beyond app"); in testFileUriExposure()252 final Uri badUri = Uri.fromFile(new File("/sdcard/meow.jpg")); in testFileUriExposure_Chooser() local258 intent.putExtra(Intent.EXTRA_STREAM, badUri); in testFileUriExposure_Chooser()265 assertThat(info.getStackTrace()).contains(badUri + " exposed beyond app"); in testFileUriExposure_Chooser()
326 final Uri badUri = Uri.parse("file:///sdcard/Android/data/" in testSetDestinationUri_invalidRequests() local329 badRequest2.setDestinationUri(badUri); in testSetDestinationUri_invalidRequests()332 fail(badUri + " is not valid for setDestinationUri()"); in testSetDestinationUri_invalidRequests()