Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 12 of 12) sorted by relevance

/system/sepolicy/tools/
Dsepolicy-check.c57 int check_perm(avtab_ptr_t current, perm_datum_t *perm) { in check_perm()
66 perm_datum_t *perm, policydb_t *policy, avtab_t *avtab) { in expand_and_check()
120 perm_datum_t *perm = NULL; in check_rule() local
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; in main() local
/system/security/keystore/
Dpermissions.cpp96 const char* get_perm_label(perm_t perm) { in get_perm_label()
134 static bool keystore_selinux_check_access(uid_t uid, perm_t perm, pid_t spid, const char* ssid) { in keystore_selinux_check_access()
177 bool has_permission(uid_t uid, perm_t perm, pid_t spid, const char* sid) { in has_permission()
/system/core/init/
Ddevices.h45 mode_t perm() const { return perm_; } in perm() function
65 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions()
Dservice_utils.h52 int perm = 0; member
Dueventd_parser.cpp53 mode_t perm = strtol(perm_string.c_str(), &end_pointer, 8); in ParsePermissionsLine() local
Ddevices.cpp126 Permissions::Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid) in Permissions()
Dutil.cpp91 Result<int> CreateSocket(const std::string& name, int type, bool passcred, mode_t perm, uid_t uid, in CreateSocket()
/system/bt/stack/gatt/
Dgatt_db.cc87 tGATT_PERM perm = attr.permission; in gatts_check_attr_readability() local
366 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_characteristic()
398 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_char_descr()
521 tGATT_PERM perm = p_attr->permission; in gatts_write_attr_perm_check() local
654 tGATT_PERM perm) { in allocate_attr_in_db()
/system/hwservicemanager/
DAccessControl.cpp95 …Permission(const CallingContext& source, const char *targetContext, const char *perm, const char *… in checkPermission()
113 bool AccessControl::checkPermission(const CallingContext& source, const char *perm, const char *int… in checkPermission()
/system/sepolicy/tools/sepolicy-analyze/
Dneverallow.c189 perm_datum_t *perm = NULL; in read_classperms() local
/system/keymaster/key_blob_utils/
Docb.c231 const vector unsigned char perm = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0}; in double_block() local
/system/core/liblog/tests/
Dliblog_test.cpp1686 bool perm = (gid == AID_ROOT) || (uid == AID_ROOT); in TEST() local