Home
last modified time | relevance | path

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

/cts/tests/tests/slice/src/android/slice/cts/
DLocalSliceProvider.java37 public static SliceProvider sProxy; field in LocalSliceProvider
44 return sProxy == null || sProxy.onCreate(); in onCreate()
69 if (sProxy != null) return sProxy.onBindSlice(sliceUri, specs); in onBindSlice()
75 if (sProxy != null) return sProxy.onMapIntentToUri(intent); in onMapIntentToUri()
81 if (sProxy != null) return sProxy.onGetSliceDescendants(uri); in onGetSliceDescendants()
87 if (sProxy != null) sProxy.onSlicePinned(sliceUri); in onSlicePinned()
93 if (sProxy != null) sProxy.onSliceUnpinned(sliceUri); in onSliceUnpinned()
99 if (sProxy != null) return sProxy.onCreatePermissionRequest(sliceUri); in onCreatePermissionRequest()
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()
151 when(LocalSliceProvider.sProxy.onCreatePermissionRequest(any())).thenReturn(intent); in testOnCreatePermissionSlice()
156 verify(LocalSliceProvider.sProxy).onCreatePermissionRequest(eq(uri)); in testOnCreatePermissionSlice()