Home
last modified time | relevance | path

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

/external/sepolicy/tools/
Dcheck_seapp.c16 #define KVP_NUM_OF_RULES (sizeof(rules) / sizeof(key_map))
28 typedef struct key_map key_map; typedef
82 struct key_map { struct
106 key_map m[]; /** key value mapping */
157 key_map rules[] = {
243 static int key_map_validate(key_map *m, int lineno) { in key_map_validate()
346 key_map *m; in rule_map_print()
374 key_map *mA; in rule_map_cmp()
375 key_map *mB; in rule_map_cmp()
446 key_map *m = &(rm->m[i]); in rule_map_free()
[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))
/external/bluetooth/bluedroid/btif/src/
Dbtif_rc.c154 } key_map[] = { variable
309 for (x = 0; key_map[x].name != NULL; x++) in uinput_create()
310 ioctl(fd, UI_SET_KEYBIT, key_map[x].mapped_id); in uinput_create()
572 for (i = 0; key_map[i].name != NULL; i++) { in handle_rc_passthrough_cmd()
573 if (p_remote_cmd->rc_id == key_map[i].avrcp) { in handle_rc_passthrough_cmd()
574 BTIF_TRACE_DEBUG("%s: %s %s", __FUNCTION__, key_map[i].name, status); in handle_rc_passthrough_cmd()
583 if ((key_map[i].release_quirk == 1) && (pressed == 0)) in handle_rc_passthrough_cmd()
586 __FUNCTION__, key_map[i].name); in handle_rc_passthrough_cmd()
589 send_key(uinput_fd, key_map[i].mapped_id, pressed); in handle_rc_passthrough_cmd()
590 if ((key_map[i].release_quirk == 1) && (pressed == 1)) in handle_rc_passthrough_cmd()
[all …]
/external/chromium_org/tools/grit/grit/gather/
Dpolicy_json.py144 key_map = {
150 return '%s of the policy named %s' % (key_map[key], item['name'])
153 (key_map[key], item['name'], parent_item['name']))
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp178 static map key_map; in foo() local
179 key_map["line"]; in foo()
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c289 Uint8 key_map[KEY_MAX-BTN_MISC]; member
690 joystick->hwdata->key_map[i-BTN_MISC] = in EV_ConfigJoystick()
700 joystick->hwdata->key_map[i-BTN_MISC] = in EV_ConfigJoystick()
1100 joystick->hwdata->key_map[code], in EV_HandleEvents()
1104 joystick->hwdata->key_map[code], in EV_HandleEvents()