Searched refs:getValueResult (Results 1 – 3 of 3) sorted by relevance
373 auto getValueResult = mVhalClient->getValueSync(*propToGet); in TEST_P() local375 if (isUnavailable(getValueResult)) { in TEST_P()383 ASSERT_TRUE(getValueResult.ok()) in TEST_P()385 propId, getValueResult.error().message().c_str()); in TEST_P()386 ASSERT_NE(getValueResult.value(), nullptr) in TEST_P()389 const IHalPropValue& value = *getValueResult.value(); in TEST_P()417 getValueResult = mVhalClient->getValueSync(*propToGet); in TEST_P()418 if (isResultOkayWithValue(getValueResult, setValue)) { in TEST_P()429 if (isUnavailable(getValueResult)) { in TEST_P()437 ASSERT_TRUE(getValueResult.ok()) in TEST_P()[all …]
1837 auto getValueResult = getValue(VehiclePropValue{.prop = OBD2_FREEZE_FRAME_INFO}); in TEST_F() local1839 ASSERT_TRUE(getValueResult.ok()); in TEST_F()1841 auto propValue = getValueResult.value(); in TEST_F()1851 getValueResult = getValue(VehiclePropValue{.prop = OBD2_FREEZE_FRAME_INFO}); in TEST_F()1853 ASSERT_TRUE(getValueResult.ok()); in TEST_F()1854 ASSERT_EQ(getValueResult.value().value.int64Values.size(), static_cast<size_t>(0)) in TEST_F()1864 auto getValueResult = in TEST_F() local1867 EXPECT_FALSE(getValueResult.ok()); in TEST_F()1868 EXPECT_EQ(getValueResult.error(), StatusCode::NOT_AVAILABLE); in TEST_F()1892 auto getValueResult = getValue(VehiclePropValue{ in TEST_F() local[all …]
1273 GetValueResult getValueResult; in handleGetValueRequest() local1274 getValueResult.requestId = request.requestId; in handleGetValueRequest()1280 getValueResult.status = getErrorCode(result); in handleGetValueRequest()1282 getValueResult.status = StatusCode::OK; in handleGetValueRequest()1283 getValueResult.prop = *result.value(); in handleGetValueRequest()1285 return getValueResult; in handleGetValueRequest()