Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/util/
DConnectivityPacketSummaryTest.java256 final String expectedPrefix = in testParseDHCPv4Discover() local
262 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Discover()
301 final String expectedPrefix = in testParseDHCPv4Offer() local
307 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Offer()
348 final String expectedPrefix = in testParseDHCPv4Request() local
354 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Request()
393 final String expectedPrefix = in testParseDHCPv4Ack() local
399 assertTrue(getSummary(packet).startsWith(expectedPrefix)); in testParseDHCPv4Ack()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp1087 const char expectedPrefix[] = "device@"; in parseDeviceName() local
1089 if (name.find(expectedPrefix) != 0) { in parseDeviceName()
1092 __FUNCTION__, name.c_str(), expectedPrefix); in parseDeviceName()
1097 constexpr std::string::size_type atIdx = sizeof(expectedPrefix) - 2; in parseDeviceName()