#ifndef CAR_VEHICLE_PROPERTY_ACCESS_CONTROL_MOCK_H_ #define CAR_VEHICLE_PROPERTY_ACCESS_CONTROL_MOCK_H_ #include #include #include #include #include #include #include #include namespace android { class VehiclePropertyAccessControlForTesting : public VehiclePropertyAccessControl { public: bool isHexNotation(std::string const& s); bool accessToInt(int32_t* const value,const xmlChar* property, const xmlChar* uid, const xmlChar* access); bool updateOrCreate(int32_t uid, int32_t property, int32_t access); bool populate(xmlNode* a_node); bool process(const char* policy); void emptyAccessControlMap(); bool getAccessToProperty(int32_t property, std::map** accessMap); }; }; #endif