HomeSort by relevance Sort by last modified time
    Searched refs:sProxy (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/slice/src/android/slice/cts/
LocalSliceProvider.java 37 public static SliceProvider sProxy;
44 return sProxy == null || sProxy.onCreate();
69 if (sProxy != null) return sProxy.onBindSlice(sliceUri, specs);
75 if (sProxy != null) return sProxy.onMapIntentToUri(intent);
81 if (sProxy != null) return sProxy.onGetSliceDescendants(uri);
87 if (sProxy != null) sProxy.onSlicePinned(sliceUri)
    [all...]
SliceManagerTest.java 60 LocalSliceProvider.sProxy = mock(SliceProvider.class);
79 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI));
86 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(BASE_URI));
90 verify(LocalSliceProvider.sProxy, timeout(2000)).onSliceUnpinned(eq(BASE_URI));
100 verify(LocalSliceProvider.sProxy, timeout(2000)).onSlicePinned(eq(longerUri));
118 when(LocalSliceProvider.sProxy.onMapIntentToUri(any())).then(
125 verify(LocalSliceProvider.sProxy).onMapIntentToUri(eq(intent));
137 when(LocalSliceProvider.sProxy.onCreatePermissionRequest(any())).thenReturn(intent);
142 verify(LocalSliceProvider.sProxy).onCreatePermissionRequest(eq(uri));
  /external/skia/tests/
ProxyConversionTest.cpp 72 sk_sp<GrSurfaceProxy> sProxy(
74 if (sProxy) {
76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy();
80 clean_up_wrapped_rt(gpu, std::move(sProxy));
86 sk_sp<GrSurfaceProxy> sProxy(
88 if (sProxy) {
90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy();
101 sk_sp<GrSurfaceProxy> sProxy(
103 if (sProxy) {
105 GrTextureProxy* tProxy = sProxy->asTextureProxy()
    [all...]
ProxyTest.cpp 230 sk_sp<GrSurfaceProxy> sProxy(
233 check_surface(reporter, sProxy.get(), origin, kWidthHeight, kWidthHeight,
236 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(),
261 sk_sp<GrSurfaceProxy> sProxy(
264 check_surface(reporter, sProxy.get(), origin,
268 sProxy->asRenderTargetProxy(),
278 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget(
280 if (!sProxy) {
285 check_surface(reporter, sProxy.get(), origin,
289 sProxy->asRenderTargetProxy()
    [all...]
  /external/skqp/tests/
ProxyConversionTest.cpp 72 sk_sp<GrSurfaceProxy> sProxy(
74 if (sProxy) {
76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy();
80 clean_up_wrapped_rt(gpu, std::move(sProxy));
86 sk_sp<GrSurfaceProxy> sProxy(
88 if (sProxy) {
90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy();
101 sk_sp<GrSurfaceProxy> sProxy(
103 if (sProxy) {
105 GrTextureProxy* tProxy = sProxy->asTextureProxy()
    [all...]
ProxyTest.cpp 230 sk_sp<GrSurfaceProxy> sProxy(
232 check_surface(reporter, sProxy.get(), origin, kWidthHeight, kWidthHeight,
235 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(),
260 sk_sp<GrSurfaceProxy> sProxy(
262 check_surface(reporter, sProxy.get(), origin,
266 sProxy->asRenderTargetProxy(),
276 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget(
278 if (!sProxy) {
283 check_surface(reporter, sProxy.get(), origin,
287 sProxy->asRenderTargetProxy()
    [all...]
  /external/skia/src/gpu/text/
GrAtlasManager.cpp 100 static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, const char* filename) {
101 if (!sProxy) {
105 SkImageInfo ii = SkImageInfo::Make(sProxy->width(), sProxy->height(),
112 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext(sk_ref_sp(sProxy)));
  /external/skqp/src/gpu/text/
GrAtlasManager.cpp 100 static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, const char* filename) {
101 if (!sProxy) {
105 SkImageInfo ii = SkImageInfo::Make(sProxy->width(), sProxy->height(),
113 sk_ref_sp(sProxy)));
  /external/skia/src/gpu/
GrDrawingManager.cpp 770 sk_sp<GrSurfaceProxy> sProxy,
774 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) {
780 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->config(), colorSpace.get())) {
785 sk_sp<GrRenderTargetProxy> renderTargetProxy(sk_ref_sp(sProxy->asRenderTargetProxy()));
794 sk_sp<GrTextureContext> GrDrawingManager::makeTextureContext(sk_sp<GrSurfaceProxy> sProxy,
796 if (this->wasAbandoned() || !sProxy->asTextureProxy()) {
802 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->config(), colorSpace.get())) {
808 SkASSERT(!sProxy->asRenderTargetProxy());
810 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy()));
  /external/skqp/src/gpu/
GrDrawingManager.cpp 702 sk_sp<GrSurfaceProxy> sProxy,
706 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) {
712 if (!SkSurface_Gpu::Valid(fContext->contextPriv().caps(), sProxy->config(), colorSpace.get())) {
717 sk_sp<GrRenderTargetProxy> rtp(sk_ref_sp(sProxy->asRenderTargetProxy()));
727 sk_sp<GrTextureContext> GrDrawingManager::makeTextureContext(sk_sp<GrSurfaceProxy> sProxy,
729 if (this->wasAbandoned() || !sProxy->asTextureProxy()) {
735 if (!SkSurface_Gpu::Valid(fContext->contextPriv().caps(), sProxy->config(), colorSpace.get())) {
741 SkASSERT(!sProxy->asRenderTargetProxy());
743 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy()));

Completed in 1567 milliseconds