Home
last modified time | relevance | path

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

/system/core/init/test_service/
Dtest_service.cpp63 std::string expected_value = argv[i + 1]; in main() local
66 if (f->second != expected_value) { in main()
67 LOG(ERROR) << "field '" << argv[i] << "' expected '" << expected_value in main()
/system/core/libcutils/tests/
DMemsetTest.cpp114 uint8_t expected_value; in VerifyFencepost() local
117 expected_value = 0xad; in VerifyFencepost()
119 expected_value = 0xde; in VerifyFencepost()
121 ASSERT_EQ(expected_value, buffer[i]); in VerifyFencepost()
/system/core/base/
Dproperties.cpp94 const std::string* expected_value; member
100 if (*data->expected_value == value) { in WaitForPropertyCallback()
150 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() argument
157 data.expected_value = &expected_value; in WaitForProperty()
/system/core/base/include/android-base/
Dproperties.h65 bool WaitForProperty(const std::string& key, const std::string& expected_value,
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp306 std::vector<uint8_t> expected_value{{'a', 'b', 'c', 'd', 'e'}}; in TEST() local
307 EXPECT_EQ(expected_value, attr1.GetValue()); in TEST()
Dscan_utils_unittest.cpp121 MATCHER_P2(DoesNL80211PacketHaveAttributeWithUint32Value, attr, expected_value,
128 return actual_value == expected_value;
/system/core/libunwindstack/tests/
DDwarfOpTest.cpp228 TypeParam expected_value = 0; in TYPED_TEST_P() local
229 memcpy(&expected_value, &value, i); in TYPED_TEST_P()
230 ASSERT_EQ(expected_value, this->op_->StackAt(0)) << "Failed at size " << i; in TYPED_TEST_P()