Home
last modified time | relevance | path

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

12

/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/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java103 String domain = "test.domain.com"; in getHandledDomains_includeIntentFilterVerificationInfoDomains() local
105 domains.add(domain); in getHandledDomains_includeIntentFilterVerificationInfoDomains()
110 assertThat(DomainUrlsUtils.getHandledDomains(pm, TEST_PACKAGE)).contains(domain); in getHandledDomains_includeIntentFilterVerificationInfoDomains()
116 String domain = "test.domain.com"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local
121 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
125 assertThat(DomainUrlsUtils.getHandledDomains(pm, TEST_PACKAGE)).contains(domain); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
131 String domain = "test.domain.com"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local
136 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
140 assertThat(DomainUrlsUtils.getHandledDomains(pm, TEST_PACKAGE)).contains(domain); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
146 String domain = "test.domain.com"; in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme() local
[all …]
/packages/modules/DnsResolver/
Dres_query.cpp255 for (const auto& domain : statp->search_domains) { in res_nsearch() local
256 if (domain == "." || domain == "") ++root_on_list; in res_nsearch()
258 ret = res_nquerydomain(statp, name, domain.c_str(), cl, type, answer, anslen, herrno); in res_nsearch()
328 int res_nquerydomain(res_state statp, const char* name, const char* domain, int cl, in res_nquerydomain() argument
338 if (domain == NULL) { in res_nquerydomain()
358 d = strlen(domain); in res_nquerydomain()
363 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain); in res_nquerydomain()
Dgetaddrinfo.cpp157 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res,
1849 for (const auto& domain : res->search_domains) { in res_searchN() local
1850 ret = res_querydomainN(name, domain.c_str(), target, res, herrno); in res_searchN()
1921 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res, in res_querydomainN() argument
1929 if (domain == NULL) { in res_querydomainN()
1943 d = strlen(domain); in res_querydomainN()
1948 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain); in res_querydomainN()
Dstats.proto92 NS_T_MB = 7; // Mailbox domain name.
115 NS_T_NXT = 30; // Next domain (security).
248 SYS_EDOM = 33; // Math arg out of domain of func
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java125 public final String domain; field in WifiInfo
152 bundle.putString(EXTRA_PROVISIONING_WIFI_DOMAIN, domain); in toPersistableBundle()
195 domain = builder.domain; in WifiInfo()
226 private String domain; field in WifiInfo.Builder
282 public Builder setDomain(String domain) { in setDomain() argument
283 this.domain = domain; in setDomain()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java92 XmlResourceParser parser, String domain, boolean isCustom) in parse() argument
95 mResources = mContext.getPackageManager().getResourcesForApplication(domain); in parse()
97 Log.w(TAG, "Failed to get resources for " + domain, e); in parse()
104 if (domain.equals(mContext.getPackageName())) { in parse()
105 domain = DOMAIN_SYSTEM_RATINGS; in parse()
138 ratingSystems.add(parseRatingSystemDefinition(parser, domain, isCustom)); in parse()
184 XmlResourceParser parser, String domain, boolean isCustom) in parseRatingSystemDefinition() argument
188 builder.setDomain(domain); in parseRatingSystemDefinition()
DContentRatingSystem.java158 String domain, in ContentRatingSystem() argument
168 mDomain = domain; in ContentRatingSystem()
199 public void setDomain(String domain) { in setDomain() argument
200 mDomain = domain; in setDomain()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java370 String password, String identity, String anonymousIdentity, String domain, in buildTestWifiInfoForEAPWithCertificates() argument
378 .setDomain(domain) in buildTestWifiInfoForEAPWithCertificates()
392 String password, String identity, String anonymousIdentity, String domain, in assertEnterpriseConfig() argument
394 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfig()
399 String password, String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigWithoutCertificates() argument
400 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfigWithoutCertificates()
405 String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigBase() argument
410 assertEquals(domain, wifiConf.enterpriseConfig.getDomainSuffixMatch()); in assertEnterpriseConfigBase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DInstantAppDomainsPreferenceControllerTest.java98 final String[] domain = {"Domain1"}; in updateState_shouldSetPreferenceTitle() local
100 domains.add(domain[0]); in updateState_shouldSetPreferenceTitle()
110 verify(mPreference).setTitles(domain); in updateState_shouldSetPreferenceTitle()
/packages/services/Car/car_product/sepolicy/private/
Dprocfsinspector.te1 type procfsinspector, domain, coredomain;
11 dontaudit procfsinspector domain:dir getattr;
Dseapp_contexts1 user=system seinfo=platform name=com.android.car domain=carservice_app type=system_app_data_file
/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/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackSuggestionsFactory.java115 for (String domain : commonDomains) { in createSuggestions()
116 mSuggestions.add(domain); in createSuggestions()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp45 for (const auto& domain : domains) { in SetupMappings() local
47 mappingsIt->entry = StringPrintf("%s.%s.", mappingsIt->host.c_str(), domain.c_str()); in SetupMappings()
/packages/services/Car/car_product/sepolicy/public/
Dcarservice_app.te2 type carservice_app, domain, coredomain;
/packages/services/Car/car_product/sepolicy/test/
Dseapp_contexts1 user=system seinfo=platform name=com.google.android.car.kitchensink domain=kitchensink_app type=sys…
Dpowertestservice.te1 type powertestservice, domain, coredomain;
Dkitchensink_app.te2 type kitchensink_app, domain;
/packages/services/Car/evs/sepolicy/
Devs_manager.te2 type evs_manager, domain, coredomain;
Devs_driver.te2 type hal_evs_driver, domain, coredomain;
Devs_app.te2 type evs_app, domain, coredomain;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java74 assertEquals(TEST_DOMAIN, wifiInfo.domain); in testBuilderWriteAndReadBack()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java722 private void enterDomain(String domain) throws Exception { in enterDomain() argument
724 By.res(SETTINGS_PACKAGE, ADD_NETWORK_MENU_DOMAIN_RES_ID)).setText(domain); in enterDomain()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java174 wifiEnterpriseConfig.setDomainSuffixMatch(wifiInfo.domain); in updateWifiEnterpriseConfigFromWifiInfo()

12