Home
last modified time | relevance | path

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

/system/hwservicemanager/
DAccessControl.h28 struct CallingContext { struct
33 static CallingContext getCallingContext(pid_t sourcePid); argument
35 bool canAdd(const std::string& fqName, const CallingContext& callingContext);
36 bool canGet(const std::string& fqName, const CallingContext& callingContext);
37 bool canList(const CallingContext& callingContext);
41 …bool checkPermission(const CallingContext& source, const char *targetContext, const char *perm, co…
42 bool checkPermission(const CallingContext& source, const char *perm, const char *interface);
DAccessControl.cpp56 bool AccessControl::canAdd(const std::string& fqName, const CallingContext& callingContext) { in canAdd()
67 bool AccessControl::canGet(const std::string& fqName, const CallingContext& callingContext) { in canGet()
78 bool AccessControl::canList(const CallingContext& callingContext) { in canList()
82 AccessControl::CallingContext AccessControl::getCallingContext(pid_t sourcePid) { in getCallingContext()
95 bool AccessControl::checkPermission(const CallingContext& source, const char *targetContext, const … in checkPermission()
113 bool AccessControl::checkPermission(const CallingContext& source, const char *perm, const char *int… in checkPermission()
DServiceManager.h94 const AccessControl::CallingContext& callingContext);
DServiceManager.cpp39 AccessControl::CallingContext getBinderCallingContext() { in getBinderCallingContext()
320 const AccessControl::CallingContext& callingContext) { in addImpl()