Home
last modified time | relevance | path

Searched refs:BASE_URI (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/slice/src/android/slice/cts/
DSlicePermissionsTest.java41 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts.local/"); field in SlicePermissionsTest
63 mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI); in tearDown()
70 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
72 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrant()
75 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant()
81 Uri uri = BASE_URI.buildUpon() in testGrantParent()
88 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParent()
97 Uri uri = BASE_URI.buildUpon() in testGrantParentExpands()
110 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrantParentExpands()
112 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParentExpands()
[all …]
DSliceBuilderTest.java46 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts/"); field in SliceBuilderTest
52 Slice s = new Slice.Builder(BASE_URI, SPEC) in testInt()
55 assertEquals(BASE_URI, s.getUri()); in testInt()
70 Slice s = new Slice.Builder(BASE_URI, SPEC) in testIcon()
73 assertEquals(BASE_URI, s.getUri()); in testIcon()
88 Slice s = new Slice.Builder(BASE_URI, SPEC) in testText()
91 assertEquals(BASE_URI, s.getUri()); in testText()
106 Slice s = new Slice.Builder(BASE_URI, SPEC) in testLong()
109 assertEquals(BASE_URI, s.getUri()); in testLong()
124 Slice s = new Slice.Builder(BASE_URI, SPEC) in testRemoteInput()
[all …]
DSliceBindingTest.java56 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts/"); field in SliceBindingTest
65 mSliceManager.bindSlice(BASE_URI.buildUpon().appendPath("set_flag").build(), in testProcess()
73 mContext.getContentResolver().getType(BASE_URI)); in testType()
79 Slice s = mSliceManager.bindSlice(BASE_URI, in testSliceUri()
81 assertEquals(BASE_URI, s.getUri()); in testSliceUri()
87 Uri uri = BASE_URI.buildUpon().appendPath("subslice").build(); in testSubSlice()
103 Uri uri = BASE_URI.buildUpon().appendPath("text").build(); in testText()
118 Uri uri = BASE_URI.buildUpon().appendPath("icon").build(); in testIcon()
144 Uri uri = BASE_URI.buildUpon().appendPath("action").build(); in testAction()
168 Uri uri = BASE_URI.buildUpon().appendPath("int").build(); in testInt()
[all …]
DSliceManagerTest.java56 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts.local/main"); field in SliceManagerTest
67 mSliceManager.unpinSlice(BASE_URI); in setup()
78 mSliceManager.unpinSlice(BASE_URI); in teardown()
86 mSliceManager.pinSlice(BASE_URI, Collections.emptySet()); in testPinSlice()
88 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI)); in testPinSlice()
94 mSliceManager.pinSlice(BASE_URI, Collections.emptySet()); in testUnpinSlice()
96 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI)); in testUnpinSlice()
98 mSliceManager.unpinSlice(BASE_URI); in testUnpinSlice()
100 verify(LocalSliceProvider.sProxy, timeout(2000)).onSliceUnpinned(eq(BASE_URI)); in testUnpinSlice()
106 Uri uri = BASE_URI; in testPinList()
[all …]
DSliceMetricsTest.java36 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts.local/"); field in SliceMetricsTest
45 mSliceMetrics = new SliceMetrics(mContext, BASE_URI); in setup()
76 logMaker.addTaggedData(MetricsEvent.FIELD_SLICE_AUTHORITY, BASE_URI.getAuthority()); in getLogMaker()
77 logMaker.addTaggedData(MetricsEvent.FIELD_SLICE_PATH, BASE_URI.getPath()); in getLogMaker()
/cts/tests/tests/webkit/src/android/webkit/cts/
DPostMessageTest.java44 private static final String BASE_URI = "http://www.example.com"; field in PostMessageTest
94 mOnUiThread.loadDataWithBaseURLAndWaitForCompletion(BASE_URI, data, in loadPage()
114 verifyPostMessageToOrigin(Uri.parse(BASE_URI)); in testSimpleMessageToMainFrame()
161 Uri.parse(BASE_URI)); in testMultipleMessagesToMainFrame()
179 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testMessageChannel()
217 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testClose()
262 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testReceiveMessagePort()
287 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageHandler()
323 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageDefaultHandler()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DEventProviderConstants.java41 private static final String BASE_URI = "content://" + AUTHORITY; field in EventProviderConstants
74 public static final String CONTENT_URI = BASE_URI + "/" + NAME;