Home
last modified time | relevance | path

Searched refs:mScheme (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
DWebAddress.java52 private String mScheme; field in WebAddress
83 mScheme = ""; in WebAddress()
93 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress()
125 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
126 mScheme = "https"; in WebAddress()
128 if (mScheme.equals("https")) in WebAddress()
133 if (mScheme.equals("")) mScheme = "http"; in WebAddress()
140 if ((mPort != 443 && mScheme.equals("https")) || in toString()
141 (mPort != 80 && mScheme.equals("http"))) { in toString()
149 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java49 final String mScheme; field in ShareTargetInfo.TargetData
59 mScheme = scheme; in TargetData()
69 if (!TextUtils.isEmpty(mScheme)) { in toStringInner()
70 strBuilder.append(" scheme=").append(mScheme); in toStringInner()
133 ShortcutService.writeAttr(out, ATTR_SCHEME, mTargetData[i].mScheme); in saveToXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java8082 assertEquals(expected.mTargetData[j].mScheme, actual.mTargetData[j].mScheme); in testParseShareTargetsFromManifest()
8148 assertEquals(expected.mTargetData[j].mScheme, actual.mTargetData[j].mScheme); in testShareTargetInfo_saveToXml()