Searched refs:setValueResult (Results 1 – 2 of 2) sorted by relevance
398 auto setValueResult = mVhalClient->setValueSync(*propToSet); in TEST_P() local400 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() local465 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() local481 ASSERT_FALSE(setValueResult.ok()) << "Expect set on VehicleProperty::INVALID to fail"; in TEST_P()[all …]
1241 SetValueResult setValueResult; in handleSetValueRequest() local1242 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()