Home
last modified time | relevance | path

Searched refs:mFirstUri (Results 1 – 4 of 4) sorted by relevance

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DClipDataJobTest.java46 mProvider = getContext().getContentResolver().acquireContentProviderClient(mFirstUri); in setUp()
67 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
70 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
82 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
85 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant()
98 waitPermissionRevoke(mFirstUri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, 5000); in testClipDataGrant()
125 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
128 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
140 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
143 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
[all …]
DConstraintTest.java66 Uri mFirstUri; field in ConstraintTest
83 mFirstUri = Uri.parse("content://" + JOBPERM_AUTHORITY + "/protected/foo"); in injectInstrumentation()
85 mFirstUriBundle.putParcelable("uri", mFirstUri); in injectInstrumentation()
90 new ClipData.Item(mFirstUri)); in injectInstrumentation()
DEnqueueJobWorkTest.java50 mProvider = getContext().getContentResolver().acquireContentProviderClient(mFirstUri); in setUp()
388 assertHasUriPermission(mFirstUri, Intent.FLAG_GRANT_READ_URI_PERMISSION in testEnqueueMultipleUriGrantWork()
396 work1.setData(mFirstUri); in testEnqueueMultipleUriGrantWork()
402 work2.setData(mFirstUri); in testEnqueueMultipleUriGrantWork()
405 new TestWorkItem(work1, new Uri[] { mFirstUri, mSecondUri}, new Uri[0]), in testEnqueueMultipleUriGrantWork()
406 new TestWorkItem(work2, new Uri[] { mFirstUri }, new Uri[] { mSecondUri}) }; in testEnqueueMultipleUriGrantWork()
416 assertHasUriPermission(mFirstUri, Intent.FLAG_GRANT_READ_URI_PERMISSION in testEnqueueMultipleUriGrantWork()
431 waitPermissionRevoke(mFirstUri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, 5000); in testEnqueueMultipleUriGrantWork()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConstraintTest.java62 Uri mFirstUri; field in ConstraintTest
79 mFirstUri = Uri.parse("content://" + JOBPERM_AUTHORITY + "/protected/foo"); in injectInstrumentation()
81 mFirstUriBundle.putParcelable("uri", mFirstUri); in injectInstrumentation()
86 new ClipData.Item(mFirstUri)); in injectInstrumentation()