Home
last modified time | relevance | path

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

123456

/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DDialerCodeReceiver.java56 intent.getData().getHost() != null) { in onReceive()
57 if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_DEBUG_ON)) { in onReceive()
60 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_DEBUG_OFF)) { in onReceive()
63 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_MARK)) { in onReceive()
70 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_MENU)) { in onReceive()
/aosp12/frameworks/base/core/java/android/view/
H A DImeInsetsSourceConsumer.java102 return getImm().requestImeShow(mController.getHost().getWindowToken()) in requestShow()
111 getImm().notifyImeHidden(mController.getHost().getWindowToken()); in notifyHidden()
117 final IBinder window = mController.getHost().getWindowToken(); in removeSurface()
149 final IBinder window = mController.getHost().getWindowToken(); in onPerceptible()
164 return mController.getHost().getInputMethodManager(); in getImm()
H A DInsetsSourceConsumer.java122 mController.getHost().getInputMethodManager(), null /* icProto */); in setControl()
138 mController.getHost().getRootViewTitle())); in setControl()
162 mController.getHost().getRootViewTitle(), requestedVisible)); in setControl()
228 InsetsState.typeToString(mType), mController.getHost().getRootViewTitle())); in hide()
263 mController.getHost().getInputMethodManager(), null /* icProto */); in applyLocalVisibilityOverride()
275 + mController.getHost().getRootViewTitle() in applyLocalVisibilityOverride()
283 mController.getHost().getRootViewTitle(), mRequestedVisible)); in applyLocalVisibilityOverride()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaHierarchyManager.kt566 val host = getHost(desiredLocation)
583 val currentHost = getHost(desiredLocation)
584 val previousHost = getHost(previousLocation)
728 var endHost = getHost(desiredLocation)!!
729 var starthost = getHost(previousLocation)!!
810 val currentHost = getHost(desiredLocation)
811 val previousHost = getHost(previousLocation)
831 getHost(desiredLocation)?.let {
861 if (getHost(newLocation)?.visible == true &&
881 val targetHost = getHost(newLocation)!!.hostView
[all …]
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DProxyInfoTest.java69 assertEquals(TEST_HOST, proxy1.getHost()); in testBuildDirectProxy()
79 assertEquals(TEST_HOST, proxy2.getHost()); in testBuildDirectProxy()
89 assertEquals(LOCAL_HOST, proxy1.getHost()); in testBuildPacProxy()
97 assertEquals(LOCAL_HOST, proxy2.getHost()); in testBuildPacProxy()
130 assertNull(proxy.getHost()); in checkEmpty()
H A DUriTest.java61 assertNull(u.getHost()); in testBuildUpon()
104 assertEquals("localhost", uri.getHost()); in testStringUri()
109 assertEquals("localhost", uri.getHost()); in testStringUri()
117 assertEquals("localhost", uri.getHost()); in testStringUri()
122 assertEquals("example2.com", uri.getHost()); in testStringUri()
127 assertEquals("a.foo.com", uri.getHost()); in testStringUri()
134 assertEquals("[2001:db8::dead:e1f]", uri.getHost()); in testStringUri()
143 assertEquals("[2001:db8::dead:e1f]", uri.getHost()); in testStringUri()
153 assertEquals("[2001:db8::dead:e1f]", uri.getHost()); in testStringUri()
366 assertNull(uri.getHost()); in testOpaqueUri()
/aosp12/frameworks/base/core/java/android/net/
H A DPacProxySelector.java76 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
80 urlString = uri.getHost(); in select()
82 urlString = uri.getHost(); in select()
85 response = mProxyService.resolvePacFile(uri.getHost(), urlString); in select()
/aosp12/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
H A DHistoryItemActionModulesBuilder.java140 moduleInfo.getHost() != HistoryItemActionModuleInfo.Host.UNKNOWN, in HistoryItemActionModulesBuilder()
496 switch (moduleInfo.getHost()) { in getCallInitiationType()
503 String.format("Unsupported host: %s", moduleInfo.getHost())); in getCallInitiationType()
512 switch (moduleInfo.getHost()) { in getReportingLocation()
519 String.format("Unsupported host: %s", moduleInfo.getHost())); in getReportingLocation()
541 switch (moduleInfo.getHost()) { in getImpression()
549 String.format("Unsupported host: %s", moduleInfo.getHost())); in getImpression()
/aosp12/frameworks/base/core/tests/coretests/src/android/net/
H A DWebAddressTest.java29 assertEquals("google.com.", webAddress.getHost()); in testHostWithTrailingDot()
37 assertEquals("www.myspace.com", webAddress.getHost()); in testPathWithoutLeadingSlash()
H A DUriTest.java87 assertNull(u.getHost()); in testBuildUponOpaqueStringUri()
191 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
196 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
205 assertEquals("localhost:42", uri.getHost()); in testAuthorityParsing()
208 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
213 assertEquals("example2.com", uri.getHost()); in testAuthorityParsing()
218 assertEquals("a.foo.com", uri.getHost()); in testAuthorityParsing()
323 assertEquals("google.com.", uri.getHost()); in testHostWithTrailingDot()
420 assertNull(uri.getHost()); in testOpaqueUri()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DGetCapabilitiesTask.java58 InetSocketAddress a = new InetSocketAddress(uri.getHost(), uri.getPort()); in isDeviceOnline()
87 printerCaps.inetAddress = InetAddress.getByName(mUri.getHost()); in doInBackground()
115 status = mBackend.nativeGetCapabilities(Backend.getIp(mUri.getHost()), in doInBackground()
/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/
H A DProxyTracker.java120 if (proxy != null && TextUtils.isEmpty(proxy.getHost()) in canonicalizeProxyInfo()
141 return Objects.equals(pa, pb) && (pa == null || Objects.equals(pa.getHost(), pb.getHost())); in proxyInfoEqual()
290 if (proxyInfo != null && (!TextUtils.isEmpty(proxyInfo.getHost()) || in setGlobalProxy()
297 host = mGlobalProxy.getHost(); in setGlobalProxy()
/aosp12/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
H A DOsuLoginActivity.java101 mHostName = getHost(mUrl); in onCreate()
216 private String getHost(String url) { in getHost() method in OsuLoginActivity
218 return new URL(url).getHost(); in getHost()
228 return url.getProtocol() + "://" + url.getHost(); in getHeaderSubtitle()
/aosp12/packages/modules/Connectivity/core/java/android/net/
H A DProxyInfo.java155 mHost = source.getHost(); in ProxyInfo()
188 public String getHost() { in getHost() method in ProxyInfo
286 if (mHost != null && p.getHost() != null && mHost.equals(p.getHost()) == false) { in equals()
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DProxyInfo.java168 mHost = source.getHost(); in ProxyInfo()
205 public String getHost() { in getHost() method in ProxyInfo
295 if (mHost != null && p.getHost() != null && mHost.equals(p.getHost()) == false) { in equals()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DYouTubeUtil.java49 final String host = uri.getHost(); in getYoutubePreviewImageLink()
88 if (YOUTUBE_HOST_5.equalsIgnoreCase(uri.getHost())) { in getYouTubeVideoId()
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
H A DFragmentUtils.java101 } else if (fragment.getHost() != null) { in checkParent()
102 parent = fragment.getHost().getClass().getName(); in checkParent()
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebAsset.java51 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, ""); in WebAsset()
59 return mUrl.getHost(); in getDomain()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
H A DP2pUtils.java52 if (!IPV4_PATTERN.matcher(path.getHost()).find()) { in toInet4Address()
56 return (Inet4Address) InetAddress.getByName(path.getHost()); in toInet4Address()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
H A DMdnsDiscovery.java109 if (!(info.getHost() instanceof Inet4Address)) { in toNetworkPrinter()
110 if (DEBUG) Log.d(TAG, "Not IPv4 " + info.getHost()); in toNetworkPrinter()
115 Uri path = Uri.parse(scheme + "://" + info.getHost().getHostAddress() + ":" + info.getPort() in toNetworkPrinter()
H A DDiscoveredPrinter.java139 public String getHost() { in getHost() method in DiscoveredPrinter
140 return path.getHost().replaceAll(":[0-9]+", ""); in getHost()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
H A DHttpsServiceConnection.java121 public String getHost() { in getHost() method in HttpsServiceConnection
122 return mConnection.getURL().getHost(); in getHost()
/aosp12/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/google/
H A DCloudPrintPlugin.java97 Log.i(LOG_TAG, "host: " + nsdServiceInfo.getHost()); in CloudPrintPlugin()
140 InetAddress address = nsdServiceInfo.getHost(); in CloudPrintPlugin()
/aosp12/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java207 String host = url.getHost(); in isLocalHost()
320 boolean sameHost = mURL.getHost().equals(url.getHost()); in seekTo()
/aosp12/packages/modules/Connectivity/tests/CoreTests/android/core/
H A DNsdServiceInfoTest.java144 assertEquality(original.getHost(), result.getHost()); in checkParcelable()

123456