Searched refs:hasRead (Results 1 – 3 of 3) sorted by relevance
44 boolean hasRead = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in getSubsetContentUri()47 if (hasRead && hasWrite) { in getSubsetContentUri()49 } else if (hasRead) { in getSubsetContentUri()
203 private boolean hasRead = false; field in AtraceHostTestBase.StringAdapter211 if (!hasRead) { in next()212 hasRead = true; in next()220 hasRead = true; in close()
1757 boolean hasRead = (modeFlagsTestHasAccessTo & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in internalTestCheckContentUriPermissionFull()1763 String msg = getInternalContentUriErrorMessage(hasRead, "read", packageAccessType, in internalTestCheckContentUriPermissionFull()1765 int expected = hasRead ? PERMISSION_GRANTED : PERMISSION_DENIED; in internalTestCheckContentUriPermissionFull()1778 msg = getInternalContentUriErrorMessage(hasRead && hasWrite, "read and write", in internalTestCheckContentUriPermissionFull()1780 expected = (hasRead && hasWrite) ? PERMISSION_GRANTED : PERMISSION_DENIED; in internalTestCheckContentUriPermissionFull()