Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/vts/src/
DVtsHalAutomotiveVehicle_TargetTest.cpp398 auto setValueResult = mVhalClient->setValueSync(*propToSet); in TEST_P() local
400 if (!setValueResult.ok() && in TEST_P()
401 setValueResult.error().code() == ErrorCode::NOT_AVAILABLE_FROM_VHAL) { in TEST_P()
409 ASSERT_TRUE(setValueResult.ok()) in TEST_P()
411 propId, setValueResult.error().message().c_str()); in TEST_P()
463 auto setValueResult = mVhalClient->setValueSync(*getValueResult.value()); in TEST_P() local
465 ASSERT_FALSE(setValueResult.ok()) << "Expect set a read-only value to fail"; in TEST_P()
466 ASSERT_EQ(setValueResult.error().code(), ErrorCode::ACCESS_DENIED_FROM_VHAL); in TEST_P()
480 auto setValueResult = mVhalClient->setValueSync(*propToSet); in TEST_P() local
481 ASSERT_FALSE(setValueResult.ok()) << "Expect set on VehicleProperty::INVALID to fail"; in TEST_P()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp1241 SetValueResult setValueResult; in handleSetValueRequest() local
1242 setValueResult.requestId = request.requestId; in handleSetValueRequest()
1247 setValueResult.status = getErrorCode(result); in handleSetValueRequest()
1249 setValueResult.status = StatusCode::OK; in handleSetValueRequest()
1252 return setValueResult; in handleSetValueRequest()