Home
last modified time | relevance | path

Searched refs:LocalSliceProvider (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/slice/src/android/slice/cts/
DSliceManagerTest.java65 LocalSliceProvider.sProxy = mock(SliceProvider.class); in setup()
88 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI)); in testPinSlice()
96 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI)); in testUnpinSlice()
100 verify(LocalSliceProvider.sProxy, timeout(2000)).onSliceUnpinned(eq(BASE_URI)); in testUnpinSlice()
111 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(longerUri)); in testPinList()
130 when(LocalSliceProvider.sProxy.onMapIntentToUri(any())).then( in testMapIntentToUri()
137 verify(LocalSliceProvider.sProxy).onMapIntentToUri(eq(intent)); in testMapIntentToUri()
143 LocalSliceProvider.sAnswer = invocation -> { in testOnCreatePermissionSlice()
151 when(LocalSliceProvider.sProxy.onCreatePermissionRequest(any())).thenReturn(intent); in testOnCreatePermissionSlice()
156 verify(LocalSliceProvider.sProxy).onCreatePermissionRequest(eq(uri)); in testOnCreatePermissionSlice()
[all …]
DLocalSliceProvider.java36 public class LocalSliceProvider extends SliceProvider { class