Home
last modified time | relevance | path

Searched refs:getHost (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackBaseControlGlue.java298 if (!mFadeWhenPlaying && getHost() != null) { in setControlsOverlayAutoHideEnabled()
299 getHost().setControlsOverlayAutoHideEnabled(false); in setControlsOverlayAutoHideEnabled()
505 if (getHost() != null) { in setArt()
506 getHost().notifyPlaybackRowChanged(); in setArt()
527 if (getHost() != null) { in setSubtitle()
528 getHost().notifyPlaybackRowChanged(); in setSubtitle()
548 if (getHost() != null) { in setTitle()
549 getHost().notifyPlaybackRowChanged(); in setTitle()
574 if (getHost() != null) { in onMetadataChanged()
575 getHost().notifyPlaybackRowChanged(); in onMetadataChanged()
DPlaybackTransportControlGlue.java179 if (getHost() instanceof PlaybackSeekUi) { in onDetachedFromHost()
180 ((PlaybackSeekUi) getHost()).setPlaybackSeekUiClient(null); in onDetachedFromHost()
306 if (mFadeWhenPlaying && getHost() != null) { in updatePlaybackState()
307 getHost().setControlsOverlayAutoHideEnabled(isPlaying); in updatePlaybackState()
DPlaybackControlGlue.java327 if (!mFadeWhenPlaying && getHost() != null) { in setFadingEnabled()
328 getHost().setControlsOverlayAutoHideEnabled(false); in setFadingEnabled()
613 if (getHost() != null) { in updateRowMetadata()
614 getHost().notifyPlaybackRowChanged(); in updateRowMetadata()
704 if (mFadeWhenPlaying && getHost() != null) { in updatePlaybackState()
705 getHost().setControlsOverlayAutoHideEnabled(playbackSpeed == PLAYBACK_SPEED_NORMAL); in updatePlaybackState()
DPlaybackGlue.java275 public PlaybackGlueHost getHost() { in getHost() method in PlaybackGlue
/frameworks/base/core/java/android/net/
DPacProxySelector.java75 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
79 urlString = uri.getHost(); in select()
81 urlString = uri.getHost(); in select()
84 response = mProxyService.resolvePacFile(uri.getHost(), urlString); in select()
DProxyInfo.java154 mHost = source.getHost(); in ProxyInfo()
187 public String getHost() { in getHost() method in ProxyInfo
286 if (mHost != null && p.getHost() != null && mHost.equals(p.getHost()) == false) { in equals()
DProxy.java135 public static final String getHost(Context ctx) { in getHost() method in Proxy
248 host = p.getHost(); in setHttpProxySystemProperty()
/frameworks/base/core/tests/coretests/src/android/net/
DWebAddressTest.java29 assertEquals("google.com.", webAddress.getHost()); in testHostWithTrailingDot()
37 assertEquals("www.myspace.com", webAddress.getHost()); in testPathWithoutLeadingSlash()
DUriTest.java83 assertNull(u.getHost()); in testBuildUponOpaqueStringUri()
170 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
175 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
184 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
188 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
193 assertEquals("example2.com", uri.getHost()); in testAuthorityParsing()
198 assertEquals("a.foo.com", uri.getHost()); in testAuthorityParsing()
303 assertEquals("google.com.", uri.getHost()); in testHostWithTrailingDot()
400 assertNull(uri.getHost()); in testOpaqueUri()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/
DPlaybackGlueTest.java58 assertSame(host, glue.getHost()); in glueAndHostInteraction()
77 assertSame(host, glue2.getHost()); in glueAndHostInteraction()
78 assertNull(glue.getHost()); in glueAndHostInteraction()
81 assertNull(glue2.getHost()); in glueAndHostInteraction()
DPlaybackControlGlueTest.java108 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter()
134 assertSame(host, mGlue.getHost()); in customRowPresenter()
156 assertSame(host, mGlue.getHost()); in customControlsRow()
185 assertSame(host, mGlue.getHost()); in customRowAndPresenter()
DPlaybackBannerControlGlueTest.java84 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter()
109 assertSame(host, mGlue.getHost()); in customRowPresenter()
130 assertSame(host, mGlue.getHost()); in customControlsRow()
158 assertSame(host, mGlue.getHost()); in customRowAndPresenter()
DPlaybackTransportControlGlueTest.java121 assertSame(host, mGlue.getHost()); in usingDefaultRowAndPresenter()
146 assertSame(host, mGlue.getHost()); in customRowPresenter()
167 assertSame(host, mGlue.getHost()); in customControlsRow()
195 assertSame(host, mGlue.getHost()); in customRowAndPresenter()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, ""); in WebAsset()
57 return mUrl.getHost(); in getDomain()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DMDNSFilteredDiscovery.java171 boolean added = mPrinters.add(serviceInfo.getHost()); in onServiceFound()
195 boolean removed = mPrinters.remove(serviceInfo.getHost()); in onServiceLost()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/
DCloudPrintPlugin.java96 Log.i(LOG_TAG, "host: " + nsdServiceInfo.getHost()); in CloudPrintPlugin()
139 InetAddress address = nsdServiceInfo.getHost(); in CloudPrintPlugin()
/frameworks/base/core/java/android/webkit/
DClientCertRequest.java58 public abstract String getHost(); in getHost() method in ClientCertRequest
DURLUtil.java80 if (webAddress.getHost().indexOf('.') == -1) { in guessUrl()
82 webAddress.setHost("www." + webAddress.getHost() + ".com"); in guessUrl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java47 DozeHost host = getHost(dozeService); in assembleMachine()
96 public static DozeHost getHost(DozeService service) { in getHost() method in DozeFactory
DDozeService.java51 if (DozeFactory.getHost(this) == null) { in onCreate()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java113 if (OSUManager.R2_MOCK && url.getHost().endsWith(".wi-fi.org")) { in OSUSocketFactory()
118 InetAddress[] remotes = mNetwork.getAllByName(url.getHost()); in OSUSocketFactory()
119 android.util.Log.d(OSUManager.TAG, "'" + url.getHost() + "' resolves to " + in OSUSocketFactory()
172 String fqdn = url.getHost(); in getOSUCertificate()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java159 String host = url.getHost(); in isLocalHost()
247 boolean sameHost = mURL.getHost().equals(url.getHost()); in seekTo()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdServiceInfoTest.java171 assertEquals(original.getHost(), result.getHost()); in checkParcelable()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java129 mProfile.mDomain = mUri.getHost(); in Builder()
287 mProfile.mProxyAddress = uri.getHost(); in build()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java103 new InstantAppDigest(intent.getData().getHost(), 5 /*maxDigests*/); in doInstantAppResolutionPhaseOne()
152 final String hostName = intent.getData().getHost(); in doInstantAppResolutionPhaseTwo()
259 intent.putExtra(Intent.EXTRA_EPHEMERAL_HOSTNAME, origIntent.getData().getHost()); in buildEphemeralInstallerIntent()

1234