Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java429 private void assertDhcpStarted(IpPrefix expectedPrefix) throws Exception { in assertDhcpStarted() argument
434 assertTrue(expectedPrefix.contains(intToInet4AddressHTH(params.serverAddr))); in assertDhcpStarted()
435 assertEquals(expectedPrefix.getPrefixLength(), params.serverAddrPrefixLength); in assertDhcpStarted()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java785 for (String expectedPrefix : expected) { in assertPrefixSet()
788 String.format("Failed expectation: %s prefix: %s", errStr, expectedPrefix), in assertPrefixSet()
789 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2223 const char expectedPrefix[] = "device@"; in parseDeviceName() local
2225 if (name.find(expectedPrefix) != 0) { in parseDeviceName()
2228 __FUNCTION__, name.c_str(), expectedPrefix); in parseDeviceName()
2233 constexpr std::string::size_type atIdx = sizeof(expectedPrefix) - 2; in parseDeviceName()