Home
last modified time | relevance | path

Searched refs:expectedAccess (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
718 if (expectedAccess == toInt(VehiclePropertyAccess::READ_WRITE)) { in verifyAccessMode()
719 ASSERT_TRUE(actualAccess == expectedAccess || 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()
780 int expectedAccess = toInt(access); in verifyProperty() local
825 verifyAccessMode(globalAccess, expectedAccess); in verifyProperty()
832 verifyAccessMode(actualAccess, expectedAccess); in verifyProperty()