/external/libbrillo/brillo/glib/ |
dbus.cc | 17 bool CallPtrArray(const Proxy& proxy, 26 if (!::dbus_g_proxy_call(proxy.gproxy(), method, &Resetter(&error).lvalue(), 109 bool RetrieveProperties(const Proxy& proxy, 114 if (!::dbus_g_proxy_call(proxy.gproxy(), "GetAll", &Resetter(&error).lvalue(), 126 Proxy::Proxy() 132 Proxy::Proxy(const BusConnection& connection 221 Proxy proxy = brillo::dbus::Proxy(connection, local [all...] |
dbus.h | 67 friend class Proxy; 81 // \brief Proxy manages the ref-count for a ::DBusGProxy*. 83 // Proxy has reference semantics and represents a connection to on object on 84 // the bus. A proxy object is constructed with a connection to a bus, a name 88 class BRILLO_EXPORT Proxy { 92 Proxy(); 96 Proxy(const BusConnection& connection, 102 // Equivalent to Proxy(connection, name, path, interface, false). 103 Proxy(const BusConnection& connection, 108 // Creates a peer proxy using dbus_g_proxy_new_for_peer 191 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection 213 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection 235 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection 262 const Proxy& proxy() const { return proxy_; } function in class:brillo::dbus::MonitorConnection [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
binding_set.h | 33 static RequestType MakeRequest(ProxyType* proxy) { 34 return mojo::MakeRequest(proxy); 126 // Returns a proxy bound to one end of a pipe whose other end is bound to 131 ProxyType proxy; local 132 BindingId id = AddBinding(std::move(impl), Traits::MakeRequest(&proxy)); 135 return proxy;
|
thread_safe_interface_ptr.h | 26 // proxy object which will be used to ultimately send messages. 53 ProxyType& proxy() { return proxy_; } function in class:mojo::ThreadSafeForwarder 144 // via this thread-safe proxy will internally be sent by first posting to this 155 // sent via this thread-safe proxy will internally be sent by first posting to 165 InterfaceType* get() { return &forwarder_->proxy(); }
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
pickle_unittest.cc | 74 void ExpectError(InterfacePtr<T>* proxy, const base::Closure& callback) { 75 proxy->set_connection_error_handler(callback); 162 InterfacePtr<ProxyType> proxy; local 163 InterfaceRequest<ProxyType> request = GetProxy(&proxy); 167 return proxy; 172 InterfacePtr<ProxyType> proxy; local 173 InterfaceRequest<ProxyType> request = GetProxy(&proxy); 177 return proxy; 303 auto proxy = ConnectToChromiumService(); local 317 proxy->PassPickles 335 auto proxy = ConnectToChromiumService(); local 382 auto proxy = ConnectToChromiumService(); local [all...] |
struct_traits_unittest.cc | 54 void ExpectError(InterfacePtr<T> *proxy, const base::Closure& callback) { 55 proxy->set_connection_error_handler(callback); 260 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 262 proxy->EchoStructWithTraits( 291 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 294 proxy->EchoPassByValueStructWithTraits( 329 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 331 proxy->EchoEnumWithTraits( 377 TraitsTestServicePtr proxy = GetTraitsTestProxy(); local 379 proxy->EchoStructWithTraitsForUniquePtrTest [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Address.java | 19 import java.net.Proxy; 30 * this is the server's hostname and port. If an explicit proxy is requested (or 31 * {@linkplain Proxy#NO_PROXY no proxy} is explicitly requested), this also includes 32 * that proxy information. For secure connections the address also includes the 46 final Proxy proxy; field in class:Address 53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, 79 this.proxy = proxy [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
SocksProxyTest.java | 21 import java.net.Proxy; 47 @Test public void proxy() throws Exception { method in class:SocksProxyTest 52 .setProxy(socksProxy.proxy()); 70 @Override public List<Proxy> select(URI uri) { 71 return Collections.singletonList(socksProxy.proxy()); 90 // This testcase will fail if the target is resolved locally instead of through the proxy. 94 .setProxy(socksProxy.proxy());
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowDisplayManagerGlobal.java | 35 IDisplayManager proxy = ReflectionHelpers.createDelegatingProxy(IDisplayManager.class, myIDisplayManager); local 37 ClassParameter.from(IDisplayManager.class, proxy));
|
/external/skia/gm/ |
flippity.cpp | 135 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, local 137 if (!proxy) { 142 std::move(proxy), nullptr, SkBudgeted::kYes);
|
texturedomaineffect.cpp | 98 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, variable 101 if (!proxy) { 109 textureMatrices.back().setRotate(45.f, proxy->width() / 2.f, proxy->height() / 2.f); 129 proxy, textureMatrices[tm],
|
yuvtorgbeffect.cpp | 87 sk_sp<GrTextureProxy> proxy[3]; variable 99 proxy[i] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, 102 if (!proxy[i]) { 126 GrYUVtoRGBEffect::Make(proxy[indices[i][0]], 127 proxy[indices[i][1]], 128 proxy[indices[i][2]], 217 sk_sp<GrTextureProxy> proxy[3]; variable 231 proxy[i] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, 234 if (!proxy[i]) { 255 auto fp = GrYUVtoRGBEffect::Make(proxy[0], proxy[1], proxy[2], sizes [all...] |
/external/skia/src/gpu/ |
GrAHardwareBufferImageGenerator.cpp | 103 auto proxy = this->makeProxy(context); local 104 if (!proxy) { 112 if (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped()) { 114 return proxy; 122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped,
|
GrDrawOpAtlas.cpp | 21 // When proxy allocation is deferred until flush time the proxies acting as atlases require 137 GrTextureProxy* proxy) { 139 SkASSERT(fDirty && fData && proxy && proxy->priv().peekTexture()); 154 writePixels(proxy, fOffset.fX + fDirtyRect.fLeft, fOffset.fY + fDirtyRect.fTop, 220 GrTextureProxy* proxy = fProxies[pageIdx].get(); local 221 SkASSERT(proxy->priv().isInstantiated()); // This is occurring at flush time 224 [plotsp, proxy](GrDeferredTextureUploadWritePixelsFn& writePixels) { 225 plotsp->uploadToTexture(writePixels, proxy); 340 GrTextureProxy* proxy = fProxies[pageIdx].get() local [all...] |
/external/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 110 GrSurfaceProxy* proxy = processor.textureSampler(0).proxy(); local 111 GrTexture* texture = proxy->priv().peekTexture(); 117 fDomain.setData(pdman, bicubicEffect.domain(), proxy); 120 GrBicubicEffect::GrBicubicEffect(sk_sp<GrTextureProxy> proxy, 123 : INHERITED{kGrBicubicEffect_ClassID, ModulateByConfigOptimizationFlags(proxy->config())} 124 , fCoordTransform(matrix, proxy.get()) 126 , fTextureSampler(std::move(proxy), 132 GrBicubicEffect::GrBicubicEffect(sk_sp<GrTextureProxy> proxy, 135 : INHERITED(kGrBicubicEffect_ClassID, ModulateByConfigOptimizationFlags(proxy->config()) [all...] |
GrMagnifierEffect.cpp | 86 GrSurfaceProxy& srcProxy = *_outer.textureSampler(0).proxy(); 174 sk_sp<GrTextureProxy> proxy = d->textureProxy(0); local 185 auto effect = GrMagnifierEffect::Make(std::move(proxy),
|
GrTextureStripAtlas.cpp | 102 // For the opList-based solution every texture strip will get its own texture proxy. 221 sk_sp<GrTextureProxy> proxy = proxyProvider->findOrCreateProxyByUniqueKey( local 223 if (!proxy) { 230 proxy = proxyProvider->createProxy(texDesc, SkBackingFit::kExact, SkBudgeted::kYes, 232 if (!proxy) { 236 SkASSERT(proxy->origin() == kTopLeft_GrSurfaceOrigin); 237 proxyProvider->assignUniqueKeyToProxy(key, proxy.get()); 242 SkASSERT(proxy); 243 fTexContext = fDesc.fContext->contextPriv().makeWrappedSurfaceContext(std::move(proxy));
|
/external/skia/tests/ |
GrPipelineDynamicStateTest.cpp | 128 GrRenderTargetProxy* proxy = state->drawOpArgs().fProxy; variable 129 GrPipeline pipeline(proxy, fScissorState, SkBlendMode::kSrc);
|
LazyProxyTest.cpp | 27 // This test verifies that lazy proxy callbacks get invoked during flush, after onFlush callbacks, 28 // but before Ops are executed. It also ensures that lazy proxy callbacks are invoked both for 223 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy( local 233 proxy->priv().testingOnly_setLazyInstantiationType(lazyType); 238 proxy->priv().doLazyInstantiation(ctx->contextPriv().resourceProvider()); 239 if (LazyInstantiationType::kSingleUse == proxy->priv().lazyInstantiationType()) { 246 proxy.reset(); 249 proxy.reset(); 308 // Test that when a lazy proxy fails to instantiate during flush that we drop the Op that it was
|
SRGBMipMapTest.cpp | 135 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy( local 151 paint.addColorTextureProcessor(std::move(proxy), SkMatrix::MakeScale(rtS), mipMapSamplerState);
|
TextureProxyTest.cpp | 49 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); local 51 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); 52 return proxy; 59 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); local 61 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); 62 return proxy; 69 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit, local 72 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); 73 return proxy; 90 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit local 254 sk_sp<GrTextureProxy> proxy = deferred_tex(reporter, proxyProvider, SkBackingFit::kExact); local 295 sk_sp<GrTextureProxy> proxy = create_wrapped_backend(context, fit, &backingTex); local [all...] |
/external/skqp/gm/ |
flippity.cpp | 135 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, local 137 if (!proxy) { 142 std::move(proxy), nullptr, SkBudgeted::kYes);
|
texturedomaineffect.cpp | 97 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, variable 100 if (!proxy) { 108 textureMatrices.back().setRotate(45.f, proxy->width() / 2.f, proxy->height() / 2.f); 128 proxy, textureMatrices[tm],
|
yuvtorgbeffect.cpp | 87 sk_sp<GrTextureProxy> proxy[3]; variable 98 proxy[i] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, 101 if (!proxy[i]) { 125 GrYUVtoRGBEffect::Make(proxy[indices[i][0]], 126 proxy[indices[i][1]], 127 proxy[indices[i][2]], 216 sk_sp<GrTextureProxy> proxy[3]; variable 229 proxy[i] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, 232 if (!proxy[i]) { 253 auto fp = GrYUVtoRGBEffect::Make(proxy[0], proxy[1], proxy[2], sizes [all...] |
/external/skqp/src/gpu/ |
GrAHardwareBufferImageGenerator.cpp | 103 auto proxy = this->makeProxy(context); local 104 if (!proxy) { 112 if (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped()) { 114 return proxy; 122 sk_sp<GrTextureProxy> texProxy = GrSurfaceProxy::Copy(context, proxy.get(), mipMapped,
|