Home
last modified time | relevance | path

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

/system/sepolicy/tools/
Dcheck_seapp.c17 #define KVP_NUM_OF_RULES (sizeof(rules) / sizeof(key_map))
54 typedef struct key_map key_map; typedef
102 struct key_map { struct
131 key_map m[]; /** key value mapping */
202 key_map rules[] = {
319 static bool match_regex(key_map *assert, const key_map *check) { in match_regex()
330 static bool compile_regex(key_map *km, const char **errbuf, int *erroff) { in compile_regex()
423 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate()
475 key_map *m; in rule_map_print()
503 key_map *mA; in rule_map_cmp()
[all …]
Dinsertkeys.py259 key_map = config.generateKeyMap(options.target_build_variant.lower(), options.key_directory) variable
261 for k in key_map:
262 logging.info(k + " : " + str(key_map[k]))
265 parser.setContentHandler(ReplaceTags(key_map, output_file))
/system/bt/btif/src/
Dbtif_rc.c221 } key_map[] = { variable
391 for (x = 0; key_map[x].name != NULL; x++) in uinput_create()
392 ioctl(fd, UI_SET_KEYBIT, key_map[x].mapped_id); in uinput_create()
752 for (i = 0; key_map[i].name != NULL; i++) { in handle_rc_passthrough_cmd()
753 if (p_remote_cmd->rc_id == key_map[i].avrcp) { in handle_rc_passthrough_cmd()
754 BTIF_TRACE_DEBUG("%s: %s %s", __FUNCTION__, key_map[i].name, status); in handle_rc_passthrough_cmd()
763 if ((key_map[i].release_quirk == 1) && (pressed == 0)) in handle_rc_passthrough_cmd()
766 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
769 send_key(uinput_fd, key_map[i].mapped_id, pressed); in handle_rc_passthrough_cmd()
770 if ((key_map[i].release_quirk == 1) && (pressed == 1)) in handle_rc_passthrough_cmd()
[all …]
/system/vold/
DExt4Crypt.cpp365 static bool lookup_key_ref(const std::map<userid_t, std::string>& key_map, userid_t user_id, in lookup_key_ref() argument
367 auto refi = key_map.find(user_id); in lookup_key_ref()
368 if (refi == key_map.end()) { in lookup_key_ref()