Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp65 benchmark::BenchmarkReporter* reporter, RenderProxy* proxy, in outputBenchmarkReport() argument
99 durationInS = proxy->frameTimePercentile(ri.percentile) / 1000.0; in outputBenchmarkReport()
133 std::unique_ptr<RenderProxy> proxy(new RenderProxy(false, rootNode.get(), &factory)); in run() local
134 proxy->loadSystemProperties(); in run()
135 proxy->initialize(surface); in run()
137 proxy->setup(dp(800.0f), 255 * 0.075, 255 * 0.15); in run()
138 proxy->setLightCenter((Vector3){lightX, dp(-200.0f), dp(800.0f)}); in run()
149 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); in run()
150 proxy->syncAndDrawFrame(); in run()
153 proxy->resetProfileInfo(); in run()
[all …]
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp651 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_getRenderThreadTid() local
652 return proxy->getRenderThreadTid(); in android_view_ThreadedRenderer_getRenderThreadTid()
671 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_deleteProxy() local
672 delete proxy; in android_view_ThreadedRenderer_deleteProxy()
677 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_loadSystemProperties() local
678 return proxy->loadSystemProperties(); in android_view_ThreadedRenderer_loadSystemProperties()
683 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_setName() local
685 proxy->setName(name); in android_view_ThreadedRenderer_setName()
691 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_initialize() local
693 proxy->initialize(surface); in android_view_ThreadedRenderer_initialize()
[all …]
Dandroid_view_Surface.cpp554 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory); in create() local
555 proxy->loadSystemProperties(); in create()
557 proxy->setWideGamut(true); in create()
559 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
560 proxy->initialize(surface); in create()
563 proxy->setup(0, 0, 0); in create()
564 proxy->setLightCenter((Vector3){0, 0, 0}); in create()
565 return (jlong) proxy; in create()
569 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(rendererPtr); in setSurface() local
571 proxy->updateSurface(surface); in setSurface()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java39 private void proxy(Runnable runnable) { in proxy() method in SipSessionListenerProxy
49 proxy(new Runnable() { in onCalling()
65 proxy(new Runnable() { in onRinging()
80 proxy(new Runnable() { in onRingingBack()
96 proxy(new Runnable() { in onCallEstablished()
111 proxy(new Runnable() { in onCallEnded()
127 proxy(new Runnable() { in onCallTransferring()
142 proxy(new Runnable() { in onCallBusy()
158 proxy(new Runnable() { in onCallChangeFailed()
174 proxy(new Runnable() { in onError()
[all …]
/frameworks/base/core/java/android/net/
DPacProxySelector.java103 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse() local
104 if (proxy != null) { in parseResponse()
105 ret.add(proxy); in parseResponse()
108 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse() local
109 if (proxy != null) { in parseResponse()
110 ret.add(proxy); in parseResponse()
DProxy.java136 java.net.Proxy proxy = getProxy(ctx, null); in getHost() local
137 if (proxy == java.net.Proxy.NO_PROXY) return null; in getHost()
139 return ((InetSocketAddress)(proxy.address())).getHostName(); in getHost()
154 java.net.Proxy proxy = getProxy(ctx, null); in getPort() local
155 if (proxy == java.net.Proxy.NO_PROXY) return -1; in getPort()
157 return ((InetSocketAddress)(proxy.address())).getPort(); in getPort()
DNetwork.java323 final java.net.Proxy proxy; in openConnection() local
325 proxy = proxyInfo.makeProxy(); in openConnection()
327 proxy = java.net.Proxy.NO_PROXY; in openConnection()
329 return openConnection(url, proxy); in openConnection()
343 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { in openConnection() argument
344 if (proxy == null) throw new IllegalArgumentException("proxy is null"); in openConnection()
347 return mUrlConnectionFactory.openConnection(url, socketFactory, proxy); in openConnection()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h67 void incStrongHandle(int32_t handle, BpBinder *proxy);
69 void incWeakHandle(int32_t handle, BpBinder *proxy);
74 BpBinder* proxy);
76 BpBinder* proxy);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java59 public final String proxy; field in ApnSetting
155 String proxy, String port, in ApnSetting() argument
166 this.proxy = proxy; in ApnSetting()
201 String proxy, String port, in ApnSetting() argument
208 this(id, numeric, carrier, apn, proxy, port, mmsc, mmsProxy, mmsPort, user, password, in ApnSetting()
215 String proxy, String port, in ApnSetting() argument
226 this.proxy = proxy; in ApnSetting()
260 this(apn.id, apn.numeric, apn.carrier, apn.apn, apn.proxy, apn.port, apn.mmsc, apn.mmsProxy, in ApnSetting()
444 .append(", ").append(proxy) in toString()
675 && proxy.equals(other.proxy) in equals()
[all …]
DDcAsyncChannel.java289 public void reqSetLinkPropertiesHttpProxy(ProxyInfo proxy) { in reqSetLinkPropertiesHttpProxy() argument
290 sendMessage(REQ_SET_LINK_PROPERTIES_HTTP_PROXY, proxy); in reqSetLinkPropertiesHttpProxy()
291 if (DBG) log("reqSetLinkPropertiesHttpProxy proxy=" + proxy); in reqSetLinkPropertiesHttpProxy()
297 public void setLinkPropertiesHttpProxySync(ProxyInfo proxy) { in setLinkPropertiesHttpProxySync() argument
300 sendMessageSynchronously(REQ_SET_LINK_PROPERTIES_HTTP_PROXY, proxy); in setLinkPropertiesHttpProxySync()
307 mDc.setLinkPropertiesHttpProxy(proxy); in setLinkPropertiesHttpProxySync()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java176 public synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { in setCurrentProxyScriptUrl() argument
177 if (!Uri.EMPTY.equals(proxy.getPacFileUrl())) { in setCurrentProxyScriptUrl()
178 if (proxy.getPacFileUrl().equals(mPacUrl) && (proxy.getPort() > 0)) { in setCurrentProxyScriptUrl()
182 mPacUrl = proxy.getPacFileUrl(); in setCurrentProxyScriptUrl()
392 private void sendPacBroadcast(ProxyInfo proxy) { in sendPacBroadcast() argument
393 mConnectivityHandler.sendMessage(mConnectivityHandler.obtainMessage(mProxyMessage, proxy)); in sendPacBroadcast()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java316 public void onServiceConnected(int profile, BluetoothProfile proxy) {
320 mA2dp = (BluetoothA2dp) proxy;
323 mHeadset = (BluetoothHeadset) proxy;
326 mInput = (BluetoothHidHost) proxy;
329 mPan = (BluetoothPan) proxy;
918 BluetoothProfile proxy = connectProxy(adapter, profile); in connectProfile() local
919 assertNotNull(proxy); in connectProfile()
923 int state = proxy.getConnectionState(device); in connectProfile()
935 assertTrue(((BluetoothA2dp)proxy).connect(device)); in connectProfile()
937 assertTrue(((BluetoothHeadset)proxy).connect(device)); in connectProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DGeocoderProxy.java45 GeocoderProxy proxy = new GeocoderProxy(context, overlaySwitchResId, in createAndBind() local
47 if (proxy.bind()) { in createAndBind()
48 return proxy; in createAndBind()
DContextHubClientManager.java122 ContextHubClientBroker proxy = mHostEndPointIdToClientMap.get(message.hostEndPoint); in onMessageFromNanoApp() local
123 if (proxy != null) { in onMessageFromNanoApp()
124 proxy.sendMessageToClient(clientMessage); in onMessageFromNanoApp()
DGeofenceProxy.java69 GeofenceProxy proxy = new GeofenceProxy(context, overlaySwitchResId, in createAndBind() local
72 if (proxy.bindGeofenceProvider()) { in createAndBind()
73 return proxy; in createAndBind()
/frameworks/native/libs/binder/
DIPCThreadState.cpp654 void IPCThreadState::incStrongHandle(int32_t handle, BpBinder *proxy) in incStrongHandle() argument
660 proxy->incStrong(mProcess.get()); in incStrongHandle()
661 mPostWriteStrongDerefs.push(proxy); in incStrongHandle()
671 void IPCThreadState::incWeakHandle(int32_t handle, BpBinder *proxy) in incWeakHandle() argument
677 proxy->getWeakRefs()->incWeak(mProcess.get()); in incWeakHandle()
678 mPostWriteWeakDerefs.push(proxy->getWeakRefs()); in incWeakHandle()
720 status_t IPCThreadState::requestDeathNotification(int32_t handle, BpBinder* proxy) in requestDeathNotification() argument
724 mOut.writePointer((uintptr_t)proxy); in requestDeathNotification()
728 status_t IPCThreadState::clearDeathNotification(int32_t handle, BpBinder* proxy) in clearDeathNotification() argument
732 mOut.writePointer((uintptr_t)proxy); in clearDeathNotification()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkUpdateResult.java35 public NetworkUpdateResult(boolean ip, boolean proxy, boolean credential) { in NetworkUpdateResult() argument
38 proxyChanged = proxy; in NetworkUpdateResult()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h85 const sp<ICameraRecordingProxy> &proxy,
212 CameraSource(const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy,
297 status_t init(const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy,
302 const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy,
311 const sp<ICameraRecordingProxy>& proxy,
DCameraSourceTimeLapse.h40 const sp<ICameraRecordingProxy> &proxy,
117 const sp<ICameraRecordingProxy> &proxy,
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java2329 public void closeProfileProxy(int profile, BluetoothProfile proxy) { in closeProfileProxy() argument
2330 if (proxy == null) { in closeProfileProxy()
2336 BluetoothHeadset headset = (BluetoothHeadset) proxy; in closeProfileProxy()
2340 BluetoothA2dp a2dp = (BluetoothA2dp) proxy; in closeProfileProxy()
2344 BluetoothA2dpSink a2dpSink = (BluetoothA2dpSink) proxy; in closeProfileProxy()
2348 BluetoothAvrcpController avrcp = (BluetoothAvrcpController) proxy; in closeProfileProxy()
2352 BluetoothHidHost iDev = (BluetoothHidHost) proxy; in closeProfileProxy()
2356 BluetoothPan pan = (BluetoothPan) proxy; in closeProfileProxy()
2360 BluetoothHealth health = (BluetoothHealth) proxy; in closeProfileProxy()
2364 BluetoothGatt gatt = (BluetoothGatt) proxy; in closeProfileProxy()
[all …]
/frameworks/av/media/libstagefright/
DCameraSourceTimeLapse.cpp39 const sp<ICameraRecordingProxy> &proxy, in CreateFromCamera() argument
51 CameraSourceTimeLapse(camera, proxy, cameraId, in CreateFromCamera()
68 const sp<ICameraRecordingProxy>& proxy, in CameraSourceTimeLapse() argument
78 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, in CameraSourceTimeLapse()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java123 for (Proxy proxy : list) { in run()
125 if (!proxy.equals(Proxy.NO_PROXY)) { in run()
128 (InetSocketAddress)proxy.address(); in run()
146 Log.v(TAG, "Unable to connect to proxy " + proxy, ioe); in run()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPbapServerProfile.java58 public void onServiceConnected(BluetoothPbap proxy) { in onServiceConnected() argument
60 mService = (BluetoothPbap) proxy; in onServiceConnected()
/frameworks/av/services/audioflinger/
DRecordTracks.h127 void setPeerProxy(PatchProxyBufferProvider *proxy) { mPeerProxy = proxy; } in setPeerProxy() argument
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp51 sp<BufferQueue::ProxyConsumerListener> proxy = in init() local
54 err = mConsumer->consumerConnect(proxy, false); in init()

1234