/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | InitialConfiguration.java | 41 public final Set<InetAddress> dnsServers = new HashSet<>(); field in InitialConfiguration 58 configCopy.dnsServers.addAll(config.dnsServers); in copy() 67 join(", ", dnsServers)); in toString() 85 for (InetAddress addr : dnsServers) { in isValid() 152 p.dnsServers = toParcelableArray( in toStableParcelable() 153 dnsServers, IpConfigurationParcelableUtil::parcelAddress, String.class); in toStableParcelable() 166 config.dnsServers.addAll( in fromStableParcelable() 167 fromParcelableArray(p.dnsServers, IpConfigurationParcelableUtil::unparcelAddress)); in fromStableParcelable() 177 && dnsServers.equals(other.dnsServers); in equals()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServingParams.java | 69 public final Set<Inet4Address> dnsServers; field in DhcpServingParams 112 @NonNull Set<Inet4Address> dnsServers, @NonNull Set<Inet4Address> excludedAddrs, in DhcpServingParams() argument 117 this.dnsServers = dnsServers; in DhcpServingParams() 146 .setDnsServers(toInet4AddressSet(parcel.dnsServers)) in fromParcelableObject() 256 public Builder setDnsServers(@NonNull Set<Inet4Address> dnsServers) { in setDnsServers() argument 257 this.mDnsServers = dnsServers; in setDnsServers() 267 public Builder setDnsServers(@NonNull Inet4Address... dnsServers) { in setDnsServers() argument 268 return setDnsServers(makeArraySet(dnsServers)); in setDnsServers()
|
D | DhcpOfferPacket.java | 42 String dnsServers = ", DNS servers: "; in toString() local 46 dnsServers += dnsServer + " "; in toString() 51 dnsServers + ", gateways " + mGateways + in toString()
|
D | DhcpAckPacket.java | 43 String dnsServers = " DNS servers: "; in toString() local 46 dnsServers += dnsServer.toString() + " "; in toString() 51 ", gateways " + mGateways + dnsServers + in toString()
|
D | DhcpPacket.java | 917 List<Inet4Address> dnsServers = new ArrayList<>(); in decodeFullPacket() local 1123 dnsServers.add(readIpAddress(packet)); in decodeFullPacket() 1278 newPacket.mDnsServers = dnsServers; in decodeFullPacket() 1361 results.dnsServers.addAll(mDnsServers); in toDhcpResults() 1408 Inet4Address bcAddr, List<Inet4Address> gateways, List<Inet4Address> dnsServers, in buildOfferPacket() argument 1415 pkt.mDnsServers = dnsServers; in buildOfferPacket() 1436 Inet4Address bcAddr, List<Inet4Address> gateways, List<Inet4Address> dnsServers, in buildAckPacket() argument 1443 pkt.mDnsServers = dnsServers; in buildAckPacket()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 86 final Set<Inet4Address> dnsServers = new HashSet<>(TEST_DNS_SERVERS); in testBuild_Immutable() local 91 .setDnsServers(dnsServers) in testBuild_Immutable() 98 dnsServers.add(addedAddr); in testBuild_Immutable() 103 assertEquals(TEST_DNS_SERVERS, params.dnsServers); in testBuild_Immutable() 182 parcel.dnsServers = toIntArray(TEST_DNS_SERVERS); in testFromParcelableObject() 194 assertEquals(params.dnsServers, parceled.dnsServers); in testFromParcelableObject()
|
D | DhcpResultsParcelableUtilTest.java | 53 mDhcpResults.dnsServers.add(parseNumericAddress("2001:db8::43")); in setUp() 54 mDhcpResults.dnsServers.add(parseNumericAddress("192.168.43.43")); in setUp()
|
D | DhcpPacketTest.java | 318 ArrayList dnsServers = new ArrayList(); in assertDhcpResults() local 320 dnsServers.add(v4Address(dnsServerString)); in assertDhcpResults() 322 assertEquals(dnsServers, dhcpResults.dnsServers); in assertDhcpResults()
|
D | DhcpServerTest.java | 382 Set<Inet4Address> dnsServers, Set<Inet4Address> excludedAddrs, LinkAddress serverAddr, in updateServingParams() argument 388 params.dnsServers = toIntArray(dnsServers); in updateServingParams()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDnsPreferenceController.java | 44 String dnsServers = getWifiInfoProvider().getLinkProperties().getDnsServers().stream() in updateState() local 48 if (dnsServers == null) { in updateState() 51 preference.setDetailText(dnsServers); in updateState()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | InitialConfigurationTest.java | 56 mConfig.dnsServers.addAll(Arrays.asList( in setUp() 78 assertNotEqualsAfterChange(c -> c.dnsServers.add(parseNumericAddress("2001:db8::49"))); in testEquals()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AdvancedOptionsFlowInfo.java | 170 && mIpConfiguration.getStaticIpConfiguration().dnsServers == null) { in getInitialDns() 172 return mIpConfiguration.getStaticIpConfiguration().dnsServers.get(index); in getInitialDns()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | AdvancedOptionsFlowUtil.java | 142 staticConfig.dnsServers.add( in processIpSettings() 152 staticConfig.dnsServers.add( in processIpSettings()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialog.java | 137 mDnsServers.setText(mProfile.dnsServers); in onCreate() 195 if (!mProfile.searchDomains.isEmpty() || !mProfile.dnsServers.isEmpty() || in onCreate() 490 profile.dnsServers = mDnsServers.getText().toString().trim(); in getProfile()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 23 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 6 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 23 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 6 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 6 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 23 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 23 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 24 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/ |
D | DhcpServingParamsParcel.aidl | 23 int[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | InitialConfigurationParcelable.aidl | 22 String[] dnsServers;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ |
D | InitialConfigurationParcelable.aidl | 22 String[] dnsServers;
|