Home
last modified time | relevance | path

Searched refs:Validation (Results 1 – 13 of 13) sorted by relevance

/packages/modules/DnsResolver/
DPrivateDnsConfigurationTest.cpp56 .WillByDefault([&](const std::string& server, Validation validation, uint32_t) { in SetUp()
57 if (validation == Validation::in_process) { in SetUp()
61 it->second != Validation::in_process) { in SetUp()
69 } else if (validation == Validation::success || in SetUp()
70 validation == Validation::fail) { in SetUp()
82 (const std::string& serverIp, Validation validation, uint32_t netId),
85 std::map<std::string, Validation> getServerStateMap() const { in getServerStateMap()
100 std::map<std::string, Validation> serverStateMap GUARDED_BY(lock);
112 std::map<std::string, Validation> serverStateMap; in checkPrivateDnsStatus()
143 EXPECT_CALL(mObserver, onValidationStateUpdate(kServer1, Validation::in_process, kNetId)); in TEST_F()
[all …]
DPrivateDnsCommon.h27 enum class Validation : uint8_t { enum
43 constexpr const char* validationStatusToString(Validation value) { in validationStatusToString()
45 case Validation::in_process: in validationStatusToString()
47 case Validation::success: in validationStatusToString()
49 case Validation::success_but_expired: in validationStatusToString()
51 case Validation::fail: in validationStatusToString()
53 case Validation::unknown_server: in validationStatusToString()
55 case Validation::unknown_netid: in validationStatusToString()
DPrivateDnsConfiguration.cpp106 if (!server->active() && server->validationState() == Validation::success) { in set()
107 updateServerState(identity, Validation::success_but_expired, netId); in set()
111 updateServerState(identity, Validation::in_process, netId); in set()
172 if (server->validationState() != Validation::success) { in requestValidation()
181 updateServerState(identity, Validation::in_process, netId); in requestValidation()
281 notifyValidationStateUpdate(identity.sockaddr, Validation::fail, netId); in recordPrivateDnsValidation()
288 notifyValidationStateUpdate(identity.sockaddr, Validation::fail, netId); in recordPrivateDnsValidation()
319 updateServerState(identity, Validation::success, netId); in recordPrivateDnsValidation()
324 const auto result = (reevaluationStatus == NEEDS_REEVALUATION) ? Validation::in_process in recordPrivateDnsValidation()
325 : Validation::fail; in recordPrivateDnsValidation()
[all …]
DPrivateDnsConfiguration.h42 std::map<DnsTlsServer, Validation, AddressComparator> serversMap;
48 if (pair.second == Validation::success) { in validatedServers()
116 void updateServerState(const ServerIdentity& identity, Validation state, uint32_t netId)
135 void notifyValidationStateUpdate(const netdutils::IPSockAddr& sockaddr, Validation validation,
151 RecordEntry(uint32_t netId, const ServerIdentity& identity, Validation state) in RecordEntry()
156 const Validation state;
DDnsTlsServer.h71 Validation validationState() const override { return mValidation; } in validationState()
72 void setValidationState(Validation val) override { mValidation = val; } in setValidationState()
91 Validation mValidation = Validation::unknown_server;
DIPrivateDnsServer.h45 virtual void setValidationState(Validation val) = 0;
48 virtual Validation validationState() const = 0;
DPrivateDnsValidationObserver.h31 virtual void onValidationStateUpdate(const std::string& serverIp, Validation validation,
DDnsTlsDispatcher.h66 void onValidationStateUpdate(const std::string&, Validation, uint32_t) override{}; in onValidationStateUpdate() argument
/packages/modules/NeuralNetworks/common/
DAndroid.bp418 "Validation.cpp",
459 "Validation.cpp",
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp897 s1.setValidationState(Validation::success); in TEST_F()
899 s2.setValidationState(Validation::fail); in TEST_F()
906 EXPECT_EQ(s1.validationState(), Validation::success); in TEST_F()
907 EXPECT_EQ(s2.validationState(), Validation::fail); in TEST_F()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
Dstats.proto138 * Logs Network Validation event
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md121 … be differed to the `Encoding` of the `Document`. See [Transcoding and Validation](#TranscodingAnd…
224 ## Transcoding and Validation {#TranscodingAndValidation}
Dencoding.md112 # Validation & Transcoding {#ValidationTranscoding}