Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 8 of 8) 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/
Dmemset_test.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/update_engine/update_manager/
Dupdate_time_restrictions_policy_impl_unittest.cc54 const EvalStatus& expected_value, in TestPolicy() argument
71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
72 if (expected_value == EvalStatus::kSucceeded) in TestPolicy()
/system/libbase/
Dproperties.cpp141 const std::string* expected_value; member
147 if (*data->expected_value == value) { in WaitForPropertyCallback()
196 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() argument
203 data.expected_value = &expected_value; in WaitForProperty()
/system/libbase/include/android-base/
Dproperties.h61 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.cpp122 MATCHER_P2(DoesNL80211PacketHaveAttributeWithUint32Value, attr, expected_value,
129 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()