Home
last modified time | relevance | path

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

/cts/tests/tests/content/ContentUriTestApp/src/android/content/cts/contenturitestapp/
DTestProvider.java44 boolean hasRead = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in getSubsetContentUri()
47 if (hasRead && hasWrite) { in getSubsetContentUri()
49 } else if (hasRead) { in getSubsetContentUri()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java203 private boolean hasRead = false; field in AtraceHostTestBase.StringAdapter
211 if (!hasRead) { in next()
212 hasRead = true; in next()
220 hasRead = true; in close()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java1757 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()