Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/vehicle/vts/src/
DVtsHalAutomotiveVehicle_TargetTest.cpp157 void verifyAccessMode(int actualAccess, int expectedAccess);
714 void VtsHalAutomotiveVehicleTargetTest::verifyAccessMode(int actualAccess, int expectedAccess) { in verifyAccessMode() argument
715 if (actualAccess == toInt(VehiclePropertyAccess::NONE)) { in verifyAccessMode()
719 ASSERT_TRUE(actualAccess == expectedAccess || in verifyAccessMode()
720 actualAccess == toInt(VehiclePropertyAccess::READ)) in verifyAccessMode()
722 expectedAccess, toInt(VehiclePropertyAccess::READ), actualAccess); in verifyAccessMode()
725 ASSERT_EQ(actualAccess, expectedAccess) << StringPrintf( in verifyAccessMode()
726 "Expect to get VehiclePropertyAccess: %i, got %i", expectedAccess, actualAccess); in verifyAccessMode()
829 int actualAccess = (areaConfigAccess != toInt(VehiclePropertyAccess::NONE)) in verifyProperty() local
832 verifyAccessMode(actualAccess, expectedAccess); in verifyProperty()