Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DExperimentsTest.cpp34 ExperimentsTest() : mExperiments(fakeGetExperimentFlagInt) {} in ExperimentsTest()
53 std::lock_guard guard(mExperiments.mMutex); in setupExperimentsMap()
54 mExperiments.mFlagsMapInt = sFakeFlagsMapInt; in setupExperimentsMap()
58 std::lock_guard guard(mExperiments.mMutex); in expectFlagsMapInt()
59 EXPECT_THAT(mExperiments.mFlagsMapInt, ::testing::ContainerEq(sFakeFlagsMapInt)); in expectFlagsMapInt()
63 std::lock_guard guard(mExperiments.mMutex); in expectFlagsMapIntDefault()
64 for (const auto& [key, value] : mExperiments.mFlagsMapInt) { in expectFlagsMapIntDefault()
71 EXPECT_EQ(mExperiments.getFlag(key, value), value); in expectGetDnsExperimentFlagIntDefault()
78 tempMap[key] = mExperiments.getFlag(key, 0); in expectGetDnsExperimentFlagInt()
86 mExperiments.dump(dw); in expectDumpOutput()
[all …]