Home
last modified time | relevance | path

Searched refs:serverAddr (Results 1 – 18 of 18) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java55 public final LinkAddress serverAddr; field in DhcpServingParams
110 private DhcpServingParams(@NonNull LinkAddress serverAddr, in DhcpServingParams() argument
115 this.serverAddr = serverAddr; in DhcpServingParams()
135 final LinkAddress serverAddr = new LinkAddress( in fromParcelableObject() local
136 intToInet4AddressHTH(parcel.serverAddr), in fromParcelableObject()
144 .setServerAddr(serverAddr) in fromParcelableObject()
170 return (Inet4Address) serverAddr.getAddress(); in getServerInet4Addr()
180 return getPrefixMaskAsInet4Address(serverAddr.getPrefixLength()); in getPrefixMaskAsAddress()
192 getServerInet4Addr(), serverAddr.getPrefixLength()); in getBroadcastAddress()
215 public Builder setServerAddr(@NonNull LinkAddress serverAddr) { in setServerAddr() argument
[all …]
DDhcpServer.java211 DhcpServingParams.makeIpPrefix(servingParams.serverAddr), in makeLeaseRepository()
387 DhcpServingParams.makeIpPrefix(params.serverAddr), in handleUpdateServingParams()
500 if (sid != null && !sid.equals(mServingParams.serverAddr.getAddress())) { in processPacket()
604 DhcpServingParams.makeIpPrefix(mServingParams.serverAddr)); in processDecline()
620 DhcpServingParams.makeIpPrefix(mServingParams.serverAddr); in processMessage()
622 DhcpServingParams.makeIpPrefix(pair.first.serverAddr); in processMessage()
688 getPrefixMaskAsInet4Address(mServingParams.serverAddr.getPrefixLength()); in transmitOffer()
690 mServingParams.getServerInet4Addr(), mServingParams.serverAddr.getPrefixLength()); in transmitOffer()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java382 Set<Inet4Address> dnsServers, Set<Inet4Address> excludedAddrs, LinkAddress serverAddr, in updateServingParams() argument
385 params.serverAddr = inet4AddressToIntHTH((Inet4Address) serverAddr.getAddress()); in updateServingParams()
386 params.serverAddrPrefixLength = serverAddr.getPrefixLength(); in updateServingParams()
416 final Inet4Address serverAddr = parseAddr("192.168.51.129"); in testChangePrefixOnDecline() local
417 final LinkAddress srvLinkAddr = new LinkAddress(serverAddr, 24); in testChangePrefixOnDecline()
418 final Set<Inet4Address> srvAddr = new HashSet<>(Collections.singletonList(serverAddr)); in testChangePrefixOnDecline()
442 assertMatchesLease(packet, serverAddr, clientAddr, null); in testChangePrefixOnDecline()
DDhcpServingParamsTest.java104 assertEquals(TEST_LINKADDR, params.serverAddr); in testBuild_Immutable()
183 parcel.serverAddr = inet4AddressToIntHTH(TEST_SERVER_ADDR); in testFromParcelableObject()
195 assertEquals(params.serverAddr, parceled.serverAddr); in testFromParcelableObject()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.h84 bool waitForPrivateDnsValidation(const std::string& serverAddr, const bool validated);
88 bool findValidationRecord(const std::string& serverAddr) const EXCLUDES(mMutex) { in findValidationRecord() argument
90 return mValidationRecords.find({mNetId, serverAddr}) != mValidationRecords.end(); in findValidationRecord()
Ddns_metrics_listener.cpp96 bool DnsMetricsListener::waitForPrivateDnsValidation(const std::string& serverAddr, in waitForPrivateDnsValidation() argument
105 if (findAndRemoveValidationRecord({mNetId, serverAddr}, validated)) return true; in waitForPrivateDnsValidation()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/dhcp/
DDhcpServingParamsParcel.aidl20 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/dhcp/
DDhcpServingParamsParcel.aidl3 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/dhcp/
DDhcpServingParamsParcel.aidl20 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/dhcp/
DDhcpServingParamsParcel.aidl3 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/dhcp/
DDhcpServingParamsParcel.aidl3 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/dhcp/
DDhcpServingParamsParcel.aidl20 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/
DDhcpServingParamsParcel.aidl20 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/dhcp/
DDhcpServingParamsParcel.aidl21 int serverAddr;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/dhcp/
DDhcpServingParamsParcel.aidl20 int serverAddr;
/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp126 bool WaitForPrivateDnsValidation(const std::string& serverAddr) { in WaitForPrivateDnsValidation() argument
134 if (serverAddr == ToString(&server.ss)) return true; in WaitForPrivateDnsValidation()
Dresolv_integration_test.cpp244 bool WaitForPrivateDnsValidation(std::string serverAddr, bool validated) { in WaitForPrivateDnsValidation() argument
245 return sDnsMetricsListener->waitForPrivateDnsValidation(serverAddr, validated); in WaitForPrivateDnsValidation()
248 bool hasUncaughtPrivateDnsValidation(const std::string& serverAddr) { in hasUncaughtPrivateDnsValidation() argument
249 return sDnsMetricsListener->findValidationRecord(serverAddr); in hasUncaughtPrivateDnsValidation()
4597 for (const auto& serverAddr : parcel.tlsServers) { in TEST_F() local
4598 SCOPED_TRACE(serverAddr); in TEST_F()
4599 if (serverAddr == workableTls.listen_address()) { in TEST_F()
4604 EXPECT_TRUE(WaitForPrivateDnsValidation(serverAddr, true)); in TEST_F()
4606 } else if (serverAddr == unresponsiveTls.listen_address()) { in TEST_F()
4617 EXPECT_TRUE(WaitForPrivateDnsValidation(serverAddr, false)); in TEST_F()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt155 testParams.serverAddr = inet4AddressToIntHTH( in prepareDumpVersionTest()