Searched refs:grantFlags (Results 1 – 5 of 5) sorted by relevance
131 public void assertHasUriPermission(Uri uri, int grantFlags) { in assertHasUriPermission() argument132 if ((grantFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in assertHasUriPermission()137 if ((grantFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in assertHasUriPermission()
39 final int grantFlags = Intent.FLAG_GRANT_READ_URI_PERMISSION; in testClipData() local41 .setClipData(clipData, grantFlags) in testClipData()52 assertEquals(grantFlags, params.getClipGrantFlags()); in testClipData()
136 public void assertHasUriPermission(Uri uri, int grantFlags) { in assertHasUriPermission() argument137 if ((grantFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in assertHasUriPermission()142 if ((grantFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in assertHasUriPermission()
113 int grantFlags = work.getIntent().getFlags(); in onStartJob() local116 if ((grantFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in onStartJob()129 if ((grantFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in onStartJob()148 if ((grantFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in onStartJob()161 if ((grantFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in onStartJob()