/packages/modules/DnsResolver/ |
D | Experiments.cpp | 30 Experiments* Experiments::getInstance() { in getInstance() 32 static Experiments instance{getExperimentFlagInt}; in getInstance() 36 Experiments::Experiments(GetExperimentFlagIntFunction getExperimentFlagIntFunction) in Experiments() function in android::net::Experiments 41 void Experiments::update() { in update() 45 void Experiments::dump(DumpWriter& dw) const { in dump() 50 if (value == Experiments::kFlagIntDefault) { in dump() 58 void Experiments::updateInternal() { in updateInternal() 61 mFlagsMapInt[key] = mGetExperimentFlagIntFunction(key, Experiments::kFlagIntDefault); in updateInternal() 65 int Experiments::getFlag(std::string_view key, int defaultValue) const { in getFlag() 68 if (it != mFlagsMapInt.end() && it->second != Experiments::kFlagIntDefault) { in getFlag()
|
D | Experiments.h | 33 class Experiments { 36 static Experiments* getInstance(); 41 Experiments(Experiments const&) = delete; 42 void operator=(Experiments const&) = delete; 45 explicit Experiments(GetExperimentFlagIntFunction getExperimentFlagIntFunction); 46 Experiments() = delete;
|
D | ExperimentsTest.cpp | 46 for (const auto& key : Experiments::kExperimentFlagKeyList) { in setupFakeMap() 65 EXPECT_EQ(value, Experiments::kFlagIntDefault); in expectFlagsMapIntDefault() 70 for (const auto& key : Experiments::kExperimentFlagKeyList) { in expectGetDnsExperimentFlagIntDefault() 77 for (const auto& key : Experiments::kExperimentFlagKeyList) { in expectGetDnsExperimentFlagInt() 94 if (value == Experiments::kFlagIntDefault) { in expectDumpOutput() 107 Experiments mExperiments;
|
D | DnsResolverService.cpp | 120 Experiments::getInstance()->dump(dw); in dump() 282 Experiments::getInstance()->update(); in destroyNetworkCache() 291 Experiments::getInstance()->update(); in createNetworkCache()
|
D | DnsTlsTransport.cpp | 303 int latencyFactor = Experiments::getInstance()->getFlag("dot_validation_latency_factor", in validate() 305 int latencyOffsetMs = Experiments::getInstance()->getFlag("dot_validation_latency_offset_ms", in validate()
|
D | DnsTlsDispatcher.cpp | 306 const Experiments* const instance = Experiments::getInstance(); in addTransport()
|
D | DnsTlsQueryMap.cpp | 29 mMaxTries = Experiments::getInstance()->getFlag("dot_maxtries", kMaxTries); in DnsTlsQueryMap()
|
D | DnsTlsSocket.cpp | 178 const Experiments* const instance = Experiments::getInstance(); in initialize()
|
D | res_send.cpp | 131 using android::net::Experiments; 1017 android::net::Experiments::getInstance()->getFlag("keep_listening_udp", 0); in udpRetryingPollWrapper() 1380 int queryTimeout = Experiments::getInstance()->getFlag( in res_doh_send() 1419 : Experiments::getInstance()->getFlag("dot_quick_fallback", 1); in res_tls_send()
|
D | res_cache.cpp | 73 using android::net::Experiments; 1008 int entries = android::net::Experiments::getInstance()->getFlag("max_cache_entries", in get_max_cache_entries_from_flag() 1687 const int retryCount = Experiments::getInstance()->getFlag("retry_count", RES_DFLRETRY); in resolv_set_nameservers() 1692 Experiments::getInstance()->getFlag("retransmission_time_interval", RES_TIMEOUT); in resolv_set_nameservers() 1775 const bool sortNameservers = Experiments::getInstance()->getFlag("sort_nameservers", 0); in resolv_populate_res_for_net()
|
D | PrivateDnsConfiguration.cpp | 63 const Experiments* const instance = Experiments::getInstance(); in makeDohFeatureFlags()
|
D | DnsProxyListener.cpp | 85 const int globalLimit = android::net::Experiments::getInstance()->getFlag("max_queries_global", in startQueryLimiter() 330 android::net::Experiments::getInstance()->getFlag("mdns_resolution", 1)) 715 if (!android::net::Experiments::getInstance()->getFlag("fail_fast_on_uid_network_blocking", in isUidNetworkingBlocked()
|
D | Android.bp | 280 "Experiments.cpp",
|
D | gethnamaddr.cpp | 763 android::net::Experiments::getInstance()->getFlag("mdns_resolution", 1)) in setMdnsFlag()
|
D | getaddrinfo.cpp | 70 using android::net::Experiments; 1679 int sleepFlag = Experiments::getInstance()->getFlag("parallel_lookup_sleep_time", in res_queryN_parallel()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | Experiments.java | 21 public final class Experiments { class 53 private Experiments() { in Experiments() method in Experiments
|
D | DynamicShortcuts.java | 130 .getInteger(Experiments.DYNAMIC_MIN_CONTENT_CHANGE_UPDATE_DELAY_MILLIS); in DynamicShortcuts() 132 .getInteger(Experiments.DYNAMIC_MAX_CONTENT_CHANGE_UPDATE_DELAY_MILLIS); in DynamicShortcuts() 487 flags.getInteger(Experiments.DYNAMIC_MIN_CONTENT_CHANGE_UPDATE_DELAY_MILLIS) + in initialize() 489 flags.getInteger(Experiments.DYNAMIC_MAX_CONTENT_CHANGE_UPDATE_DELAY_MILLIS)); in initialize()
|
D | CallUtil.java | 273 Experiments.QUICK_CONTACT_VIDEO_CALL); in isTachyonEnabled()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | DefaultContactBrowseListFragment.java | 61 import com.android.contacts.Experiments; 593 .getInteger(Experiments.PULL_TO_REFRESH_CANCEL_REFRESH_MILLIS)); in initSwipeRefreshLayout()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 462 Experiments::getInstance()->getFlag(DOT_MAXTRIES_FLAG, DnsTlsQueryMap::kMaxTries)); in TEST_F() 559 Experiments::getInstance()->getFlag(DOT_MAXTRIES_FLAG, DnsTlsQueryMap::kMaxTries)); in TEST_F()
|
D | resolv_cache_unit_test.cpp | 640 android::net::Experiments::getInstance()->update(); in TEST_P()
|
/packages/modules/AdServices/adservices/libraries/cobalt/proto/ |
D | report_definition.proto | 636 // The list of Experiments to include in each row of the report.
|