Searched refs:expected_result (Results 1 – 8 of 8) sorted by relevance
/system/connectivity/shill/ |
D | icmp.cc | 102 int expected_result = sizeof(icmp_header); in TransmitEchoRequest() local 103 if (result != expected_result) { in TransmitEchoRequest() 106 } else if (result < expected_result) { in TransmitEchoRequest() 110 << expected_result; in TransmitEchoRequest()
|
D | arp_client.cc | 182 const int expected_result = static_cast<int>(payload.GetLength()); in TransmitRequest() local 183 if (result != expected_result) { in TransmitRequest() 190 << expected_result; in TransmitRequest()
|
D | icmp_session_unittest.cc | 230 IcmpSession::IcmpSessionResult expected_result; in TEST_F() local 231 expected_result.push_back(kRecvTime1 - kSentTime1); in TEST_F() 232 expected_result.push_back(kRecvTime2 - kSentTime2); in TEST_F() 233 expected_result.push_back(kRecvTime3 - kSentTime3); in TEST_F() 332 EXPECT_CALL(*this, ResultCallback(expected_result)); in TEST_F()
|
D | crypto_util_proxy_unittest.cc | 175 void ExpectCleanup(const Error& expected_result) { in ExpectCleanup() argument
|
/system/connectivity/shill/net/ |
D | byte_string_unittest.cc | 193 const ByteString expected_result(kAndResult, sizeof(kAndResult)); in TEST_F() local 194 EXPECT_TRUE(bs1.Equals(expected_result)); in TEST_F() 208 const ByteString expected_result(kOrResult, sizeof(kOrResult)); in TEST_F() local 209 EXPECT_TRUE(bs1.Equals(expected_result)); in TEST_F()
|
D | ip_address_unittest.cc | 436 expected_result(expected_result_in) {} in CanReachAddressMapping() 440 size_t expected_result; member 451 EXPECT_EQ(GetParam().expected_result, address_a.CanReachAddress(address_b)); in TEST_P()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 844 ErrorCode expected_result, in VerifyPayloadResult() argument 851 int expected_times = (expected_result == ErrorCode::kSuccess) ? 1 : 0; in VerifyPayloadResult() 855 << expected_result; in VerifyPayloadResult() 856 EXPECT_EQ(expected_result, performer->VerifyPayload( in VerifyPayloadResult() 861 if (expected_result != ErrorCode::kSuccess) { in VerifyPayloadResult() 910 ErrorCode expected_result = ErrorCode::kSuccess; in VerifyPayload() local 913 expected_result = ErrorCode::kSignedDeltaPayloadExpectedError; in VerifyPayload() 916 expected_result = ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload() 921 VerifyPayloadResult(performer, state, expected_result, minor_version); in VerifyPayload()
|
D | delta_performer_unittest.cc | 270 DeltaPerformer::MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest() local 277 expected_result = DeltaPerformer::kMetadataParseError; in DoMetadataSignatureTest() 283 expected_result = DeltaPerformer::kMetadataParseError; in DoMetadataSignatureTest() 298 expected_result = DeltaPerformer::kMetadataParseSuccess; in DoMetadataSignatureTest() 305 expected_result = DeltaPerformer::kMetadataParseSuccess; in DoMetadataSignatureTest() 319 EXPECT_EQ(expected_result, actual_result); in DoMetadataSignatureTest()
|