Home
last modified time | relevance | path

Searched refs:gotValue (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticHalServiceTest.java259 HalPropValue gotValue = mService.getCurrentDiagnosticValue( in testGetCurrentDiagnosticValueFreezeFrame() local
262 assertThat(gotValue).isEqualTo(propValue); in testGetCurrentDiagnosticValueFreezeFrame()
270 HalPropValue gotValue = mService.getCurrentDiagnosticValue( in testGetCurrentDiagnosticValueLiveFrame() local
273 assertThat(gotValue).isEqualTo(propValue); in testGetCurrentDiagnosticValueLiveFrame()
278 HalPropValue gotValue = mService.getCurrentDiagnosticValue(-1); in testGetCurrentDiagnosticValueInvalidSensorType() local
280 assertThat(gotValue).isNull(); in testGetCurrentDiagnosticValueInvalidSensorType()
288 HalPropValue gotValue = mService.getCurrentDiagnosticValue( in testGetCurrentDiagnosticValueServiceSpecificException() local
291 assertThat(gotValue).isNull(); in testGetCurrentDiagnosticValueServiceSpecificException()
299 HalPropValue gotValue = mService.getCurrentDiagnosticValue( in testGetCurrentDiagnosticValueIllegalArgumentException() local
302 assertThat(gotValue).isNull(); in testGetCurrentDiagnosticValueIllegalArgumentException()
/packages/services/Car/cpp/vhal/client/test/
DAidlVhalClientTest.cpp352 auto gotValue = std::move(result.value()); in TEST_F() local
353 ASSERT_EQ(gotValue->getPropId(), TEST_PROP_ID); in TEST_F()
354 ASSERT_EQ(gotValue->getAreaId(), TEST_AREA_ID); in TEST_F()
355 ASSERT_EQ(gotValue->getStatus(), VehiclePropertyStatus::AVAILABLE); in TEST_F()
356 ASSERT_EQ(gotValue->getInt32Values(), std::vector<int32_t>({1})); in TEST_F()
387 auto gotValue = std::move(result.value()); in TEST_F() local
388 ASSERT_EQ(gotValue->getPropId(), TEST_PROP_ID); in TEST_F()
389 ASSERT_EQ(gotValue->getAreaId(), TEST_AREA_ID); in TEST_F()
390 ASSERT_EQ(gotValue->getStatus(), VehiclePropertyStatus::AVAILABLE); in TEST_F()
391 ASSERT_EQ(gotValue->getInt32Values(), std::vector<int32_t>({1})); in TEST_F()
[all …]
DHidlVhalClientTest.cpp194 auto gotValue = std::move(result.value()); in TEST_F() local
195 ASSERT_EQ(gotValue->getPropId(), TEST_PROP_ID); in TEST_F()
196 ASSERT_EQ(gotValue->getAreaId(), TEST_AREA_ID); in TEST_F()
197 ASSERT_EQ(gotValue->getStatus(), VehiclePropertyStatus::AVAILABLE); in TEST_F()
198 ASSERT_EQ(gotValue->getInt32Values(), std::vector<int32_t>({1})); in TEST_F()
224 auto gotValue = std::move(result.value()); in TEST_F() local
225 ASSERT_EQ(gotValue->getPropId(), TEST_PROP_ID); in TEST_F()
226 ASSERT_EQ(gotValue->getAreaId(), TEST_AREA_ID); in TEST_F()
227 ASSERT_EQ(gotValue->getStatus(), VehiclePropertyStatus::UNAVAILABLE); in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java287 HalPropValue gotValue = mAidlVehicleStub.get(value); in testGetAidlSmallData() local
289 assertThat(gotValue).isEqualTo(value); in testGetAidlSmallData()
325 HalPropValue gotValue = mAidlVehicleStub.get(value); in testGetAidlLargeData() local
327 assertThat(gotValue).isEqualTo(value); in testGetAidlLargeData()
381 HalPropValue gotValue = mAidlVehicleStub.get(value); in testGetAidlAsyncCallback() local
383 assertThat(gotValue).isEqualTo(value); in testGetAidlAsyncCallback()
DHidlVehicleStubUnitTest.java509 HalPropValue gotValue = mHidlVehicleStub.get(TEST_PROP_VALUE); in testGetSync() local
511 assertThat(gotValue).isEqualTo(TEST_PROP_VALUE); in testGetSync()