Home
last modified time | relevance | path

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

/cts/tests/tests/slice/src/android/slice/cts/
DSlicePermissionsTest.java46 private SliceManager mSliceManager; field in SlicePermissionsTest
52 mSliceManager = mContext.getSystemService(SliceManager.class); in setup()
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()
86 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
88 mSliceManager.grantSlicePermission(mTestPkg, BASE_URI); in testGrantParent()
91 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParent()
102 mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid)); in testGrantParentExpands()
[all …]
DSliceManagerTest.java58 private final SliceManager mSliceManager = mContext.getSystemService(SliceManager.class); 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()
94 mSliceManager.pinSlice(BASE_URI, Collections.emptySet()); in testUnpinSlice()
98 mSliceManager.unpinSlice(BASE_URI); in testUnpinSlice()
109 mSliceManager.pinSlice(uri, Collections.emptySet()); in testPinList()
110 mSliceManager.pinSlice(longerUri, Collections.emptySet()); in testPinList()
113 List<Uri> uris = mSliceManager.getPinnedSlices(); in testPinList()
118 mSliceManager.unpinSlice(uri); in testPinList()
[all …]
DSliceBindingTest.java58 private final SliceManager mSliceManager = mContext.getSystemService(SliceManager.class); field in SliceBindingTest
65 mSliceManager.bindSlice(BASE_URI.buildUpon().appendPath("set_flag").build(), in testProcess()
79 Slice s = mSliceManager.bindSlice(BASE_URI, in testSliceUri()
88 Slice s = mSliceManager.bindSlice(uri, Collections.emptySet()); in testSubSlice()
104 Slice s = mSliceManager.bindSlice(uri, in testText()
119 Slice s = mSliceManager.bindSlice(uri, in testIcon()
145 Slice s = mSliceManager.bindSlice(uri, Collections.emptySet()); in testAction()
169 Slice s = mSliceManager.bindSlice(uri, Collections.emptySet()); in testInt()
182 Slice s = mSliceManager.bindSlice(uri, in testTimestamp()
198 Slice s = mSliceManager.bindSlice(uri, Collections.emptySet()); in testHints()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DWifiSliceTest.java63 private final SliceManager mSliceManager = mContext.getSystemService(SliceManager.class); field in WifiSliceTest
73 mWifiSlice = mSliceManager.bindSlice(WIFI_SLICE_URI, Collections.emptySet()); in setUp()
113 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultAssistant()
134 assertThat(mSliceManager.checkSlicePermission(WIFI_SLICE_URI, testPid, testUid)) in wifiSlice_grantedPermissionToDefaultVoiceAssistant()