Home
last modified time | relevance | path

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

/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
DVehiclePropertyAccessControlTest.cpp122 TEST_F(VehiclePropertyAccessControlTest, updateOrCreate) { in TEST_F() argument
133 ASSERT_FALSE(mVehiclePropertyAccessControl.updateOrCreate(uid1, prop1, in TEST_F()
144 ASSERT_FALSE(mVehiclePropertyAccessControl.updateOrCreate(uid2, prop1, in TEST_F()
157 ASSERT_TRUE(mVehiclePropertyAccessControl.updateOrCreate(uid1, prop1, in TEST_F()
DVehiclePropertyAccessControlForTesting.cpp29 bool VehiclePropertyAccessControlForTesting::updateOrCreate(int32_t uid, int32_t property, int32_t … in updateOrCreate() function in android::VehiclePropertyAccessControlForTesting
30 return VehiclePropertyAccessControl::updateOrCreate(uid, property, access); in updateOrCreate()
DVehiclePropertyAccessControlForTesting.h19 bool updateOrCreate(int32_t uid, int32_t property, int32_t access);
/packages/services/Car/vehicle_network_service/
DVehiclePropertyAccessControl.cpp101 bool VehiclePropertyAccessControl::updateOrCreate(int32_t uid, int32_t property, in updateOrCreate() function in android::VehiclePropertyAccessControl
214 if (!updateOrCreate(uid_value, property_value, in populate()
DVehiclePropertyAccessControl.h47 bool updateOrCreate(int32_t uid, int32_t property, int32_t access);