Searched refs:Proxy (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/net/
H A DPacProxySelector.java28 import java.net.Proxy;
29 import java.net.Proxy.Type;
45 private final List<Proxy> mDefaultList;
54 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY);
58 public List<Proxy> select(URI uri) {
65 return Lists.newArrayList(java.net.Proxy.NO_PROXY);
86 private static List<Proxy> parseResponse(String response) {
88 List<Proxy> ret = Lists.newArrayList();
92 ret.add(java.net.Proxy.NO_PROXY);
94 Proxy prox
[all...]
H A DProxy.java36 public final class Proxy { class
38 private static final String TAG = "Proxy";
103 * @return Proxy (java.net) object containing the host name. If the
108 public static final java.net.Proxy getProxy(Context ctx, String url) {
114 List<java.net.Proxy> proxyList = proxySelector.select(uri);
120 return java.net.Proxy.NO_PROXY;
134 java.net.Proxy proxy = getProxy(ctx, null);
135 if (proxy == java.net.Proxy.NO_PROXY) return null;
151 java.net.Proxy proxy = getProxy(ctx, null);
152 if (proxy == java.net.Proxy
[all...]
H A DProxyInfo.java32 * Proxy configurations are already integrated within the {@code java.net} and
37 * {@link Proxy#PROXY_CHANGE_ACTION} broadcast as the extra {@link Proxy#EXTRA_PROXY_INFO}.
91 * Create a ProxyProperties that points at a HTTP Proxy.
127 * Only used in PacManager after Local Proxy is bound.
184 * When configured to use a Direct Proxy this returns the host
192 * When configured to use a Direct Proxy this returns the port
200 * When configured to use a Direct Proxy this returns the list
230 return Proxy.PROXY_VALID == Proxy
[all...]
H A DNetwork.java253 java.net.Proxy proxy = null;
257 proxy = java.net.Proxy.NO_PROXY;
273 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException {
H A DConnectivityManager.java2645 Proxy.setHttpProxySystemProperty(getInstance().getDefaultProxy());
/frameworks/base/core/java/android/os/storage/
H A DIMountShutdownObserver.java52 return new IMountShutdownObserver.Stub.Proxy(obj);
79 private static class Proxy implements IMountShutdownObserver { class in class:IMountShutdownObserver.Stub
82 Proxy(IBinder remote) { method in class:IMountShutdownObserver.Stub.Proxy
H A DIObbActionListener.java53 return new IObbActionListener.Stub.Proxy(obj);
84 private static class Proxy implements IObbActionListener { class in class:IObbActionListener.Stub
87 Proxy(IBinder remote) { method in class:IObbActionListener.Stub.Proxy
H A DIMountServiceListener.java53 return new IMountServiceListener.Stub.Proxy(obj);
127 private static class Proxy implements IMountServiceListener { class in class:IMountServiceListener.Stub
130 Proxy(IBinder remote) { method in class:IMountServiceListener.Stub.Proxy
H A DIMountService.java37 private static class Proxy implements IMountService { class in class:IMountService.Stub
40 Proxy(IBinder remote) { method in class:IMountService.Stub.Proxy
1310 return new IMountService.Stub.Proxy(obj);
/frameworks/av/include/private/media/
H A DAudioTrackShared.h129 friend class Proxy;
190 // Proxy for shared memory control block, to isolate callers from needing to know the details.
193 class Proxy : public RefBase { class in namespace:android
195 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
197 virtual ~Proxy() { }
223 // Proxy seen by AudioTrack client and AudioRecord client
224 class ClientProxy : public Proxy {
315 // Proxy used by AudioTrack client, which also includes AudioFlinger::PlaybackThread::OutputTrack
411 // Proxy used by AudioRecord client
423 // Proxy use
[all...]
/frameworks/av/services/audioflinger/
H A DRecordTracks.h107 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
109 virtual void releaseBuffer(Proxy::Buffer *buffer);
H A DTrackBase.h180 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
182 virtual void releaseBuffer(Proxy::Buffer* buffer) = 0;
H A DPlaybackTracks.h311 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
313 virtual void releaseBuffer(Proxy::Buffer* buffer);
H A DTracks.cpp611 // from a different thread than the one calling Proxy->obtainBuffer() and
612 // Proxy->releaseBuffer(). Also note there is no mutual exclusion in the
1745 Proxy::Buffer buf;
1856 Proxy::Buffer buf;
1871 Proxy::Buffer buf;
1878 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer,
1884 void AudioFlinger::PlaybackThread::PatchTrack::releaseBuffer(Proxy::Buffer* buffer)
2147 Proxy::Buffer buf;
2163 Proxy::Buffer buf;
2170 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DDecorator.java62 return (T)java.lang.reflect.Proxy.newProxyInstance(
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java29 import java.net.Proxy;
116 List<Proxy> list = Lists.newArrayList();
123 for (Proxy proxy : list) {
125 if (!proxy.equals(Proxy.NO_PROXY)) {
364 Log.w(TAG, "Proxy failed to report port to PacManager", e);
375 Log.w(TAG, "Proxy failed to report port to PacManager", e);
/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java29 import java.net.Proxy;
184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java30 import android.net.Proxy;
92 // Proxy system properties must be initialized before setContentView is called because
141 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp57 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, function in class:android::Proxy
69 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), mEpoch(0)
595 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer),
H A DAudioRecord.cpp712 Proxy::Buffer buffer;
780 Proxy::Buffer buffer;
H A DAudioTrack.cpp773 // FIXME use Proxy return channel to update the rate from server and avoid polling here
1480 Proxy::Buffer buffer;
1557 Proxy::Buffer buffer;
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java55 import java.net.Proxy;
1905 * @param proxySpec the global proxy desired. Must be an HTTP Proxy.
1906 * Pass Proxy.NO_PROXY to reset the proxy.
1912 public ComponentName setGlobalProxy(@NonNull ComponentName admin, Proxy proxySpec,
1921 if (proxySpec.equals(Proxy.NO_PROXY)) {
1925 if (!proxySpec.type().equals(Proxy.Type.HTTP)) {
1949 if (android.net.Proxy.validate(hostName, Integer.toString(port), exclSpec)
1950 != android.net.Proxy.PROXY_VALID)
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java152 * Updates the PAC Manager with current Proxy information. This is called by
157 * @param proxy Proxy information that is about to be broadcast.
201 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY);
332 Log.e(TAG, "Received invalid port from Local Proxy,"
/frameworks/base/
H A DAndroid.mk409 packages/services/Proxy/com/android/net/IProxyCallback.aidl \
410 packages/services/Proxy/com/android/net/IProxyPortListener.aidl \
/frameworks/base/core/java/android/app/
H A DActivityThread.java53 import android.net.Proxy;
867 Proxy.setHttpProxySystemProperty(cm.getDefaultProxy());
869 Proxy.setHttpProxySystemProperty(host, port, exclList, pacFileUrl);
1064 "Proxy Binders:", binderProxyObjectCount);
4602 Proxy.setHttpProxySystemProperty(proxyInfo);

Completed in 479 milliseconds

12