Searched refs:perms (Results 1 – 9 of 9) sorted by relevance
/system/core/libmemunreachable/ |
D | ProcessMappings.cpp | 43 char perms[5]; in ProcessMappings() local 46 &mapping.begin, &mapping.end, perms, &name_pos) == 3) { in ProcessMappings() 47 if (perms[0] == 'r') { in ProcessMappings() 50 if (perms[1] == 'w') { in ProcessMappings() 53 if (perms[2] == 'x') { in ProcessMappings() 56 if (perms[3] == 'p') { in ProcessMappings()
|
/system/bt/service/test/ |
D | gatt_server_unittest.cpp | 541 const int perms = kAttributePermissionReadEncrypted; in TEST_F() local 546 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms)); in TEST_F() 556 auto char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 557 auto char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 587 EXPECT_EQ(nullptr, gatt_server_->AddCharacteristic(char_uuid, props, perms)); in TEST_F() 609 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 610 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 628 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 629 char_id1 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() 648 char_id0 = gatt_server_->AddCharacteristic(char_uuid, props, perms); in TEST_F() [all …]
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | dups.c | 59 uint32_t perms = node->datum.data & d->data; in find_dups_helper() local 60 if ((attrib1 && perms == node->datum.data) || in find_dups_helper() 61 (attrib2 && perms == d->data)) { in find_dups_helper()
|
D | utils.c | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) in display_allow() argument 22 (policydb, key->target_class, perms)); in display_allow()
|
D | utils.h | 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
|
D | neverallow.c | 186 class_perm_node_t **perms) in read_classperms() argument 363 *perms = classperms; in read_classperms() 411 if (read_classperms(policydb, &p, end, &avrule->perms)) in check_neverallows()
|
/system/extras/libpagemap/ |
D | pm_process.c | 249 char perms[MAX_PERMS]; in read_maps() local 297 &map->start, &map->end, perms, &map->offset, &name_offset); in read_maps() 310 if (perms[0] == 'r') map->flags |= PM_MAP_READ; in read_maps() 311 if (perms[1] == 'w') map->flags |= PM_MAP_WRITE; in read_maps() 312 if (perms[2] == 'x') map->flags |= PM_MAP_EXEC; in read_maps()
|
/system/security/keystore/ |
D | permissions.cpp | 47 perm_t perms; member 161 return (user.perms & perm) && keystore_selinux_check_access(uid, perm, spid); in has_permission()
|
/system/core/rootdir/ |
D | init.rc | 430 # create resource-cache and double-check the perms
|