Searched refs:badUri (Results 1 – 3 of 3) sorted by relevance
331 final Uri badUri = Uri.fromFile(new File("/sdcard/meow.jpg")); in testFileUriExposure() local336 intent.setDataAndType(badUri, "image/jpeg"); in testFileUriExposure()340 assertThat(info.getStackTrace()).contains(badUri + " exposed beyond app"); in testFileUriExposure()358 final Uri badUri = Uri.fromFile(new File("/sdcard/meow.jpg")); in testFileUriExposure_Chooser() local364 intent.putExtra(Intent.EXTRA_STREAM, badUri); in testFileUriExposure_Chooser()371 assertThat(info.getStackTrace()).contains(badUri + " exposed beyond app"); in testFileUriExposure_Chooser()
365 final Uri badUri = Uri.parse("file:///sdcard/Android/data/" in testSetDestinationUri_invalidRequests() local368 badRequest2.setDestinationUri(badUri); in testSetDestinationUri_invalidRequests()371 fail(badUri + " is not valid for setDestinationUri()"); in testSetDestinationUri_invalidRequests()
2228 var badUri = "intent:#Intent;action=action%23action;launchFlags=0x990000000;" in testIntegerEncoding() local2231 () -> Intent.parseUri(badUri, Intent.URI_INTENT_SCHEME)); in testIntegerEncoding()2247 var badUri = Uri.fromParts(new Intent() in testEncoding() local2252 var selectorIntent = new Intent().setData(badUri) in testEncoding()