Searched refs:key (Results 1 - 9 of 9) sorted by relevance

/bootable/recovery/
H A Ddefault_device.cpp45 int HandleMenuKey(int key, int visible) { argument
47 switch (key) {
H A Dui.cpp84 // key event.
87 self->process_key(KEY_DOWN, 1); // press down key
91 self->process_key(KEY_UP, 1); // press up key
106 // Process a key-up or -down event. A key is "registered" when it is
110 // queued to be processed next time the foreground thread wants a key
115 // a key is registered.
117 // updown == 1 for key down events; 0 for key up events
205 // Reads input events, handles special hot keys, and adds to the key queu
236 int key = -1; local
264 IsKeyPressed(int key) argument
284 CheckKey(int key) argument
324 KeyLongPress(int key) argument
[all...]
H A Dverifier.cpp112 // or no key matches the signature).
239 * any key can match, we need to try each before determining a verification
255 LOGI("signature is too short for RSA key %zu\n", i);
261 LOGI("failed to verify against RSA key %zu\n", i);
265 LOGI("whole-file signature verified against RSA key %zu\n", i);
272 LOGI("Not a DSA signature block for EC key %zu\n", i);
280 LOGI("failed to verify against EC key %zu\n", i);
284 LOGI("whole-file signature verified against EC key %zu\n", i);
288 LOGI("Unknown key type %d\n", pKeys[i].key_type);
302 // For key version
387 RSAPublicKey* key = cert->rsa; local
407 ECPublicKey* key = cert->ec; local
[all...]
H A Dui.h68 // --- key handling ---
73 virtual bool IsKeyPressed(int key);
81 // the key should be enqueued for use by the main thread.
83 virtual KeyAction CheckKey(int key);
86 // the key was long-pressed.
89 // Called when a key is held down long enough to have been a
90 // long-press (but before the key is released). This means that
91 // if the key is eventually registered (released without any other
94 virtual void KeyLongPress(int key);
96 // Normally in recovery there's a key sequenc
[all...]
H A Ddevice.h39 // // Called in the input thread when a new key (key_code) is
48 // and waiting for input, and a key is pressed. (Note that "at"
54 // key is the code of the key just pressed. (You can call
66 virtual int HandleMenuKey(int key, int visible) = 0;
H A Drecovery.cpp531 int key = ui->WaitKey(); local
534 if (key == -1) { // ui_wait_key() timed out
538 LOGI("timed out waiting for key input; rebooting.\n");
544 int action = device->HandleMenuKey(key, visible);
730 int key = 0; local
737 key = ui->WaitKey();
739 if (key == KEY_POWER) {
743 if (key == KEY_VOLUMEUP) {
765 if (key != KEY_POWER) {
766 ui->Print("\n--END-- (press any key)\
940 print_property(const char *key, const char *name, void *cookie) argument
[all...]
/bootable/recovery/updater/
H A Dinstall.c760 printf("ParsedPermArgs: unknown key \"%s\", ignoring\n", args[i]);
923 char* key; local
924 key = Evaluate(state, argv[0]);
925 if (key == NULL) return NULL;
928 property_get(key, value, "");
929 free(key);
935 // file_getprop(file, key)
937 // interprets 'file' as a getprop-style file (key=value pairs, one
939 // and returns the value for 'key' (or "" if it isn't defined).
944 char* key; local
[all...]
/bootable/recovery/edify/
H A Dexpr.c372 NamedFunction key; local
373 key.name = name;
374 NamedFunction* nf = bsearch(&key, fn_table, fn_entries,
/bootable/recovery/minui/
H A Dresources.c254 if (text[i].key && strcmp(text[i].key, "Frames") == 0 && text[i].text) {

Completed in 1825 milliseconds