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

12

/frameworks/base/core/java/android/net/
H A DPacProxySelector.java28 import java.net.Proxy;
29 import java.net.Proxy.Type;
46 private final List<Proxy> mDefaultList;
55 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY);
59 public List<Proxy> select(URI uri) {
66 return Lists.newArrayList(java.net.Proxy.NO_PROXY);
95 private static List<Proxy> parseResponse(String response) {
97 List<Proxy> ret = Lists.newArrayList();
101 ret.add(java.net.Proxy.NO_PROXY);
103 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.java3220 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.java39 private static class Proxy implements IMountService { class in class:IMountService.Stub
42 Proxy(IBinder remote) { method in class:IMountService.Stub.Proxy
1522 return new IMountService.Stub.Proxy(obj);
/frameworks/av/services/audioflinger/
H A DRecordTracks.h109 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
111 virtual void releaseBuffer(Proxy::Buffer *buffer);
H A DTrackBase.h178 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
180 virtual void releaseBuffer(Proxy::Buffer* buffer) = 0;
H A DPlaybackTracks.h241 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
243 virtual void releaseBuffer(Proxy::Buffer* buffer);
H A DTracks.cpp581 // from a different thread than the one calling Proxy->obtainBuffer() and
582 // Proxy->releaseBuffer(). Also note there is no mutual exclusion in the
1239 Proxy::Buffer buf;
1369 Proxy::Buffer buf;
1384 Proxy::Buffer buf;
1391 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer,
1406 void AudioFlinger::PlaybackThread::PatchTrack::releaseBuffer(Proxy::Buffer* buffer)
1692 Proxy::Buffer buf;
1708 Proxy::Buffer buf;
1715 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h134 friend class Proxy;
200 // Proxy for shared memory control block, to isolate callers from needing to know the details.
203 class Proxy : public RefBase { class in namespace:android
205 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
207 virtual ~Proxy() { }
235 // Proxy seen by AudioTrack client and AudioRecord client
236 class ClientProxy : public Proxy {
353 // Proxy used by AudioTrack client, which also includes AudioFlinger::PlaybackThread::OutputTrack
454 // Proxy used by AudioRecord client
476 // Proxy use
[all...]
/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/
H A Dcompiled-classes-phone67 android.accounts.IAccountAuthenticator$Stub$Proxy
70 android.accounts.IAccountAuthenticatorResponse$Stub$Proxy
73 android.accounts.IAccountManager$Stub$Proxy
76 android.accounts.IAccountManagerResponse$Stub$Proxy
311 android.app.IAlarmManager$Stub$Proxy
314 android.app.IAppTask$Stub$Proxy
320 android.app.INotificationManager$Stub$Proxy
323 android.app.IProcessObserver$Stub$Proxy
326 android.app.ISearchManager$Stub$Proxy
329 android.app.IServiceConnection$Stub$Proxy
[all...]
/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;
90 // Proxy system properties must be initialized before setContentView is called because
139 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, function in class:android::Proxy
71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer)
617 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer),
H A DAudioRecord.cpp782 Proxy::Buffer buffer;
850 Proxy::Buffer buffer;
H A DAudioTrack.cpp835 // FIXME use Proxy return channel to update the rate from server and avoid polling here
1611 Proxy::Buffer buffer;
1691 Proxy::Buffer buffer;
/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/core/java/android/app/admin/
H A DDevicePolicyManager.java63 import java.net.Proxy;
2386 * @param proxySpec the global proxy desired. Must be an HTTP Proxy.
2387 * Pass Proxy.NO_PROXY to reset the proxy.
2393 public ComponentName setGlobalProxy(@NonNull ComponentName admin, Proxy proxySpec,
2403 if (proxySpec.equals(Proxy.NO_PROXY)) {
2407 if (!proxySpec.type().equals(Proxy.Type.HTTP)) {
2431 if (android.net.Proxy.validate(hostName, Integer.toString(port), exclSpec)
2432 != android.net.Proxy.PROXY_VALID)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java70 import android.net.Proxy;
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java73 import android.net.Proxy;
3082 if (DBG) log("sending Proxy Broadcast for " + proxy);
3083 Intent intent = new Intent(Proxy.PROXY_CHANGE_ACTION);
3086 intent.putExtra(Proxy.EXTRA_PROXY_INFO, proxy);

Completed in 498 milliseconds

12