Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DInternetAddressesTest.cpp58 void testGamutOfOperators(const OperatorExpectation<T>& expectation) { in testGamutOfOperators() argument
59 switch (expectation.relation) { in testGamutOfOperators()
61 EXPECT_TRUE(expectation.obj1 == expectation.obj2); in testGamutOfOperators()
62 EXPECT_TRUE(expectation.obj1 <= expectation.obj2); in testGamutOfOperators()
63 EXPECT_TRUE(expectation.obj1 >= expectation.obj2); in testGamutOfOperators()
64 EXPECT_FALSE(expectation.obj1 != expectation.obj2); in testGamutOfOperators()
65 EXPECT_FALSE(expectation.obj1 < expectation.obj2); in testGamutOfOperators()
66 EXPECT_FALSE(expectation.obj1 > expectation.obj2); in testGamutOfOperators()
70 EXPECT_TRUE(expectation.obj1 < expectation.obj2); in testGamutOfOperators()
71 EXPECT_TRUE(expectation.obj1 <= expectation.obj2); in testGamutOfOperators()
[all …]
/packages/modules/SdkExtensions/javatests/com/android/os/ext/
DSdkExtensionsTest.java90 private static void assertVersion(Expectation expectation, int version) { in assertVersion() argument
91 switch (expectation) { in assertVersion()
104 private static void assertVersion(Expectation expectation, String propValue) { in assertVersion() argument
105 if (expectation == Expectation.MISSING) { in assertVersion()
109 assertVersion(expectation, version); in assertVersion()
113 public static final void assertVersion(Expectation expectation, int extension, String propId) { in assertVersion() argument
115 assertVersion(expectation, SystemProperties.get(prop)); in assertVersion()
116 assertVersion(expectation, SdkExtensions.getExtensionVersion(extension)); in assertVersion()
117 if (expectation != Expectation.MISSING) { in assertVersion()
119 assertVersion(expectation, v); in assertVersion()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java689 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, String... expected) { in assertPrefixSet() argument
692 assertPrefixSet(prefixes, expectation, expectedSet); in assertPrefixSet()
695 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, Set<String> expected) { in assertPrefixSet() argument
697 final String errStr = expectation ? "did not find" : "found"; in assertPrefixSet()
700 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
/packages/modules/DnsResolver/
DDnsStatsTest.cpp183 std::vector<std::string> expectation; in TEST_F() member
214 for (const auto& [servers, expectation, isSuccess] : tests) { in TEST_F()
226 expectedStats.reserve(expectation.size()); in TEST_F()
227 for (const auto& exp : expectation) { in TEST_F()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz