Home
last modified time | relevance | path

Searched refs:mProxy (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DBaseProxyTest.java40 protected ProxyInfo mProxy; field in BaseProxyTest
96 return (mProxy == null) || (TextUtils.isEmpty(mProxy.getHost()) in isProxyEmpty()
97 && (mProxy.getPacFileUrl() == Uri.EMPTY)); in isProxyEmpty()
101 return (mProxy != null) && !TextUtils.isEmpty(mProxy.getHost()); in isProxyStatic()
105 return (mProxy != null) && (mProxy.getPacFileUrl() != Uri.EMPTY); in isProxyPac()
109 return isProxyPac() && pacUri.equals(mProxy.getPacFileUrl()); in isCorrectPacProxy()
167 mProxy = intent.getParcelableExtra(android.net.Proxy.EXTRA_PROXY_INFO); in onReceive()
168 Log.d(TAG, "Proxy received " + mProxy); in onReceive()
DPacProxyTest.java103 mProxy = null; in setUp()
119 assertTrue("Current Proxy " + mProxy, isCorrectPacProxy(pacProxyUri)); in setPacURLAndWaitForDownload()
141 assertNotNull("Broadcast must contain proxy", mProxy); in testBroadcast()
143 mProxy.getPacFileUrl().toString()); in testBroadcast()
167 assertNotNull("Broadcast must contain proxy", mProxy); in testProxyIsUp()
169 Socket s = new Socket(mProxy.getHost(), mProxy.getPort()); in testProxyIsUp()
173 fail("Proxy contained invalid host - " + mProxy.getHost() + ":" + mProxy.getPort()); in testProxyIsUp()
175 fail("Unable to connect to proxy - " + mProxy.getHost() + ":" + mProxy.getPort()); in testProxyIsUp()
192 PassthroughTestHelper ptt = new PassthroughTestHelper(mProxy); in testProxyPassthrough()
DPassthroughTestHelper.java33 private ProxyInfo mProxy; field in PassthroughTestHelper
48 mProxy = proxy; in PassthroughTestHelper()
74 Socket s = new Socket(mProxy.getHost(), mProxy.getPort()); in createHttpConnectConnection()
DStaticProxyTest.java39 mProxy = null; in setUp()
57 assertNotNull("Broadcast must contain proxy", mProxy); in testBroadcast()
58 assertEquals(ProxyInfo.buildDirectProxy(mProxyHost, PROXY_PORT, mExclList), mProxy); in testBroadcast() local
/cts/tests/tests/media/src/android/media/cts/
DStubMediaRoute2ProviderService.java92 private Proxy mProxy; field in StubMediaRoute2ProviderService
148 mProxy = null; in clear()
157 mProxy = proxy; in setProxy()
212 Proxy proxy = mProxy; in onCreateSession()
249 Proxy proxy = mProxy; in onReleaseSession()
275 Proxy proxy = mProxy; in onDiscoveryPreferenceChanged()
287 Proxy proxy = mProxy; in onSelectRoute()
316 Proxy proxy = mProxy; in onDeselectRoute()
351 Proxy proxy = mProxy; in onTransferToRoute()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java990 private final CameraExtensionSession.ExtensionCaptureCallback mProxy; field in CameraExtensionSessionTest.SimpleCaptureCallback
993 mProxy = proxy; in SimpleCaptureCallback()
1005 if (mProxy != null) { in onCaptureStarted()
1006 mProxy.onCaptureStarted(session, request, timestamp); in onCaptureStarted()
1014 if (mProxy != null) { in onCaptureProcessStarted()
1015 mProxy.onCaptureProcessStarted(session, request); in onCaptureProcessStarted()
1023 if (mProxy != null) { in onCaptureFailed()
1024 mProxy.onCaptureFailed(session, request); in onCaptureFailed()
1031 if (mProxy != null) { in onCaptureSequenceAborted()
1032 mProxy.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted()
[all …]