Home
last modified time | relevance | path

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

/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
DVehiclePropertyAccessControlTest.cpp123 std::map<int32_t, int32_t> *accessMap; in TEST_F() local
130 &accessMap)); in TEST_F()
138 &accessMap)); in TEST_F()
141 ASSERT_EQ((*accessMap)[uid1], VEHICLE_PROP_ACCESS_READ); in TEST_F()
149 &accessMap)); in TEST_F()
151 ASSERT_EQ((*accessMap)[uid2], VEHICLE_PROP_ACCESS_READ_WRITE); in TEST_F()
154 ASSERT_EQ((*accessMap)[uid1], VEHICLE_PROP_ACCESS_READ); in TEST_F()
162 &accessMap)); in TEST_F()
165 ASSERT_EQ((*accessMap)[uid1], VEHICLE_PROP_ACCESS_WRITE); in TEST_F()
168 ASSERT_EQ((*accessMap)[uid2], VEHICLE_PROP_ACCESS_READ_WRITE); in TEST_F()
[all …]
DVehiclePropertyAccessControlForTesting.cpp49 …sControlForTesting::getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap) { in getAccessToProperty() argument
54 *accessMap = mVehicleAccessControlMap[property]; in getAccessToProperty()
DVehiclePropertyAccessControlForTesting.h23 bool getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap);