Home
last modified time | relevance | path

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

/system/hwservicemanager/
DAccessControl.h30 struct CallingContext { struct
35 static CallingContext getCallingContext(pid_t sourcePid); argument
37 bool canAdd(const std::string& fqName, const CallingContext& callingContext);
38 bool canGet(const std::string& fqName, const CallingContext& callingContext);
39 bool canList(const CallingContext& callingContext);
43 …bool checkPermission(const CallingContext& source, const char *targetContext, const char *perm, co…
44 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.h93 const AccessControl::CallingContext& callingContext);
DServiceManager.cpp39 AccessControl::CallingContext getBinderCallingContext() { in getBinderCallingContext()
330 const AccessControl::CallingContext& callingContext) { in addImpl()