Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DSearchBaseUrlHelper.java102 String domain = mSearchSettings.getSearchBaseDomain(); in getSearchDomain() local
104 if (domain == null) { in getSearchDomain()
117 domain = getDefaultBaseDomain(); in getSearchDomain()
120 if (domain.startsWith(".")) { in getSearchDomain()
121 if (DBG) Log.d(TAG, "Prepending www to " + domain); in getSearchDomain()
122 domain = "www" + domain; in getSearchDomain()
124 return domain; in getSearchDomain()
138 String domain; in checkSearchDomain() local
140 domain = mHttpHelper.get(request); in checkSearchDomain()
145 domain = getDefaultBaseDomain(); in checkSearchDomain()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DMailbox.java32 private String domain; field in Mailbox
39 public Mailbox(String localPart, String domain) { in Mailbox() argument
40 this(null, localPart, domain); in Mailbox()
49 public Mailbox(DomainList route, String localPart, String domain) { in Mailbox() argument
52 this.domain = domain; in Mailbox()
75 return domain; in getDomain()
108 + (domain == null ? "" : "@") in getAddressString()
109 + domain + ">"; in getAddressString()
DNamedMailbox.java33 public NamedMailbox(String name, String localPart, String domain) { in NamedMailbox() argument
34 super(localPart, domain); in NamedMailbox()
41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { in NamedMailbox() argument
42 super(route, localPart, domain); in NamedMailbox()
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
DMailbox.java32 private String domain; field in Mailbox
39 public Mailbox(String localPart, String domain) { in Mailbox() argument
40 this(null, localPart, domain); in Mailbox()
49 public Mailbox(DomainList route, String localPart, String domain) { in Mailbox() argument
52 this.domain = domain; in Mailbox()
75 return domain; in getDomain()
108 + (domain == null ? "" : "@") in getAddressString()
109 + domain + ">"; in getAddressString()
DNamedMailbox.java33 public NamedMailbox(String name, String localPart, String domain) { in NamedMailbox() argument
34 super(localPart, domain); in NamedMailbox()
41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { in NamedMailbox() argument
42 super(route, localPart, domain); in NamedMailbox()
/packages/apps/Calendar/src/com/android/calendar/
DGoogleCalendarUriIntentFilter.java87 String domain = null; in extractEidAndEmail() local
94 domain = "gmail.com"; in extractEidAndEmail()
97 domain = "group.calendar.google.com"; in extractEidAndEmail()
100 domain = "holiday.calendar.google.com"; in extractEidAndEmail()
103 domain = "import.calendar.google.com"; in extractEidAndEmail()
106 domain = "group.v.calendar.google.com"; in extractEidAndEmail()
113 domain = "%"; in extractEidAndEmail()
122 if (debug) Log.d(TAG, "domain=" + domain ); in extractEidAndEmail()
123 if (domain != null) { in extractEidAndEmail()
124 email += domain; in extractEidAndEmail()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DWiFiInstaller.java74 public static List<String> splitDomain(String domain) { in splitDomain() argument
75 if (domain.endsWith(".")) { in splitDomain()
76 domain = domain.substring(0, domain.length() - 1); in splitDomain()
79 String[] labels = domain.toLowerCase().split("\\."); in splitDomain()
88 public static boolean sameBaseDomain(List<String> arg1, String domain) { in sameBaseDomain() argument
89 if (domain == null) { in sameBaseDomain()
93 List<String> arg2 = splitDomain(domain); in sameBaseDomain()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSettingsUtilsTests.java88 assertEquals("gmail.com", testProvider.domain); in testFindProviderForDomain()
99 assertEquals("elmore.rr.com", testProvider.domain); in testFindProviderForDomain()
154 testProvider.domain = "cox.net"; in testExpandTemplates()
170 testProvider.domain = "earthlink.net"; in testExpandTemplates()
186 testProvider.domain = "tuffmail.com"; in testExpandTemplates()
199 testProvider.domain = "yahoo.com"; in testExpandTemplates()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java216 public String domain; field in VendorPolicyLoader.Provider
269 returnString = returnString.replaceAll("\\$domain", domain); in expandTemplate()
293 public Provider findProviderForDomain(String domain) { in findProviderForDomain() argument
295 params.putString(FIND_PROVIDER, domain); in findProviderForDomain()
301 p.domain = domain; in findProviderForDomain()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java93 private List<ContentRatingSystem> parse(XmlResourceParser parser, String domain, in parse() argument
97 mResources = mContext.getPackageManager().getResourcesForApplication(domain); in parse()
99 Log.w(TAG, "Failed to get resources for " + domain, e); in parse()
106 if (domain.equals(mContext.getPackageName())) { in parse()
107 domain = DOMAIN_SYSTEM_RATINGS; in parse()
136 ratingSystems.add(parseRatingSystemDefinition(parser, domain, isCustom)); in parse()
177 private ContentRatingSystem parseRatingSystemDefinition(XmlResourceParser parser, String domain, in parseRatingSystemDefinition() argument
181 builder.setDomain(domain); in parseRatingSystemDefinition()
DContentRatingSystem.java155 String name, String domain, String title, String description, List<String> countries, in ContentRatingSystem() argument
159 mDomain = domain; in ContentRatingSystem()
190 public void setDomain(String domain) { in setDomain() argument
191 mDomain = domain; in setDomain()
/packages/services/Car/car_product/sepolicy/
Dte_macros3 # Allow client domain to connecto and send
4 # via a local socket to the qmux domain.
5 # Also allow the client domain to remove
Dirsc_util.te1 type irsc_util, domain;
Dvns.te2 type vns, domain;
Dmodem-sh.te2 type modem-sh, domain;
Dstart_hci_filter.te1 type start_hci_filter, domain;
Dusf-post-boot.te2 type usf-post-boot, domain;
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSettingsUtils.java247 public static Provider findProviderForDomain(Context context, String domain) { in findProviderForDomain() argument
248 Provider p = VendorPolicyLoader.getInstance(context).findProviderForDomain(domain); in findProviderForDomain()
250 p = findProviderForDomain(context, domain, R.xml.providers_product); in findProviderForDomain()
253 p = findProviderForDomain(context, domain, R.xml.providers); in findProviderForDomain()
266 Context context, String domain, int resourceId) { in findProviderForDomain() argument
276 if (matchProvider(domain, providerDomain)) { in findProviderForDomain()
280 provider.domain = domain.toLowerCase(); in findProviderForDomain()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj338 "@" domain() ( (",")* "@" domain() )* ":"/*@bgen(jjtree)*/
394 ( local_part() "@" domain() )/*@bgen(jjtree)*/
445 void domain() :
446 {/*@bgen(jjtree) domain */
452 {/*@bgen(jjtree) domain */
459 throw new ParseException("Atoms in domain names must be separated by '.'");
506 // domain literal
DAddressListParser.java380 domain(); in route()
405 domain(); in route()
478 domain(); in addr_spec()
563 final public void domain() throws ParseException { in domain() method in AddressListParser
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj338 "@" domain() ( (",")* "@" domain() )* ":"/*@bgen(jjtree)*/
394 ( local_part() "@" domain() )/*@bgen(jjtree)*/
445 void domain() :
446 {/*@bgen(jjtree) domain */
452 {/*@bgen(jjtree) domain */
459 throw new ParseException("Atoms in domain names must be separated by '.'");
506 // domain literal
DAddressListParser.java380 domain(); in route()
405 domain(); in route()
478 domain(); in addr_spec()
563 final public void domain() throws ParseException { in domain() method in AddressListParser
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DAccountUtils.java56 final Context context, final String domain) { in getDeviceAccountsWithDomain() argument
58 final String atDomain = "@" + domain.toLowerCase(Locale.ROOT); in getDeviceAccountsWithDomain()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFinal.java299 final String domain = emailParts[1].trim(); in onCreate() local
300 mProvider = AccountSettingsUtils.findProviderForDomain(this, domain); in onCreate()
781 final String domain = emailParts[1].trim(); in onBasicsComplete() local
782 mProvider = AccountSettingsUtils.findProviderForDomain(this, domain); in onBasicsComplete()
960 final String domain = emailParts[1]; in populateHostAuthsFromSetupData() local
968 recvAuth.setConnection(mSetupData.getIncomingProtocol(), domain, in populateHostAuthsFromSetupData() local
977 sendAuth.setConnection(HostAuth.LEGACY_SCHEME_SMTP, domain, in populateHostAuthsFromSetupData()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java532 String domain = null; in setHostAuthFromString() local
535 domain = path.substring(1); in setHostAuthFromString()
537 mDomain = domain; in setHostAuthFromString()

123