Searched refs:LocalSliceProvider (Results 1 – 2 of 2) sorted by relevance
65 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 …]
36 public class LocalSliceProvider extends SliceProvider { class