/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 122 void setPeerProxy(PatchProxyBufferProvider *proxy) { mPeerProxy = proxy; } argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | NetworkUpdateResult.java | 33 public NetworkUpdateResult(boolean ip, boolean proxy) { argument 36 proxyChanged = proxy; 55 public void setProxyChanged(boolean proxy) { argument 56 proxyChanged = proxy;
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | Decorator.java | 7 * This is an implementation of the 'decorator' design pattern using Java's proxy mechanism. 74 public Object invoke(Object proxy, Method m, Object[] args) argument
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpsConnection.java | 50 * a http proxy server to a https server. 135 // Used when connecting through a proxy. 141 HttpsConnection(Context context, HttpHost host, HttpHost proxy, argument 144 mProxyHost = proxy; 157 * Opens the connection to a http server or proxy. 167 // If we have a proxy set, we first send a CONNECT request 168 // to the proxy; if the proxy returns 200 OK, we negotiate 169 // a secure connection to the target server via the proxy. 195 "failed to establish a connection to the proxy"; [all...] |
H A D | Connection.java | 69 * The host this connection is connected to. If using proxy, 70 * this is set to the proxy address 123 Context context, HttpHost host, HttpHost proxy, 131 return new HttpsConnection(context, host, proxy, requestFeeder); 122 getConnection( Context context, HttpHost host, HttpHost proxy, RequestFeeder requestFeeder) argument
|
/frameworks/base/libs/hwui/tests/ |
H A D | main.cpp | 86 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory); local 87 proxy->loadSystemProperties(); 88 proxy->initialize(surface); 90 proxy->setup(width, height, (Vector3){lightX, dp(-200.0f), dp(800.0f)}, 120 proxy->syncAndDrawFrame(frameTimeNs, 0, gDisplay.density); 126 delete proxy;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothPbap.java | 33 * BluetoothPbap is a proxy object for controlling the Bluetooth Pbap 38 * are finished with the BluetoothPbap, so that this proxy object can unbind 95 * Called to notify the client when this proxy object has been 100 public void onServiceConnected(BluetoothPbap proxy); argument 103 * Called to notify the client that this proxy object has been 142 * Create a BluetoothPbap proxy object. 210 * @return One of the STATE_ return codes, or STATE_ERROR if this proxy 229 * connecting state, or if this proxy object is not connected to 247 * include connecting). Returns false if not connected, or if this proxy 265 * it may soon be made asynchronous. Returns false if this proxy objec [all...] |
H A D | BluetoothProfile.java | 196 * Called to notify the client when the proxy object has been 200 * @param proxy - One of {@link BluetoothHealth}, {@link BluetoothHeadset} or 203 public void onServiceConnected(int profile, BluetoothProfile proxy); argument 206 * Called to notify the client that this proxy object has been
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionListenerProxy.java | 39 private void proxy(Runnable runnable) { method in class:SipSessionListenerProxy 49 proxy(new Runnable() { 65 proxy(new Runnable() { 80 proxy(new Runnable() { 96 proxy(new Runnable() { 111 proxy(new Runnable() { 127 proxy(new Runnable() { 142 proxy(new Runnable() { 158 proxy(new Runnable() { 174 proxy(ne [all...] |
/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 34 status_t MediaRecorder::setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) argument 36 ALOGV("setCamera(%p,%p)", camera.get(), proxy.get()); 46 status_t ret = mMediaRecorder->setCamera(camera, proxy);
|
H A D | IMediaRecorder.cpp | 68 status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) argument 70 ALOGV("setCamera(%p,%p)", camera.get(), proxy.get()); 74 data.writeStrongBinder(proxy->asBinder()); 456 sp<ICameraRecordingProxy> proxy = local 458 reply->writeInt32(setCamera(camera, proxy));
|
H A D | AudioRecord.cpp | 572 // update proxy 637 sp<AudioRecordClientProxy> proxy; local 661 proxy = mProxy; 674 status = proxy->obtainBuffer(&buffer, requested, elapsed);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 73 const sp<ICameraRecordingProxy>& proxy) 81 return mRecorder->setCamera(camera, proxy); 72 setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) argument
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 39 const sp<ICameraRecordingProxy> &proxy, 50 CameraSourceTimeLapse(camera, proxy, cameraId, 67 const sp<ICameraRecordingProxy>& proxy, 76 : CameraSource(camera, proxy, cameraId, clientName, clientUid, 37 CreateFromCamera( const sp<ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument 65 CameraSourceTimeLapse( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
|
H A D | SurfaceMediaSource.cpp | 71 sp<BufferQueue::ProxyConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); local 73 status_t err = mConsumer->consumerConnect(proxy, false);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.cpp | 94 sp<BufferQueue::ProxyConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); local 96 mInitCheck = mConsumer->consumerConnect(proxy, false);
|
/frameworks/base/core/java/android/net/ |
H A D | Network.java | 249 // TODO: Should this be optimized to avoid fetching the global proxy for every request? 256 java.net.Proxy proxy = null; 258 proxy = proxyInfo.makeProxy(); 260 proxy = java.net.Proxy.NO_PROXY; 262 return openConnection(url, proxy); 269 * @param proxy the proxy through which the connection will be established. 272 * @throws IllegalArgumentException if the argument proxy is null. 277 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { argument 278 if (proxy [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AbstractProxyTest.java | 90 * We had bugs where proxy system properties weren't being honored. 115 .setBody("this response comes via a proxy"); 125 assertEquals("this response comes via a proxy", contentToString(response)); 157 .setBody("this response comes via a secure proxy")); 170 assertEquals("this response comes via a secure proxy", contentToString(response)); 173 assertEquals("Connect line failure on proxy " + proxyConfig, 191 server.enqueue(new MockResponse().setBody("Via request parameter proxy!")); 193 System.setProperty("http.proxyHost", "proxy.foo"); 200 assertEquals("Via request parameter proxy!", contentToString(response)); 209 System.setProperty("http.proxyHost", "proxy 271 configure(MockWebServer proxy, HttpClient client, HttpRequest request) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PacManager.java | 63 private static final String ACTION_PAC_REFRESH = "android.net.proxy.PAC_REFRESH"; 157 * @param proxy Proxy information that is about to be broadcast. 160 public synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { argument 161 if (!Uri.EMPTY.equals(proxy.getPacFileUrl())) { 162 if (proxy.getPacFileUrl().equals(mPacUrl) && (proxy.getPort() > 0)) { 167 mPacUrl = proxy.getPacFileUrl(); 249 Log.e(TAG, "setCurrentProxyScript: no proxy service"); 293 Log.e(TAG, "No proxy service"); 329 Log.d(TAG, "Local proxy i 360 sendPacBroadcast(ProxyInfo proxy) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | ConsumerBase.cpp | 67 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); local 69 status_t err = mConsumer->consumerConnect(proxy, controlledByApp);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 38 public final String proxy; field in class:ApnSetting 89 String proxy, String port, 99 this.proxy = proxy; 135 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 140 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 145 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>, 273 .append(", ").append(proxy) 88 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
|
H A D | DcAsyncChannel.java | 287 public void reqSetLinkPropertiesHttpProxy(ProxyInfo proxy) { argument 288 sendMessage(REQ_SET_LINK_PROPERTIES_HTTP_PROXY, proxy); 289 if (DBG) log("reqSetLinkPropertiesHttpProxy proxy=" + proxy); 295 public void setLinkPropertiesHttpProxySync(ProxyInfo proxy) { argument 298 sendMessageSynchronously(REQ_SET_LINK_PROPERTIES_HTTP_PROXY, proxy); 305 mDc.setLinkPropertiesHttpProxy(proxy);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 391 RenderProxy* proxy = new RenderProxy(false, rootNode, &factory); local 392 proxy->loadSystemProperties(); 393 proxy->setSwapBehavior(kSwap_discardBuffer); 394 proxy->initialize(surface); 397 proxy->setup(0, 0, (Vector3){0, 0, 0}, 0, 0, 0); 398 return (jlong) proxy; 402 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(rendererPtr); local 404 proxy->updateSurface(surface); 408 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(rendererPtr); local 410 proxy 414 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(rendererPtr); local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 531 public SoundPoolImpl(SoundPool proxy, int maxStreams, AudioAttributes attr) { argument 538 mProxy = proxy;
|
/frameworks/base/tools/aidl/ |
H A D | generate_java_binder.cpp | 102 m->comment += " * generating a proxy if needed.\n */"; 384 // == the proxy method =================================================== 385 Method* proxy = new Method; local 386 proxy->comment = gather_comments(method->comments_token->extra); 387 proxy->modifiers = PUBLIC | OVERRIDE; 388 proxy->returnType = NAMES.Search(method->type.type.data); 389 proxy->returnTypeDimension = method->type.dimension; 390 proxy->name = method->name.data; 391 proxy->statements = new StatementBlock; 394 proxy 496 generate_interface_descriptors(StubClass* stub, ProxyClass* proxy) argument 537 ProxyClass* proxy = new ProxyClass( local [all...] |