Home
last modified time | relevance | path

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

/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
DVehiclePropertyAccessControlTest.cpp201 ASSERT_TRUE(mVehiclePropertyAccessControl.testAccess(prop1, uid1, 0)); in TEST_F()
202 ASSERT_FALSE(mVehiclePropertyAccessControl.testAccess(prop1, uid1, 1)); in TEST_F()
203 ASSERT_TRUE(mVehiclePropertyAccessControl.testAccess(prop2, uid2, 1)); in TEST_F()
204 ASSERT_FALSE(mVehiclePropertyAccessControl.testAccess(prop2, uid2, 0)); in TEST_F()
205 ASSERT_TRUE(mVehiclePropertyAccessControl.testAccess(prop3, uid3, 1)); in TEST_F()
206 ASSERT_TRUE(mVehiclePropertyAccessControl.testAccess(prop3, uid3, 0)); in TEST_F()
/packages/services/Car/vehicle_network_service/
DVehiclePropertyAccessControl.h40 bool testAccess(int32_t property, int32_t uid, bool isWrite);
DVehiclePropertyAccessControl.cpp318 bool VehiclePropertyAccessControl::testAccess(int32_t property, int32_t uid, in testAccess() function in android::VehiclePropertyAccessControl
DVehicleNetworkService.cpp267 bool allowed = mVehiclePropertyAccessControl.testAccess(property, uid, isWrite); in isOperationAllowed()