/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
D | DefaultVhalImpl_test.cpp | 168 auto gotValue = mHal->get(value, &status); in TEST_F() local 171 ASSERT_EQ((unsigned int)1, gotValue->value.floatValues.size()); in TEST_F() 172 EXPECT_EQ(15000.0f, gotValue->value.floatValues[0]); in TEST_F() 180 auto gotValue = mHal->get(value, &status); in TEST_F() local 183 ASSERT_EQ((unsigned int)1, gotValue->value.int32Values.size()); in TEST_F() 184 EXPECT_EQ((int)FuelType::FUEL_TYPE_UNLEADED, gotValue->value.int32Values[0]); in TEST_F() 192 auto gotValue = mHal->get(value, &status); in TEST_F() local 195 ASSERT_EQ((unsigned int)1, gotValue->value.int32Values.size()); in TEST_F() 196 EXPECT_EQ(2020, gotValue->value.int32Values[0]); in TEST_F() 204 auto gotValue = mHal->get(value, &status); in TEST_F() local [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/ |
D | VehicleObjectPoolTest.cpp | 264 auto gotValue = mValuePool->obtain(prop); in TEST_F() local 266 ASSERT_NE(gotValue, nullptr); in TEST_F() 267 ASSERT_EQ(*gotValue, prop); in TEST_F() 278 auto gotValue = mValuePool->obtain(prop); in TEST_F() local 280 ASSERT_NE(gotValue, nullptr); in TEST_F() 281 ASSERT_EQ(*gotValue, prop); in TEST_F() 292 auto gotValue = mValuePool->obtain(prop); in TEST_F() local 294 ASSERT_NE(gotValue, nullptr); in TEST_F() 295 ASSERT_EQ(*gotValue, prop); in TEST_F() 306 auto gotValue = mValuePool->obtain(prop); in TEST_F() local [all …]
|
/hardware/interfaces/broadcastradio/aidl/default/test/ |
D | DefaultBroadcastRadioHalTest.cpp | 467 bool gotValue = false; in TEST_F() local 471 auto getResult = mBroadcastRadioHal->isConfigFlagSet(flag, &gotValue); in TEST_F() 474 ASSERT_TRUE(gotValue); in TEST_F()
|
/hardware/interfaces/broadcastradio/aidl/vts/src/ |
D | VtsHalBroadcastradioAidlTargetTest.cpp | 1041 bool gotValue = false; in TEST_P() local 1043 auto halResult = mModule->isConfigFlagSet(flag, &gotValue); in TEST_P() 1074 bool gotValue; in TEST_P() local 1076 auto halResult = mModule->isConfigFlagSet(flag, &gotValue); in TEST_P() 1079 return gotValue; in TEST_P()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/ |
D | FakeVehicleHardware.cpp | 782 auto& gotValue = result.value(); in getUserHalProp() local 783 if (gotValue != nullptr) { in getUserHalProp() 784 ALOGI("get(): User HAL returned value: %s", gotValue->toString().c_str()); in getUserHalProp() 785 gotValue->timestamp = elapsedRealtimeNano(); in getUserHalProp() 957 auto& gotValue = readResult.value(); in getEchoReverseBytes() local 958 gotValue->timestamp = elapsedRealtimeNano(); in getEchoReverseBytes() 959 std::vector<uint8_t> byteValues = gotValue->value.byteValues; in getEchoReverseBytes() 962 gotValue->value.byteValues[i] = byteValues[byteSize - 1 - i]; in getEchoReverseBytes() 964 return std::move(gotValue); in getEchoReverseBytes()
|
/hardware/interfaces/broadcastradio/2.0/vts/functional/ |
D | VtsHalBroadcastradioV2_0TargetTest.cpp | 780 bool gotValue = false; in TEST_P() local 783 gotValue = value; in TEST_P() 788 return gotValue; in TEST_P()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/ |
D | DefaultVehicleHalTest.cpp | 1795 VehiclePropValue gotValue = maybeResults.value().payloads[0]; in TEST_F() local 1796 ASSERT_EQ(gotValue.prop, toInt(VehicleProperty::VHAL_HEARTBEAT)); in TEST_F() 1797 ASSERT_EQ(gotValue.value.int64Values.size(), static_cast<size_t>(1)); in TEST_F() 1798 ASSERT_GE(gotValue.value.int64Values[0], currentTime) in TEST_F()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/ |
D | FakeVehicleHardwareTest.cpp | 2369 auto& gotValue = result.value(); in TEST_F() local 2370 gotValue.timestamp = 0; in TEST_F() 2375 ASSERT_EQ(gotValue, valueToSet); in TEST_F()
|