Home
last modified time | relevance | path

Searched refs:mProxy (Results 1 – 8 of 8) 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/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/
DControlledTestDreamService.java50 private IControlledDream mProxy = new IControlledDream.Stub() { field in ControlledTestDreamService
80 mDreamProxy.publishDream(mProxy);
105 listener.onFocusChanged(mProxy, hasFocus); in onWindowFocusChanged()
118 listener.onAttachedToWindow(mProxy); in onAttachedToWindow()
139 listener.onDreamingStarted(mProxy); in onDreamingStarted()
151 listener.onWakeUp(mProxy); in onWakeUp()
165 listener.onDreamingStopped(mProxy); in onDreamingStopped()
177 listener.onDreamDestroyed(mProxy); in onDestroy()
191 listener.onDetachedFromWindow(mProxy); in onDetachedFromWindow()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DStubMediaRoute2ProviderService.java110 private Proxy mProxy; field in StubMediaRoute2ProviderService
189 mProxy = null; in clear()
198 mProxy = proxy; in setProxy()
259 Proxy proxy = mProxy; in onCreateSession()
312 Proxy proxy = mProxy; in onReleaseSession()
338 Proxy proxy = mProxy; in onDiscoveryPreferenceChanged()
350 Proxy proxy = mProxy; in onSelectRoute()
379 Proxy proxy = mProxy; in onDeselectRoute()
414 Proxy proxy = mProxy; in onTransferToRoute()
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DControlledDreamSession.java104 private IDreamProxy mProxy; field in ProxyServiceConnection
112 return mProxy; in getProxy()
117 mProxy = IDreamProxy.Stub.asInterface(service); in onServiceConnected()
128 mProxy = null; in onServiceDisconnected()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java1893 private final CameraExtensionSession.ExtensionCaptureCallback mProxy; field in CameraExtensionSessionTest.SimpleCaptureCallback
1923 mProxy = proxy; in SimpleCaptureCallback()
1946 if (mProxy != null) { in onCaptureStarted()
1947 mProxy.onCaptureStarted(session, request, timestamp); in onCaptureStarted()
1955 if (mProxy != null) { in onCaptureProcessStarted()
1956 mProxy.onCaptureProcessStarted(session, request); in onCaptureProcessStarted()
1964 if (mProxy != null) { in onCaptureFailed()
1965 mProxy.onCaptureFailed(session, request); in onCaptureFailed()
1973 if (mProxy != null) { in onCaptureFailed()
1974 mProxy.onCaptureFailed(session, request, failure); in onCaptureFailed()
[all …]