/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | SearchBaseUrlHelper.java | 102 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/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanNetworkServiceTest.java | 102 int domain = NetworkRegistrationInfo.DOMAIN_PS; in testRequestNetworkRegistrationInfo() local 129 domain, mIsSubActive, NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in testRequestNetworkRegistrationInfo() 131 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testRequestNetworkRegistrationInfo() 144 int domain = NetworkRegistrationInfo.DOMAIN_PS; in testNetworkRegistrationInfoForCellularAndCstDisabled() local 180 domain, in testNetworkRegistrationInfoForCellularAndCstDisabled() 184 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testNetworkRegistrationInfoForCellularAndCstDisabled() 197 int domain = NetworkRegistrationInfo.DOMAIN_PS; in testNetworkRegistrationInfoForCellularAndCstEnabled() local 233 domain, mIsSubActive, NetworkRegistrationInfo.REGISTRATION_STATE_HOME); in testNetworkRegistrationInfoForCellularAndCstEnabled() 235 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testNetworkRegistrationInfoForCellularAndCstEnabled() 248 int domain = NetworkRegistrationInfo.DOMAIN_PS; in testNetworkRegistrationInfoForWiFiAndCstEnabled() local [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 30 public static List<String> splitDomain(String domain) { in splitDomain() argument 32 if (domain.endsWith(".")) in splitDomain() 33 domain = domain.substring(0, domain.length() - 1); in splitDomain() 34 int at = domain.indexOf('@'); in splitDomain() 36 domain = domain.substring(at + 1); in splitDomain() 38 String[] labels = domain.toLowerCase().split("\\."); in splitDomain() 101 public static String getMccMnc(List<String> domain) { in getMccMnc() argument 102 if (domain.size() != PLMNText.length) { in getMccMnc() 109 if (!domain.get(n).regionMatches(0, expect, 0, len)) { in getMccMnc() 114 String prefix = domain.get(2).substring(3) + domain.get(3).substring(3); in getMccMnc()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainUrlsUtilsTest.java | 110 String domain = "test.domain.com"; in getHandledDomains_includeIntentFilterVerificationInfoDomains() local 112 domains.add(domain); in getHandledDomains_includeIntentFilterVerificationInfoDomains() 121 .contains(domain); in getHandledDomains_includeIntentFilterVerificationInfoDomains() 126 String domain = "test.domain.com"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local 131 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() 140 .contains(domain); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() 145 String domain = "test.domain.com"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local 150 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() 159 .contains(domain); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() 165 String domain = "test.domain.com"; in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme() local [all …]
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 51 let (ip_addr, domain) = match ( in wrap_validation_callback() 53 CString::new(info.domain.clone().unwrap_or_default()), in wrap_validation_callback() 55 (Ok(ip_addr), Ok(domain)) => (ip_addr, domain), in wrap_validation_callback() 63 validation_fn(netd_id, success, ip_addr.as_ptr(), domain.as_ptr()) in wrap_validation_callback() 187 domain: *const c_char, in doh_net_new() 193 let (url, domain, ip_addr, cert_path) = match ( in doh_net_new() 195 std::ffi::CStr::from_ptr(domain).to_str(), in doh_net_new() 199 (Ok(url), Ok(domain), Ok(ip_addr), Ok(cert_path)) => { in doh_net_new() 200 if domain.is_empty() { in doh_net_new() 203 (url, Some(domain.to_string()), ip_addr.to_string(), Some(cert_path.to_string())) in doh_net_new() [all …]
|
/packages/modules/DnsResolver/ |
D | res_query.cpp | 251 for (const auto& domain : statp->search_domains) { in res_nsearch() local 252 if (domain == "." || domain == "") ++root_on_list; in res_nsearch() 254 ret = res_nquerydomain(statp, name, domain.c_str(), cl, type, answer, herrno); in res_nsearch() 324 int res_nquerydomain(ResState* statp, const char* name, const char* domain, int cl, in res_nquerydomain() argument 333 if (domain == NULL) { in res_nquerydomain() 353 d = strlen(domain); in res_nquerydomain() 358 snprintf(nbuf, sizeof(nbuf), "%s.%s", name, domain); in res_nquerydomain()
|
/packages/apps/ThemePicker/src/com/android/customization/module/ |
D | ThemePickerInjector.kt | 33 import com.android.customization.model.grid.domain.interactor.GridInteractor in <lambda>() 34 import com.android.customization.model.grid.domain.interactor.GridSnapshotRestorer in <lambda>() 42 import com.android.customization.model.themedicon.domain.interactor.ThemedIconInteractor in <lambda>() 43 import com.android.customization.model.themedicon.domain.interactor.ThemedIconSnapshotRestorer in <lambda>() 46 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor in <lambda>() 52 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor in <lambda>() 53 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer in <lambda>() 56 import com.android.customization.picker.notifications.domain.interactor.NotificationsInteractor in <lambda>() 57 import com.android.customization.picker.notifications.domain.interactor.NotificationsSnapshotRestor… in <lambda>() 60 import com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordancePi… in <lambda>() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 125 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/modules/Connectivity/tests/unit/java/com/android/internal/net/ |
D | NetworkUtilsInternalTest.java | 49 private static void expectSocketSuccess(String msg, int domain, int type) { in expectSocketSuccess() argument 51 IoUtils.closeQuietly(Os.socket(domain, type, 0)); in expectSocketSuccess() 57 private static void expectSocketPemissionError(String msg, int domain, int type) { in expectSocketPemissionError() argument 59 IoUtils.closeQuietly(Os.socket(domain, type, 0)); in expectSocketPemissionError()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingsParser.java | 92 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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | DomainNameElementTest.java | 51 private void appendDomain(ByteArrayOutputStream stream, String domain) throws IOException { in appendDomain() argument 52 byte[] domainBytes = domain.getBytes(StandardCharsets.ISO_8859_1); in appendDomain() 65 for (String domain : domains) { in getTestData() 66 appendDomain(stream, domain); in getTestData()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/testing/ |
D | TestCustomizationInjector.kt | 17 import com.android.customization.picker.clock.domain.interactor.ClockPickerInteractor 24 import com.android.customization.picker.color.domain.interactor.ColorPickerInteractor 25 import com.android.customization.picker.color.domain.interactor.ColorPickerSnapshotRestorer 28 import com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordancePi… 29 import com.android.customization.picker.quickaffordance.domain.interactor.KeyguardQuickAffordanceSn… 40 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor 41 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | DnsUtils.java | 159 final int domain; in findSrcAddress() local 161 domain = AF_INET; in findSrcAddress() 163 domain = AF_INET6; in findSrcAddress() 169 socket = Os.socket(domain, SOCK_DGRAM, IPPROTO_UDP); in findSrcAddress() 360 int domain, @NonNull SocketAddress addr) { in checkConnectivity() argument 363 socket = Os.socket(domain, SOCK_DGRAM, IPPROTO_UDP); in checkConnectivity()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 370 String password, String identity, String anonymousIdentity, String domain, in buildTestWifiInfoForEAPWithCertificates() argument 378 .setDomain(domain) in buildTestWifiInfoForEAPWithCertificates() 391 String password, String identity, String anonymousIdentity, String domain, in assertEnterpriseConfig() argument 393 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfig() 398 String password, String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigWithoutCertificates() argument 399 assertEnterpriseConfigBase(wifiConf, password, identity, anonymousIdentity, domain); in assertEnterpriseConfigWithoutCertificates() 404 String identity, String anonymousIdentity, String domain) { in assertEnterpriseConfigBase() argument 409 assertEquals(domain, wifiConf.enterpriseConfig.getDomainSuffixMatch()); in assertEnterpriseConfigBase()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/domain/interactor/ |
D | ClocksSnapshotRestorer.kt | 18 package com.android.customization.picker.clock.domain.interactor 20 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | Injector.kt | 32 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperInteractor 33 import com.android.wallpaper.picker.customization.domain.interactor.WallpaperSnapshotRestorer 34 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 35 import com.android.wallpaper.picker.undo.domain.interactor.UndoInteractor
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 146 int domain; in getDomain() local 148 domain = OsConstants.AF_INET6; in getDomain() 150 domain = OsConstants.AF_INET; in getDomain() 152 return domain; in getDomain() 526 int domain = getDomain(localAddr); in getNativeUdpSocketPair() local 529 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair() 531 Os.socket(domain, OsConstants.SOCK_DGRAM, OsConstants.IPPROTO_UDP)); in getNativeUdpSocketPair() 548 int domain = getDomain(localAddr); in getNativeTcpSocketPair() local 551 Os.socket(domain, OsConstants.SOCK_STREAM, OsConstants.IPPROTO_TCP)); in getNativeTcpSocketPair() 553 Os.socket(domain, OsConstants.SOCK_STREAM, OsConstants.IPPROTO_TCP)); in getNativeTcpSocketPair()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 227 public void rawQuery(@Nullable Network network, @NonNull String domain, in rawQuery() argument 239 ? network.getNetIdForResolv() : NETID_UNSET, domain, nsClass, nsType, flags); in rawQuery() 336 public void query(@Nullable Network network, @NonNull String domain, @QueryFlag int flags, in query() argument 369 v6fd = resNetworkQuery(queryNetwork.getNetIdForResolv(), domain, CLASS_IN, in query() 387 v4fd = resNetworkQuery(queryNetwork.getNetIdForResolv(), domain, CLASS_IN, TYPE_A, in query() 434 public void query(@Nullable Network network, @NonNull String domain, in query() argument 447 queryfd = resNetworkQuery(queryNetwork.getNetIdForResolv(), domain, CLASS_IN, nsType, in query()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/domain/interactor/ |
D | ThemedIconSnapshotRestorer.kt | 18 package com.android.customization.model.themedicon.domain.interactor 20 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore
|
/packages/apps/ThemePicker/src/com/android/customization/picker/notifications/domain/interactor/ |
D | NotificationsSnapshotRestorer.kt | 18 package com.android.customization.picker.notifications.domain.interactor 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/domain/interactor/ |
D | KeyguardQuickAffordanceSnapshotRestorer.kt | 18 package com.android.customization.picker.quickaffordance.domain.interactor in <lambda>() 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
|
/packages/apps/ThemePicker/src/com/android/customization/model/grid/domain/interactor/ |
D | GridSnapshotRestorer.kt | 18 package com.android.customization.model.grid.domain.interactor in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanNetworkService.java | 177 public void requestNetworkRegistrationInfo(int domain, NetworkServiceCallback callback) { in requestNetworkRegistrationInfo() argument 181 new NetworkRegistrationInfoRequestData(domain, callback, this))); in requestNetworkRegistrationInfo() 240 int domain = networkRegistrationInfoRequestData.mDomain; in handleMessage() local 249 if (domain != NetworkRegistrationInfo.DOMAIN_PS) { in handleMessage() 330 int domain, NetworkServiceCallback callback, IwlanNetworkServiceProvider nsp) { in NetworkRegistrationInfoRequestData() argument 331 mDomain = domain; in NetworkRegistrationInfoRequestData()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/ |
D | ColorPickerSnapshotRestorer.kt | 18 package com.android.customization.picker.color.domain.interactor in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 23 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorer.kt | 18 package com.android.wallpaper.picker.customization.domain.interactor in <lambda>() 21 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotRestorer in <lambda>() 22 import com.android.wallpaper.picker.undo.domain.interactor.SnapshotStore in <lambda>()
|