/cts/tests/tests/slice/src/android/slice/cts/ |
D | SlicePermissionsTest.java | 46 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts.local/"); field in SlicePermissionsTest 68 mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI); in tearDown() 75 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant() 77 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrant() 80 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrant() 86 Uri uri = BASE_URI.buildUpon() in testGrantParent() 93 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParent() 102 Uri uri = BASE_URI.buildUpon() in testGrantParentExpands() 115 mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid)); in testGrantParentExpands() 117 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParentExpands() [all …]
|
D | SliceBuilderTest.java | 46 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 …]
|
D | SliceManagerTest.java | 56 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 …]
|
D | SliceBindingTest.java | 57 private static final Uri BASE_URI = Uri.parse("content://android.slice.cts/"); field in SliceBindingTest 66 mSliceManager.bindSlice(BASE_URI.buildUpon().appendPath("set_flag").build(), in testProcess() 74 mContext.getContentResolver().getType(BASE_URI)); in testType() 80 Slice s = mSliceManager.bindSlice(BASE_URI, in testSliceUri() 82 assertEquals(BASE_URI, s.getUri()); in testSliceUri() 88 Uri uri = BASE_URI.buildUpon().appendPath("subslice").build(); in testSubSlice() 104 Uri uri = BASE_URI.buildUpon().appendPath("text").build(); in testText() 119 Uri uri = BASE_URI.buildUpon().appendPath("icon").build(); in testIcon() 147 Uri uri = BASE_URI.buildUpon().appendPath("action").build(); in testAction() 171 Uri uri = BASE_URI.buildUpon().appendPath("int").build(); in testInt() [all …]
|
D | SliceMetricsTest.java | 36 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/ |
D | PostMessageTest.java | 59 private static final String BASE_URI = "http://www.example.com"; field in PostMessageTest 126 mOnUiThread.loadDataWithBaseURLAndWaitForCompletion(BASE_URI, data, in loadPage() 147 verifyPostMessageToOrigin(Uri.parse(BASE_URI)); in testSimpleMessageToMainFrame() 191 Uri.parse(BASE_URI)); in testMultipleMessagesToMainFrame() 207 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testMessageChannel() 243 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testClose() 287 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testReceiveMessagePort() 310 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageHandler() 344 mOnUiThread.postWebMessage(message, Uri.parse(BASE_URI)); in testWebMessageDefaultHandler()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | EventProviderConstants.java | 41 private static final String BASE_URI = "content://" + AUTHORITY; field in EventProviderConstants 74 public static final String CONTENT_URI = BASE_URI + "/" + NAME;
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 37689 field public static final android.net.Uri BASE_URI;
|